Kyle | voila la compil :
Code :
- for i in adsl_status unicorntest tools ; do make -C $i all ; done
- make[1]: Entering directory `/root/unicorn/adsl_status'
- make all-recursive
- make[2]: Entering directory `/root/unicorn/adsl_status'
- Making all in intl
- make[3]: Entering directory `/root/unicorn/adsl_status/intl'
- make[3]: Rien à faire pour « all ».
- make[3]: Leaving directory `/root/unicorn/adsl_status/intl'
- Making all in m4
- make[3]: Entering directory `/root/unicorn/adsl_status/m4'
- make[3]: Rien à faire pour « all ».
- make[3]: Leaving directory `/root/unicorn/adsl_status/m4'
- Making all in intl
- make[3]: Entering directory `/root/unicorn/adsl_status/intl'
- make[3]: Rien à faire pour « all ».
- make[3]: Leaving directory `/root/unicorn/adsl_status/intl'
- Making all in po
- make[3]: Entering directory `/root/unicorn/adsl_status/po'
- make[3]: Rien à faire pour « all ».
- make[3]: Leaving directory `/root/unicorn/adsl_status/po'
- Making all in src
- make[3]: Entering directory `/root/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: gtk/gtk.h: No such file or directory
- In file included from main.c:12:
- interface.h:5: error: parse 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:9:21: gtk/gtk.h: No such file or directory
- In file included from main.c:13:
- support.h:44: error: parse error before '*' token
- support.h:44: error: parse 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: parse error before '*' token
- support.h:59: error: parse error before '*' token
- support.h:59: error: parse 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: parse error before '*' token
- status.h:2: error: parse error before '*' token
- status.h:3: error: parse error before '*' token
- status.h:4: error: parse error before '*' token
- status.h:5: error: parse error before '*' token
- status.h:6: error: parse 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] Erreur 1
- make[3]: Leaving directory `/root/unicorn/adsl_status/src'
- make[2]: *** [all-recursive] Erreur 1
- make[2]: Leaving directory `/root/unicorn/adsl_status'
- make[1]: *** [all-recursive-am] Erreur 2
- make[1]: Leaving directory `/root/unicorn/adsl_status'
- make[1]: Entering directory `/root/unicorn/unicorntest'
- gcc -DVERS=0x081 -Wall -Wstrict-prototypes -O2 -DLINUX -I../amu/ -I../include/ unicorntest.c -o unicorntest
- make[1]: Leaving directory `/root/unicorn/unicorntest'
- make[1]: Entering directory `/root/unicorn/tools'
- gcc -DVERS=0x081 -Wall -Wstrict-prototypes -O2 -DLINUX -I../amu/ -I../include/ main.c unicorn_status.c unicorn_device.c -o unicorn_status
- gcc -DVERS=0x081 -Wall -Wstrict-prototypes -O2 -DLINUX -I../amu/ -I../include/ cgi.c unicorn_status.c unicorn_device.c -o unicorn_status.cgi
- gcc -DVERS=0x081 -Wall -Wstrict-prototypes -O2 -DLINUX -I../amu/ -I../include/ oam_ping.c unicorn_device.c -o oam_ping
- make[1]: Leaving directory `/root/unicorn/tools'
- for i in libm unicorn_pci unicorn_atm ; do make -C $i all ; done
- make[1]: Entering directory `/root/unicorn/libm'
- gcc -O2 -fno-gnu-linker -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 -fno-gnu-linker -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 -fno-gnu-linker -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 -fno-gnu-linker -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 -fno-gnu-linker -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 -fno-gnu-linker -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 -fno-gnu-linker -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 -fno-gnu-linker -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 -fno-gnu-linker -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 -fno-gnu-linker -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 -fno-gnu-linker -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 -fno-gnu-linker -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 -fno-gnu-linker -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 -fno-gnu-linker -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:93: warning: `z' might be used uninitialized in this function
- gcc -O2 -fno-gnu-linker -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_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 `/root/unicorn/libm'
- make[1]: Entering directory `/root/unicorn/unicorn_pci'
- gcc -o ../collect_tors/collect_tors ../collect_tors/collect_tors.c
- gcc -DVERS=0x081 -O2 -fno-gnu-linker -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -Wall -Wno-comment -D__KERNEL__ -DMODULE -DLINUX -D_PCI_DRIVER -DDEBUG=1 -I/usr/src/linux/include -I../include -I../ -c -o unicorn_pcidrv.o unicorn_pcidrv.c
- In file included from unicorn_pcidrv.c:12:
- /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/smp.h:18,
- from /usr/src/linux/include/linux/smp.h:17,
- from /usr/src/linux/include/linux/sched.h:23,
- from /usr/src/linux/include/linux/module.h:10,
- from /usr/src/linux/include/linux/device.h:21,
- from /usr/src/linux/include/linux/pci.h:350,
- from unicorn_pcidrv.c:17:
- /usr/src/linux/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
- In file included from /usr/src/linux/include/asm/smp.h:18,
- from /usr/src/linux/include/linux/smp.h:17,
- from /usr/src/linux/include/linux/sched.h:23,
- from /usr/src/linux/include/linux/module.h:10,
- from /usr/src/linux/include/linux/device.h:21,
- from /usr/src/linux/include/linux/pci.h:350,
- from unicorn_pcidrv.c:17:
- /usr/src/linux/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function)
- /usr/src/linux/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function)
- /usr/src/linux/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function)
- /usr/src/linux/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function)
- /usr/src/linux/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a function)
- /usr/src/linux/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function)
- /usr/src/linux/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
- /usr/src/linux/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
- /usr/src/linux/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
- /usr/src/linux/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function)
- /usr/src/linux/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
- /usr/src/linux/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
- /usr/src/linux/include/asm/mpspec.h:50: error: `MAX_APICS' undeclared here (not in a function)
- In file included from /usr/src/linux/include/asm/smp.h:20,
- from /usr/src/linux/include/linux/smp.h:17,
- from /usr/src/linux/include/linux/sched.h:23,
- from /usr/src/linux/include/linux/module.h:10,
- from /usr/src/linux/include/linux/device.h:21,
- from /usr/src/linux/include/linux/pci.h:350,
- from unicorn_pcidrv.c:17:
- /usr/src/linux/include/asm/io_apic.h:160: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
- /usr/src/linux/include/asm/io_apic.h:160: error: conflicting types for `mp_irqs'
- /usr/src/linux/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
- In file included from /usr/src/linux/include/linux/smp.h:17,
- from /usr/src/linux/include/linux/sched.h:23,
- from /usr/src/linux/include/linux/module.h:10,
- from /usr/src/linux/include/linux/device.h:21,
- from /usr/src/linux/include/linux/pci.h:350,
- from unicorn_pcidrv.c:17:
- /usr/src/linux/include/asm/smp.h:72:26: mach_apicdef.h: No such file or directory
- In file included from /usr/src/linux/include/linux/smp.h:17,
- from /usr/src/linux/include/linux/sched.h:23,
- from /usr/src/linux/include/linux/module.h:10,
- from /usr/src/linux/include/linux/device.h:21,
- from /usr/src/linux/include/linux/pci.h:350,
- from unicorn_pcidrv.c:17:
- /usr/src/linux/include/asm/smp.h: In function `hard_smp_processor_id':
- /usr/src/linux/include/asm/smp.h:76: warning: implicit declaration of function `GET_APIC_ID'
- In file included from /usr/src/linux/include/linux/irq.h:20,
- from /usr/src/linux/include/asm/hardirq.h:6,
- from /usr/src/linux/include/linux/interrupt.h:11,
- from unicorn_pcidrv.c:18:
- /usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
- In file included from /usr/src/linux/include/asm/hardirq.h:6,
- from /usr/src/linux/include/linux/interrupt.h:11,
- from unicorn_pcidrv.c:18:
- /usr/src/linux/include/linux/irq.h: At top level:
- /usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
- In file included from /usr/src/linux/include/linux/irq.h:72,
- from /usr/src/linux/include/asm/hardirq.h:6,
- from /usr/src/linux/include/linux/interrupt.h:11,
- from unicorn_pcidrv.c:18:
- /usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
- /usr/src/linux/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
- make[1]: *** [unicorn_pcidrv.o] Erreur 1
- make[1]: Leaving directory `/root/unicorn/unicorn_pci'
- make[1]: Entering directory `/root/unicorn/unicorn_atm'
- make[1]: *** Pas de règle pour fabriquer la cible « all ». Arrêt.
- make[1]: Leaving directory `/root/unicorn/unicorn_atm'
- make: *** [all_drivers] Erreur 2
|
|