The OpenNET Project / Index page

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

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

"Pent@Net"  
Сообщение от Alihan email(??) on 30-Июл-08, 16:51 
Здравствуйте!
Проблема такая, пытаюсь установить драйвера под ДВБ карточку Pent@Net ничего не получается если кто знает помогите.

ВОТ ЧТО ОН МНЕ ВЫДАЁТ В КОНЦЕ

make[2]: *** [pentaif.o] Error 1
make[2]: Leaving directory `/usr/local/pentanet/driver'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/pentanet'
make: *** [all-recursive-am] Error 2

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

 Оглавление

  • Pent@Net, anonymous, 18:42 , 30-Июл-08, (1)  
    • Pent@Net, Alihan, 10:12 , 31-Июл-08, (2)  
      • Pent@Net, RomadinR, 00:40 , 04-Авг-08, (3)  
        • Pent@Net, Alihan, 13:34 , 04-Авг-08, (4)  
        • Pent@Net, Alihan, 18:12 , 13-Авг-08, (5)  
          • Pent@Net, Аноним, 00:58 , 14-Авг-08, (6)  
            • Pent@Net, Alihan, 11:23 , 14-Авг-08, (7)  

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


1. "Pent@Net"  
Сообщение от anonymous (??) on 30-Июл-08, 18:42 
>Здравствуйте!
>Проблема такая, пытаюсь установить драйвера под ДВБ карточку Pent@Net ничего не получается
>если кто знает помогите.
>
>ВОТ ЧТО ОН МНЕ ВЫДАЁТ В КОНЦЕ
>
>make[2]: *** [pentaif.o] Error 1

это мусор, нужно все остальное

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

2. "Pent@Net"  
Сообщение от Alihan email(??) on 31-Июл-08, 10:12 
>>Здравствуйте!
>>Проблема такая, пытаюсь установить драйвера под ДВБ карточку Pent@Net ничего не получается
>>если кто знает помогите.
>>
>>ВОТ ЧТО ОН МНЕ ВЫДАЁТ В КОНЦЕ
>>
>>make[2]: *** [pentaif.o] Error 1
>
>это мусор, нужно все остальное

Вот всё остальное

usr/include/linux/version.h:2:2: #error "======================================                                              ================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{l                                              inux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of                                               kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files fro                                              m a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended                                               by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may                                               not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should                                               only be"
/usr/include/linux/version.h:10:2: #error "included via other system header file                                              s - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include                                               <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the                                               following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname -r`/build exis                                              ts and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source directo                                              ry"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h t                                              o"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname -r`/build/incl                                              ude/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use t                                              he following"
/usr/include/linux/version.h:26:2: #error "   compiler option to use the correct                                               include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname -r`/build/in                                              clude"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "   instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile accordi                                              ngly."
/usr/include/linux/version.h:35:2: #error "=====================================                                              =================="
In file included from pentaif.c:10:
/usr/include/linux/module.h:299: error: parse error before "UTS_RELEASE"
In file included from pentaif.c:11:
/usr/include/linux/version.h:2:2: #error "======================================                                              ================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{l                                              inux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of                                               kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files fro                                              m a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended                                               by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may                                               not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should                                               only be"
/usr/include/linux/version.h:10:2: #error "included via other system header file                                              s - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include                                               <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the                                               following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname -r`/build exis                                              ts and points to"
/usr/include/linux/version.h:20:2: #error "   the matching kernel source directo                                              ry"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h t                                              o"
/usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname -r`/build/incl                                              ude/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use t                                              he following"
/usr/include/linux/version.h:26:2: #error "   compiler option to use the correct                                               include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname -r`/build/in                                              clude"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "   instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile accordi                                              ngly."
/usr/include/linux/version.h:35:2: #error "=====================================                                              =================="
make[2]: *** [pentaif.o] Error 1
make[2]: Leaving directory `/usr/local/pentanet/driver'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/pentanet'
make: *** [all-recursive-am] Error 2


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

3. "Pent@Net"  
Сообщение от RomadinR on 04-Авг-08, 00:40 
Да, эта проблема есть до сих пор. Разработчик по этому поводу скромно промолчал на все (и неоднократные) обращения.
Проблема в том, что для сборки ядерной части нужны ядерные include, а для пользовательской - обычные. А разработчик это в своем Makefile почему-то не учел.
Решение правильное - править Makefile.
Решение _НЕПРАВИЛЬНОЕ!!!_, но вполне рабочее - временно подсунуть ядерные include:
1. временно переименовать каталог /usr/include во что-то типа include.sys
2. создать симлинк /usr/src/linux/include -> /usr/include
3. запустить компиляцию. Скомпилится ядерная часть и заругается на пользовательской - это нормально, так и должно быть - ведь мы ядерные include используем.
4. удалить симлинк и переименовать include.sys обратно в include
5. запустить компиляцию. Скомпилится оставшаяся часть - пользовательская.

У меня, по крайней мере, так работало.

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

4. "Pent@Net"  
Сообщение от Alihan email(??) on 04-Авг-08, 13:34 
>[оверквотинг удален]
>Решение _НЕПРАВИЛЬНОЕ!!!_, но вполне рабочее - временно подсунуть ядерные include:
>1. временно переименовать каталог /usr/include во что-то типа include.sys
>2. создать симлинк /usr/src/linux/include -> /usr/include
>3. запустить компиляцию. Скомпилится ядерная часть и заругается на пользовательской - это
>нормально, так и должно быть - ведь мы ядерные include используем.
>
>4. удалить симлинк и переименовать include.sys обратно в include
>5. запустить компиляцию. Скомпилится оставшаяся часть - пользовательская.
>
>У меня, по крайней мере, так работало.

Спасибо, попробую!

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

5. "Pent@Net"  
Сообщение от Alihan email(??) on 13-Авг-08, 18:12 
>[оверквотинг удален]
>Решение _НЕПРАВИЛЬНОЕ!!!_, но вполне рабочее - временно подсунуть ядерные include:
>1. временно переименовать каталог /usr/include во что-то типа include.sys
>2. создать симлинк /usr/src/linux/include -> /usr/include
>3. запустить компиляцию. Скомпилится ядерная часть и заругается на пользовательской - это
>нормально, так и должно быть - ведь мы ядерные include используем.
>
>4. удалить симлинк и переименовать include.sys обратно в include
>5. запустить компиляцию. Скомпилится оставшаяся часть - пользовательская.
>
>У меня, по крайней мере, так работало.

Я извеняюсь но у меня ещё одна проблема может встречалась

linux:/usr/local/pentanet # ./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... missing
checking for working automake... found
checking for working autoheader... missing
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 for glib-config... (cached) /usr/bin/glib-config
checking for GLIB - version >= 1.2.10... yes
checking for gtk-config... (cached) /usr/bin/gtk-config
checking for GTK - version >= 0.99.7... no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK was incorrectly installed
*** or that you have moved GTK since it was installed. In the latter case, you
*** may want to edit the gtk-config script: /usr/bin/gtk-config
checking your running kernel version is... 2.4.20-4GB
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 apps/xwinapp/Makefile
creating config.h
config.h is unchanged
linux:/usr/local/pentanet #
как с этим можно бороться?

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

6. "Pent@Net"  
Сообщение от Аноним (??) on 14-Авг-08, 00:58 

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

7. "Pent@Net"  
Сообщение от Alihan email(??) on 14-Авг-08, 11:23 
>
>вам GTK И даром не нужен
>собирайте без него
>mak

Делаю make и он мне даёт вот это:

linux:/usr/local/pentanet # make
make  all-recursive
make[1]: Entering directory `/usr/local/pentanet'
Making all in driver
make[2]: Entering directory `/usr/local/pentanet/driver'
make[2]: Leaving directory `/usr/local/pentanet/driver'
Making all in apps
make[2]: Entering directory `/usr/local/pentanet/apps'
Making all in libif
make[3]: Entering directory `/usr/local/pentanet/apps/libif'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/pentanet/apps/libif'
Making all in libapp
make[3]: Entering directory `/usr/local/pentanet/apps/libapp'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/pentanet/apps/libapp'
Making all in monitor
make[3]: Entering directory `/usr/local/pentanet/apps/monitor'
gcc -g -O2 -Wall  -c monitor.c
monitor.c:10:19: stdio.h: No such file or directory
monitor.c:11:20: stdlib.h: No such file or directory
monitor.c:12:21: termios.h: No such file or directory
monitor.c:13:18: term.h: No such file or directory
monitor.c:14:20: curses.h: No such file or directory
monitor.c:15:20: unistd.h: No such file or directory
monitor.c:16:20: string.h: No such file or directory
monitor.c:18:20: signal.h: No such file or directory
monitor.c:19:22: sys/time.h: No such file or directory
monitor.c: In function `init_keyb':
monitor.c:53: warning: implicit declaration of function `tcgetattr'
monitor.c:54: error: `new_settings' has an incomplete type
monitor.c:55: error: invalid use of undefined type `struct termios'
monitor.c:55: error: `ICANON' undeclared (first use in this function)
monitor.c:55: error: (Each undeclared identifier is reported only once
monitor.c:55: error: for each function it appears in.)
monitor.c:56: error: invalid use of undefined type `struct termios'
monitor.c:56: error: `ECHO' undeclared (first use in this function)
monitor.c:57: error: invalid use of undefined type `struct termios'
monitor.c:57: error: `ISIG' undeclared (first use in this function)
monitor.c:58: error: invalid use of undefined type `struct termios'
monitor.c:58: error: `VMIN' undeclared (first use in this function)
monitor.c:59: error: invalid use of undefined type `struct termios'
monitor.c:59: error: `VTIME' undeclared (first use in this function)
monitor.c:60: warning: implicit declaration of function `tcsetattr'
monitor.c:60: error: `TCSANOW' undeclared (first use in this function)
monitor.c: In function `close_keyb':
monitor.c:69: error: `TCSANOW' undeclared (first use in this function)
monitor.c: In function `hit_keyb':
monitor.c:86: error: invalid use of undefined type `struct termios'
monitor.c:86: error: `VMIN' undeclared (first use in this function)
monitor.c:87: error: `TCSANOW' undeclared (first use in this function)
monitor.c:88: warning: implicit declaration of function `read'
monitor.c:89: error: invalid use of undefined type `struct termios'
monitor.c: In function `display_info':
monitor.c:124: warning: implicit declaration of function `move'
monitor.c:125: warning: implicit declaration of function `attron'
monitor.c:125: error: `A_BOLD' undeclared (first use in this function)
monitor.c:126: warning: implicit declaration of function `attrset'
monitor.c:126: warning: implicit declaration of function `COLOR_PAIR'
monitor.c:127: warning: implicit declaration of function `printw'
monitor.c:130: warning: implicit declaration of function `attroff'
monitor.c:132: warning: implicit declaration of function `refresh'
monitor.c: In function `display_status':
monitor.c:189: warning: implicit declaration of function `sleep'
monitor.c: In function `main':
monitor.c:354: error: storage size of `itv' isn't known
monitor.c:357: warning: implicit declaration of function `initscr'
monitor.c:359: warning: implicit declaration of function `has_colors'
monitor.c:360: warning: implicit declaration of function `endwin'
monitor.c:361: warning: implicit declaration of function `exit'
monitor.c:364: warning: implicit declaration of function `start_color'
monitor.c:364: error: `OK' undeclared (first use in this function)
monitor.c:369: warning: implicit declaration of function `init_pair'
monitor.c:369: error: `COLOR_WHITE' undeclared (first use in this function)
monitor.c:369: error: `COLOR_BLACK' undeclared (first use in this function)
monitor.c:370: error: `COLOR_BLUE' undeclared (first use in this function)
monitor.c:371: error: `COLOR_YELLOW' undeclared (first use in this function)
monitor.c:372: error: `COLOR_GREEN' undeclared (first use in this function)
monitor.c:373: error: `COLOR_RED' undeclared (first use in this function)
monitor.c:375: warning: implicit declaration of function `clear'
monitor.c:377: warning: implicit declaration of function `getopt'
monitor.c:381: warning: implicit declaration of function `strcpy'
monitor.c:381: error: `optarg' undeclared (first use in this function)
monitor.c:391: warning: implicit declaration of function `signal'
monitor.c:391: error: `SIGPROF' undeclared (first use in this function)
monitor.c:392: warning: implicit declaration of function `setitimer'
monitor.c:392: error: `ITIMER_PROF' undeclared (first use in this function)
monitor.c:410: error: `EXIT_SUCCESS' undeclared (first use in this function)
monitor.c:354: warning: unused variable `itv'
monitor.c: At top level:
monitor.c:37: error: storage size of `initial_settings' isn't known
monitor.c:37: error: storage size of `new_settings' isn't known
make[3]: *** [monitor.o] Error 1
make[3]: Leaving directory `/usr/local/pentanet/apps/monitor'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/pentanet/apps'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/pentanet'
make: *** [all-recursive-am] Error 2
linux:/usr/local/pentanet #

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

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

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




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

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