Premetto che sono un neofita di linux... devo installare il modem su suse10,ma,con qualsiasi guida abbia seguito,ottengo sempre lo stesso risultato:mi blocco alla compilazione dei driver
![Piangere a dirotto [cry+]](http://www.megalab.it/forum/images/smilies/cry.gif)
- Codice: Seleziona tutto
linux:/home/unicorn # make
for i in adsl_status unicorntest tools ; do make -C $i all ; done
make[1]: Entering directory `/home/unicorn/adsl_status'
make all-recursive
make[2]: Entering directory `/home/unicorn/adsl_status'
Making all in intl
make[3]: Entering directory `/home/unicorn/adsl_status/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/unicorn/adsl_status/intl'
Making all in m4
make[3]: Entering directory `/home/unicorn/adsl_status/m4'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/unicorn/adsl_status/m4'
Making all in intl
make[3]: Entering directory `/home/unicorn/adsl_status/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/unicorn/adsl_status/intl'
Making all in po
make[3]: Entering directory `/home/unicorn/adsl_status/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/unicorn/adsl_status/po'
Making all in src
make[3]: Entering directory `/home/unicorn/adsl_status/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../../amu -I../../include/ -I../intl -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -Wall -c main.c
main.c:10:21: error: gtk/gtk.h: No suc
h file or directory
In file included from main.c:12:
interface.h:5: error: syntax error before ‘*’ token
interface.h:5: warning: type defaults to ‘int’ in declaration of ‘create_main_window’
interface.h:5: warning: data definition has no type or storage class
In file included from main.c:13:
support.h:44: error: syntax error before ‘*’ token
support.h:44: error: syntax error before ‘*’ token
support.h:45: warning: type defaults to ‘int’ in declaration of ‘lookup_widget’
support.h:45: warning: data definition has no type or storage class
support.h:51: warning: type defaults to ‘int’ in declaration of ‘gchar’
support.h:51: error: syntax error before ‘*’ token
support.h:59: error: syntax error before ‘*’ token
support.h:59: error: syntax error before ‘*’ token
support.h:60: warning: type defaults to ‘int’ in declaration of ‘create_pixmap’
support.h:60: warning: data definition has no type or storage class
In file included from main.c:14:
status.h:1: error: syntax error before ‘*’ token
status.h:2: error: syntax error before ‘*’ token
status.h:3: error: syntax error before ‘*’ token
status.h:4: error: syntax error before ‘*’ token
status.h:5: error: syntax error before ‘*’ token
status.h:6: error: syntax error before ‘*’ token
main.c: In function ‘main’:
main.c:20: error: ‘GtkWidget’ undeclared (first use in this function)
main.c:20: error: (Each undeclared identifier is reported only once
main.c:20: error: for each function it appears in.)
main.c:20: error: ‘main_window’ undeclared (first use in this function)
main.c:27: warning: implicit declaration of function ‘gtk_set_locale’
main.c:28: warning: implicit declaration of function ‘gtk_init’
main.c:45: warning: implicit declaration of function ‘GTK_WIDGET’
main.c:51: warning: implicit declaration of function ‘gtk_widget_show’
main.c:53: warning: implicit declaration of function ‘gtk_main’
make[3]: *** [main.o] Error 1
make[3]: Leaving directory `/home/unicorn/adsl_status/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/unicorn/adsl_status'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/home/unicorn/adsl_status'
make[1]: Entering directory `/home/unicorn/unicorntest'
gcc -DVERS=0x090 -Wall -Wstrict-prototypes -O2 -DLINUX -I../amu/ -I../include/ unicorntest.c -o unicorntest
make[1]: Leaving directory `/home/unicorn/unicorntest'
make[1]: Entering directory `/home/unicorn/tools'
gcc -DVERS=0x090 -Wall -Wstrict-prototypes -O2 -DLINUX -I../amu/ -I../include/ main.c unicorn_status.c unicorn_device.c -o unicorn_status
unicorn_status.c: In function ‘get_us_rate’:
unicorn_status.c:242: warning: pointer targets in passing argument 2 of ‘get_bit_rates’ differ in signedness
unicorn_status.c: In function ‘get_ds_rate’:
unicorn_status.c:253: warning: pointer targets in passing argument 2 of ‘get_bit_rates’ differ in signedness
gcc -DVERS=0x090 -Wall -Wstrict-prototypes -O2 -DLINUX -I../amu/ -I../include/ cgi.c unicorn_status.c unicorn_device.c -o unicorn_status.cgi
cgi.c: In function ‘do_status’:
cgi.c:24: warning: format ‘%u’ expects type ‘unsigned int’, but argument 2 has type ‘long long unsigned int’
cgi.c:25: warning: format ‘%u’ expects type ‘unsigned int’, but argument 2 has type ‘long long unsigned int’
unicorn_status.c: In function ‘get_us_rate’:
unicorn_status.c:242: warning: pointer targets in passing argument 2 of ‘get_bit_rates’ differ in signedness
unicorn_status.c: In function ‘get_ds_rate’:
unicorn_status.c:253: warning: pointer targets in passing argument 2 of ‘get_bit_rates’ differ in signedness
gcc -DVERS=0x090 -Wall -Wstrict-prototypes -O2 -DLINUX -I../amu/ -I../include/ oam_ping.c unicorn_device.c -o oam_ping
make[1]: Leaving directory `/home/unicorn/tools'
for i in libm unicorn_pci unicorn_usb ; do make -C $i modules MODDIR=/home/unicorn/$i ; done
make[1]: Entering directory `/home/unicorn/libm'
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o e_powf.o e_powf.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o e_log10f.o e_log10f.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o e_logf.o e_logf.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o e_sqrtf.o e_sqrtf.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_ceilf.o s_ceilf.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_floorf.o s_floorf.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_isinf.o s_isinf.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_fabsf.o s_fabsf.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_scalbnf.o s_scalbnf.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_copysignf.o s_copysignf.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_truncf.o s_truncf.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_sinf.o s_sinf.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o k_sinf.o k_sinf.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o k_cosf.o k_cosf.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o e_rem_pio2f.o e_rem_pio2f.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o k_rem_pio2f.o k_rem_pio2f.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o e_pow.o e_pow.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o e_log10.o e_log10.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o e_log.o e_log.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o e_sqrt.o e_sqrt.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_ceil.o s_ceil.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_floor.o s_floor.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_fabs.o s_fabs.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_scalbn.o s_scalbn.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_copysign.o s_copysign.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_trunc.o s_trunc.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o s_sin.o s_sin.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o k_sin.o k_sin.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o k_cos.o k_cos.c
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o e_rem_pio2.o e_rem_pio2.c
e_rem_pio2.c: In function ‘__ieee754_rem_pio2’:
e_rem_pio2.c:178: warning: ‘z’ is used uninitialized in this function
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -c -o k_rem_pio2.o k_rem_pio2.c
ld -r -o libm.a e_powf.o e_log10f.o e_logf.o e_sqrtf.o s_ceilf.o s_floorf.o s_isinf.o s_fabsf.o s_scalbnf.o s_copysignf.o s_truncf.o s_sinf.o k_sinf.o k_cosf.o e_rem_pio2f.o k_rem_pio2f.o e_pow.o e_log10.o e_log.o e_sqrt.o s_ceil.o s_floor.o s_fabs.o s_scalbn.o s_copysign.o s_trunc.o s_sin.o k_sin.o k_cos.o e_rem_pio2.o k_rem_pio2.o
make[1]: Leaving directory `/home/unicorn/libm'
make[1]: Entering directory `/home/unicorn/unicorn_pci'
make CC=gcc -C /usr/src/linux SUBDIRS=/home/unicorn/unicorn_pci modules
make[2]: Entering directory `/usr/src/linux-2.6.13-15'
CC [M] /home/unicorn/unicorn_pci/unicorn_pcidrv.o
In file included from /home/unicorn/unicorn_pci/unicorn_pcidrv.c:25:
/home/unicorn/unicorn_pci/../amu/amas.h:373:5: warning: "WIN32" is not defined
/home/unicorn/unicorn_pci/../amu/amas.h:389:5: warning: "WIN32" is not defined
/home/unicorn/unicorn_pci/unicorn_pcidrv.c:57:5: warning: "BIG_ENDIAN" is not defined
/home/unicorn/unicorn_pci/unicorn_pcidrv.c:1781:5: warning: "NOT_USED" is not defined
CC [M] /home/unicorn/unicorn_pci/../msw/linrapi.o
In file included from /home/unicorn/unicorn_pci/../msw/linrapi.c:28:
/home/unicorn/unicorn_pci/../amu/amas.h:373:5: warning: "WIN32" is not defined
/home/unicorn/unicorn_pci/../amu/amas.h:389:5: warning: "WIN32" is not defined
/home/unicorn/unicorn_pci/../msw/linrapi.c:278:5: warning: "USE_HW_TIMER" is not defined
g++ -fno-rtti -fno-exceptions -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i586 -mregparm=3 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -DVERS=0x090 -D_PCI_DRIVER -DDEBUG=1 -I/home/unicorn/unicorn_pci/../include -I/home/unicorn/unicorn_pci/../ -D__KERNEL__ -Iinclude -c -o /home/unicorn/unicorn_pci/../msw/msw.o /home/unicorn/unicorn_pci/../msw/msw.cpp
Can't exec "/usr/bin/g++": No such file or directory at /usr/lib/perl5/5.8.7/IPC/Open3.pm line 244.
open3: exec of /usr/bin/g++ -fno-rtti -fno-exceptions -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i586 -mregparm=3 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -DVERS=0x090 -D_PCI_DRIVER -DDEBUG=1 -I/home/unicorn/unicorn_pci/../include -I/home/unicorn/unicorn_pci/../ -D__KERNEL__ -Iinclude -c -o /home/unicorn/unicorn_pci/../msw/msw.o /home/unicorn/unicorn_pci/../msw/msw.cpp failed at /usr/local/bin/g++ line 208
make[3]: *** [/home/unicorn/unicorn_pci/../msw/msw.o] Error 2
make[2]: *** [_module_/home/unicorn/unicorn_pci] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.13-15'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/unicorn/unicorn_pci'
make[1]: Entering directory `/home/unicorn/unicorn_usb'
make CC=gcc -C /usr/src/linux SUBDIRS=/home/unicorn/unicorn_usb modules
make[2]: Entering directory `/usr/src/linux-2.6.13-15'
CC [M] /home/unicorn/unicorn_usb/unicorn_usbdrv.o
In file included from /home/unicorn/unicorn_usb/unicorn_usbdrv.c:25:
/home/unicorn/unicorn_usb/../amu/amas.h:373:5: warning: "WIN32" is not defined
/home/unicorn/unicorn_usb/../amu/amas.h:389:5: warning: "WIN32" is not defined
/home/unicorn/unicorn_usb/unicorn_usbdrv.c: In function ‘StartAtmUsXfer’:
/home/unicorn/unicorn_usb/unicorn_usbdrv.c:418: error: ‘struct usb_device’ has no member named ‘epmaxpacketout’
/home/unicorn/unicorn_usb/unicorn_usbdrv.c: In function ‘atm_start_rcv’:
/home/unicorn/unicorn_usb/unicorn_usbdrv.c:541: error: ‘struct usb_device’ has no member named ‘epmaxpacketin’
/home/unicorn/unicorn_usb/unicorn_usbdrv.c: In function ‘USB_init’:
/home/unicorn/unicorn_usb/unicorn_usbdrv.c:1708: error: ‘struct usb_device’ has no member named ‘epmaxpacketin’
/home/unicorn/unicorn_usb/unicorn_usbdrv.c:1709: error: ‘struct usb_device’ has no member named ‘epmaxpacketout’
/home/unicorn/unicorn_usb/unicorn_usbdrv.c:1710: error: ‘struct usb_device’ has no member named ‘epmaxpacketin’
/home/unicorn/unicorn_usb/unicorn_usbdrv.c:1711: error: ‘struct usb_device’ has no member named ‘epmaxpacketout’
/home/unicorn/unicorn_usb/unicorn_usbdrv.c:1712: error: ‘struct usb_device’ has no member named ‘epmaxpacketin’
/home/unicorn/unicorn_usb/unicorn_usbdrv.c:1713: error: ‘struct usb_device’ has no member named ‘epmaxpacketout’
/home/unicorn/unicorn_usb/unicorn_usbdrv.c:1714: error: ‘struct usb_device’ has no member named ‘epmaxpacketin’
/home/unicorn/unicorn_usb/unicorn_usbdrv.c: In function ‘USB_S_Write’:
/home/unicorn/unicorn_usb/unicorn_usbdrv.c:1824: error: ‘struct usb_device’ has no member named ‘epmaxpacketout’
/home/unicorn/unicorn_usb/unicorn_usbdrv.c: In function ‘USB_Read’:
/home/unicorn/unicorn_usb/unicorn_usbdrv.c:1986: error: ‘struct usb_device’ has no member named ‘epmaxpacketin’
/home/unicorn/unicorn_usb/unicorn_usbdrv.c:2012: error: ‘struct usb_device’ has no member named ‘epmaxpacketout’
make[3]: *** [/home/unicorn/unicorn_usb/unicorn_usbdrv.o] Error 1
make[2]: *** [_module_/home/unicorn/unicorn_usb] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.13-15'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/unicorn/unicorn_usb'
make: *** [modules] Error 2
linux:/home/unicorn # cd /unicorn_usb
-bash: cd: /unicorn_usb: No such file or directory
linux:/home/unicorn # cd unicorn_usb
linux:/home/unicorn/unicorn_usb # make
make CC=gcc -C /usr/src/linux SUBDIRS=/home/unicorn/unicorn_usb modules
make[1]: Entering directory `/usr/src/linux-2.6.13-15'
CC [M] /home/unicorn/unicorn_usb/unicorn_usbdrv.o
In file included from /home/unicorn/unicorn_usb/unicorn_usbdrv.c:25:
/home/unicorn/unicorn_usb/../amu/amas.h:373:5: warning: "WIN32" is not defined
/home/unicorn/unicorn_usb/../amu/amas.h:389:5: warning: "WIN32" is not defined
/home/unicorn/unicorn_usb/unicorn_usbdrv.c: In function ‘StartAtmUsXfer’:
/home/unicorn/unicorn_usb/unicorn_usbdrv.c:418: error: ‘struct usb_device’ has no member named ‘epmaxpacketout’
/home/unicorn/unicorn_usb/unicorn_usbdrv.c: In function ‘atm_start_rcv’:
/home/unicorn/unicorn_usb/unicorn_usbdrv.c:541: error: ‘struct usb_device’ has no member named ‘epmaxpacketin’
/home/unicorn/unicorn_usb/unicorn_usbdrv.c: In function ‘USB_init’:
/home/unicorn/unicorn_usb/unicorn_usbdrv.c:1708: error: ‘struct usb_device’ has no member named ‘epmaxpacketin’
/home/unicorn/unicorn_usb/unicorn_usbdrv.c:1709: error: ‘struct usb_device’ has no member named ‘epmaxpacketout’
/home/unicorn/unicorn_usb/unicorn_usbdrv.c:1710: error: ‘struct usb_device’ has no member named ‘epmaxpacketin’
/home/unicorn/unicorn_usb/unicorn_usbdrv.c:1711: error: ‘struct usb_device’ has no member named ‘epmaxpacketout’
/home/unicorn/unicorn_usb/unicorn_usbdrv.c:1712: error: ‘struct usb_device’ has no member named ‘epmaxpacketin’
/home/unicorn/unicorn_usb/unicorn_usbdrv.c:1713: error: ‘struct usb_device’ has no member named ‘epmaxpacketout’
/home/unicorn/unicorn_usb/unicorn_usbdrv.c:1714: error: ‘struct usb_device’ has no member named ‘epmaxpacketin’
/home/unicorn/unicorn_usb/unicorn_usbdrv.c: In function ‘USB_S_Write’:
/home/unicorn/unicorn_usb/unicorn_usbdrv.c:1824: error: ‘struct usb_device’ has no member named ‘epmaxpacketout’
/home/unicorn/unicorn_usb/unicorn_usbdrv.c: In function ‘USB_Read’:
/home/unicorn/unicorn_usb/unicorn_usbdrv.c:1986: error: ‘struct usb_device’ has no member named ‘epmaxpacketin’
/home/unicorn/unicorn_usb/unicorn_usbdrv.c:2012: error: ‘struct usb_device’ has no member named ‘epmaxpacketout’
make[2]: *** [/home/unicorn/unicorn_usb/unicorn_usbdrv.o] Error 1
make[1]: *** [_module_/home/unicorn/unicorn_usb] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.13-15'
make: *** [modules] Error 2
come ho già scritto,ho installato la suse10 con kernel 2.6.13-15. vi ringrazio per l'aiuto
![Grande Sorriso [:-D]](http://www.megalab.it/forum/images/smilies/Bigsmile.gif)