Dear Folks, I was wondering if anyone is willing to give me a clue as to how to get past problems I am having building zaptel-1.4.0. I am trying to perform the build on Linux as below. uname -a Linux asterisk-1.digi-data.com 2.4.21-40.EL #1 EST 2006 i686 i686 i386 GNU/Linux I use the defaults for the configure script. I am using gcc version 3.3.2 I am using GNU make 3.80 I invoke the configure script with the CC environment variable set as follows CC=/usr/local/bin/gcc I do not seem to get any errors when I run the configure script, yet when I start the make, I get the following error. <ERROR_MESSAGES> /lib/modules/2.4.21-40.EL/build/include/linux/module.h:203: warning: parameter names (without types) in function declaration In file included from /lib/modules/2.4.21-40.EL/build/include/linux/tqueue.h:19, from /lib/modules/2.4.21-40.EL/build/include/linux/aio.h:4, from /lib/modules/2.4.21-40.EL/build/include/linux/net.h:88, from /lib/modules/2.4.21-40.EL/build/include/linux/fs.h:15, from /lib/modules/2.4.21-40.EL/build/include/linux/capability.h:17, from /lib/modules/2.4.21-40.EL/build/include/linux/binfmts.h:4, from /lib/modules/2.4.21-40.EL/build/include/linux/sched.h:10, from /lib/modules/2.4.21-40.EL/build/include/linux/mm.h:22, from /lib/modules/2.4.21-40.EL/build/include/linux/slab.h:14, from /lib/modules/2.4.21-40.EL/build/include/asm/pci.h:38, from /lib/modules/2.4.21-40.EL/build/include/linux/pci.h:671, from pciradio.c:51: /lib/modules/2.4.21-40.EL/build/include/asm/system.h: In function `__set_64bit_var': /lib/modules/2.4.21-40.EL/build/include/asm/system.h:189: warning: dereferencing type-punned pointer will break strict-aliasing rules /lib/modules/2.4.21-40.EL/build/include/asm/system.h:189: warning: dereferencing type-punned pointer will break strict-aliasing rules In file included from /lib/modules/2.4.21-40.EL/build/include/linux/fs.h:19, from /lib/modules/2.4.21-40.EL/build/include/linux/capability.h:17, from /lib/modules/2.4.21-40.EL/build/include/linux/binfmts.h:4, from /lib/modules/2.4.21-40.EL/build/include/linux/sched.h:10, from /lib/modules/2.4.21-40.EL/build/include/linux/mm.h:22, from /lib/modules/2.4.21-40.EL/build/include/linux/slab.h:14, from /lib/modules/2.4.21-40.EL/build/include/asm/pci.h:38, from /lib/modules/2.4.21-40.EL/build/include/linux/pci.h:671, from pciradio.c:51: /lib/modules/2.4.21-40.EL/build/include/linux/dcache.h: In function `dget': /lib/modules/2.4.21-40.EL/build/include/linux/dcache.h:255: warning: implicit declaration of function `__out_of_line_bug_R8b0fd3c5' In file included from /lib/modules/2.4.21-40.EL/build/include/asm/highmem.h:29, from /lib/modules/2.4.21-40.EL/build/include/linux/highmem.h:11, from /lib/modules/2.4.21-40.EL/build/include/linux/vmalloc.h:8, from /lib/modules/2.4.21-40.EL/build/include/asm/io.h:47, from /lib/modules/2.4.21-40.EL/build/include/asm/pci.h:41, from /lib/modules/2.4.21-40.EL/build/include/linux/pci.h:671, from pciradio.c:51: /lib/modules/2.4.21-40.EL/build/include/asm/atomic_kmap.h: In function `__kmap_atomic_noflush': /lib/modules/2.4.21-40.EL/build/include/asm/atomic_kmap.h:42: error: `boot_cpu_data_R0657d037' undeclared (first use in this function) /lib/modules/2.4.21-40.EL/build/include/asm/atomic_kmap.h:42: error: (Each undeclared identifier is reported only once /lib/modules/2.4.21-40.EL/build/include/asm/atomic_kmap.h:42: error: for each function it appears in.) /lib/modules/2.4.21-40.EL/build/include/asm/atomic_kmap.h: In function `__kmap_atomic': /lib/modules/2.4.21-40.EL/build/include/asm/atomic_kmap.h:65: error: `boot_cpu_data_R0657d037' undeclared (first use in this function) In file included from /lib/modules/2.4.21-40.EL/build/include/asm/io.h:47, from /lib/modules/2.4.21-40.EL/build/include/asm/pci.h:41, from /lib/modules/2.4.21-40.EL/build/include/linux/pci.h:671, from pciradio.c:51: /lib/modules/2.4.21-40.EL/build/include/linux/vmalloc.h: In function `vmalloc': /lib/modules/2.4.21-40.EL/build/include/linux/vmalloc.h:40: error: `boot_cpu_data_R0657d037' undeclared (first use in this function) /lib/modules/2.4.21-40.EL/build/include/linux/vmalloc.h: In function `vmalloc_dma': /lib/modules/2.4.21-40.EL/build/include/linux/vmalloc.h:49: error: `boot_cpu_data_R0657d037' undeclared (first use in this function) /lib/modules/2.4.21-40.EL/build/include/linux/vmalloc.h: In function `vmalloc_32': /lib/modules/2.4.21-40.EL/build/include/linux/vmalloc.h:58: error: `boot_cpu_data_R0657d037' undeclared (first use in this function) pciradio.c: In function `pciradio_interrupt': pciradio.c:734: warning: implicit declaration of function `printk_R1b7d4074' pciradio.c: In function `pciradio_initialize': pciradio.c:1401: warning: implicit declaration of function `sprintf_R1d26aa98' make[1]: *** [pciradio.o] Error 1 make[1]: Leaving directory `/var/sources/zaptel-1.4.0' make: *** [all] Error 2 </ERROR_MESSAGES> Any help would be highly appreciated. Yours sincerely, Robert Honore.
![]() |