The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  вход/выход  слежка  RSS
"Ошибка при компилировании дров Pentanet"
Вариант для распечатки  
Пред. тема | След. тема 
Форумы Открытые системы на рабочей станции (Public)
Изначальное сообщение [ Отслеживать ]

"Ошибка при компилировании дров Pentanet"  
Сообщение от oleg20073 email(ok) on 12-Окт-06, 00:22 
Пытаюсь установить драйвера pentanet на Mandrake 10.1 ядро 2.6.8.1-12. При компиляции вылетает куча ошибок:

# ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether ln -s works... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether gcc needs -traditional... (cached) no
checking return type of signal handlers... (cached) void
checking for gettimeofday... (cached) yes
checking for socket... (cached) yes
checking for strtol... (cached) yes
checking your running kernel version is... 2.6.8.1-12mdk
checking /usr/src/linux... found
creating ./config.status
creating Makefile
creating tools/Makefile
creating driver/Makefile
creating apps/Makefile
creating apps/libif/Makefile
creating apps/libapp/Makefile
creating apps/monitor/Makefile
creating apps/textapp/Makefile
creating config.h
config.h is unchanged

# make
cd . && autoheader
make  all-recursive
make[1]: Entering directory `/usr/local/src/pentanet-RHx-2.3.1'
Making all in driver
make[2]: Entering directory `/usr/local/src/pentanet-RHx-2.3.1/driver'
gcc -march=i486 -DCPU=486 -D__SMP__ -DMODVERSIONS  -DMODULE -D__KERNEL__ -O2 -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce -pipe -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/usr/src/linux/include  -c pentaif.c
In file included from pentaif.c:9:
/usr/include/linux/modversions.h:1:2: #error "======================================================="
/usr/include/linux/modversions.h:2:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/modversions.h:3:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/modversions.h:4:2: #error ""
/usr/include/linux/modversions.h:5:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/modversions.h:6:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/modversions.h:7:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/modversions.h:8:2: #error "currently running kernel. They should only be"
/usr/include/linux/modversions.h:9:2: #error "included via other system header files - user space"
/usr/include/linux/modversions.h:10:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/modversions.h:11:2: #error "<asm/*.h> as well."
/usr/include/linux/modversions.h:12:2: #error ""
/usr/include/linux/modversions.h:13:2: #error "To build kernel modules please do the following:"
/usr/include/linux/modversions.h:14:2: #error ""
/usr/include/linux/modversions.h:15:2: #error " o Have the kernel sources installed"
/usr/include/linux/modversions.h:16:2: #error ""
/usr/include/linux/modversions.h:17:2: #error " o Make sure that the symbolic link"
/usr/include/linux/modversions.h:18:2: #error "   /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/modversions.h:19:2: #error "   the matching kernel source directory"
/usr/include/linux/modversions.h:20:2: #error ""
/usr/include/linux/modversions.h:21:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/modversions.h:22:2: #error "   /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/modversions.h:23:2: #error ""
/usr/include/linux/modversions.h:24:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/modversions.h:25:2: #error "   compiler option to use the correct include files:"
/usr/include/linux/modversions.h:26:2: #error ""
/usr/include/linux/modversions.h:27:2: #error "   -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/modversions.h:28:2: #error ""
/usr/include/linux/modversions.h:29:2: #error "   instead of"
/usr/include/linux/modversions.h:30:2: #error ""
/usr/include/linux/modversions.h:31:2: #error "   -I/usr/include/linux"
/usr/include/linux/modversions.h:32:2: #error ""
/usr/include/linux/modversions.h:33:2: #error "   Please adjust the Makefile accordingly."
/usr/include/linux/modversions.h:34:2: #error "======================================================="
In file included from /usr/src/linux/include/asm/processor.h:18,
                 from /usr/src/linux/include/asm/thread_info.h:16,
                 from /usr/src/linux/include/linux/thread_info.h:21,
                 from /usr/src/linux/include/linux/spinlock.h:12,
                 from /usr/src/linux/include/linux/capability.h:45,
                 from /usr/src/linux/include/linux/sched.h:7,
                 from /usr/src/linux/include/linux/module.h:10,
                 from pentaif.c:10:
/usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[2]: *** [pentaif.o] Ошибка 1
make[2]: Leaving directory `/usr/local/src/pentanet-RHx-2.3.1/driver'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/usr/local/src/pentanet-RHx-2.3.1'
make: *** [all-recursive-am] Ошибка 2

Подскажите в чем причина. Заранее благодарен за ответ.

Высказать мнение | Ответить | Правка | Cообщить модератору

 Оглавление

Сообщения по теме [Сортировка по времени | RSS]


1. "Ошибка при компилировании дров Pentanet"  
Сообщение от other email(ok) on 12-Окт-06, 10:27 
Приветствую!

pentanet собирается только под ядра 2.4.х ветки

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

2. "Ошибка при компилировании дров Pentanet"  
Сообщение от Ivan email(??) on 04-Май-07, 18:53 
>Приветствую!
>
>pentanet собирается только под ядра 2.4.х ветки


А можно ли как-нибудь всё же под 2.6 собрать? в чём причина ошибок?

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

3. "Ошибка при компилировании дров Pentanet"  
Сообщение от Alihan email(??) on 01-Авг-08, 12:20 
>[оверквотинг удален]
>/usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
>/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
>/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
>make[2]: *** [pentaif.o] Ошибка 1
>make[2]: Leaving directory `/usr/local/src/pentanet-RHx-2.3.1/driver'
>make[1]: *** [all-recursive] Ошибка 1
>make[1]: Leaving directory `/usr/local/src/pentanet-RHx-2.3.1'
>make: *** [all-recursive-am] Ошибка 2
>
>Подскажите в чем причина. Заранее благодарен за ответ.

У меня тоже почти такие же ошибки только конфигуре ругается на GTK, а Всё остальное
также, если решили проблему напишите как? Плз.

Высказать мнение | Ответить | Правка | Наверх | Cообщить модератору

Архив | Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Оцените тред (1=ужас, 5=супер)? [ 1 | 2 | 3 | 4 | 5 ] [Рекомендовать для помещения в FAQ]




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру