с учётом того что линух юзаю дня 4 , мой дистрибутив mandriva-linux-2007-spring-pwp-dvd.i586
ПОЖАЛУЙСТА
Модератор: Модераторы разделов
Мне со своего рабочего места не видно что это за ошибка, да и не обладаю телепатическими способностями. Может быть напишите что это за ошибка?
[alexander@localhost ~]$ cd '/usr/etc/modem'
[alexander@localhost modem]$ make
cd init && make clean
make[1]: Entering directory `/usr/etc/modem/init'
rm -f amload amioctl amcheckline amsyncline amloaddbg amloaddbgt amfunctions.o
make[1]: Leaving directory `/usr/etc/modem/init'
cd module && make clean
make[1]: Entering directory `/usr/etc/modem/module'
rm -f *.o .*.flags *.ko *.mod.* .*.o.cmd .*.ko.cmd
make[1]: Leaving directory `/usr/etc/modem/module'
cd bridged && make clean
make[1]: Entering directory `/usr/etc/modem/bridged'
rm -f br2684ctl
make[1]: Leaving directory `/usr/etc/modem/bridged'
cd amcontrol && make clean
make[1]: Entering directory `/usr/etc/modem/amcontrol'
rm -f amcontrol amcontroldbg amcontroldbgt
make[1]: Leaving directory `/usr/etc/modem/amcontrol'
cd init && make
make[1]: Entering directory `/usr/etc/modem/init'
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -Wall -DLINUX -Wsign-compare -I../include amfunctions.c -c -o amfunctions.o
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -Wall -DLINUX -Wsign-compare -I../include -lusb -lpopt amfunctions.o amload.c -o amload
amload.c:80:18: error: popt.h: Нет такого файла или каталога
amload.c: In function ‘main’:
amload.c:98: error: ‘poptContext’ undeclared (first use in this function)
amload.c:98: error: (Each undeclared identifier is reported only once
amload.c:98: error: for each function it appears in.)
amload.c:98: error: expected ‘;’ before ‘optCon’
amload.c:136: error: array type has incomplete element type
amload.c:137: error: ‘POPT_ARG_NONE’ undeclared (first use in this function)
amload.c:145: error: ‘POPT_ARG_INT’ undeclared (first use in this function)
amload.c:145: error: ‘POPT_ARGFLAG_SHOW_DEFAULT’ undeclared (first use in this function)
amload.c:162: error: ‘POPT_AUTOHELP’ undeclared (first use in this function)
amload.c:163: error: expected ‘}’ before ‘{’ token
amload.c:166: error: ‘optCon’ undeclared (first use in this function)
amload.c:166: warning: implicit declaration of function ‘poptGetContext’
amload.c:185: warning: implicit declaration of function ‘poptPrintUsage’
amload.c:186: warning: implicit declaration of function ‘poptFreeContext’
amload.c:190: warning: implicit declaration of function ‘poptGetNextOpt’
amload.c:193: warning: implicit declaration of function ‘poptBadOption’
amload.c:193: error: ‘POPT_BADOPTION_NOALIAS’ undeclared (first use in this function)
amload.c:194: warning: implicit declaration of function ‘poptStrerror’
amload.c:194: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
amload.c:194: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
amload.c:136: warning: unused variable ‘optionsTable’
make[1]: *** [amload] Ошибка 1
make[1]: Leaving directory `/usr/etc/modem/init'
make: *** [AME_INIT] Ошибка 2
[alexander@localhost modem]$
Собственно вот из-за чего и ошибка.