[Asterisk-Users] ztdummy build problems

Bruce Ferrell bferrell at baywinds.org
Thu Oct 13 17:02:19 MST 2005


Hi all,

Trying to build ztdummy on an old redhat 7.3 box running kernel
2.4.20-43.7.legacysmp.  Yes, I have the kernel sources installed.  Yes, 
I set them up with make oldconfig; make dep.

The build error is:


make ztdummy
gcc -I/usr/src/linux-2.4/include -O6 -DMODULE -D__KERNEL__ 
-DEXPORT_SYMTAB -I/usr/src/linux/drivers/net -Wall -I. 
-Wstrict-prototypes -fomit-frame-pointer -I/usr/src/
linux/drivers/net/wan -I /usr/src/linux/include 
-I/usr/src/linux/include/net -DMODVERSIONS -include 
/usr/src/linux-2.4/include/linux/modversions.h  -DSTANDALONE_ZAPAT
A -c ztdummy.c
cc   ztdummy.o   -o ztdummy
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function 
`_start':
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18): 
undefined reference to `main'
ztdummy.o: In function `init_module':
ztdummy.o(.text+0x7): undefined reference to `uhci_devices'
ztdummy.o(.text+0x20): undefined reference to `printk_Rsmp_1b7d4074'
ztdummy.o(.text+0x40): undefined reference to `printk_Rsmp_1b7d4074'
ztdummy.o(.text+0x5a): undefined reference to `kmalloc_Rsmp_93d4cfe6'
ztdummy.o(.text+0x76): undefined reference to `printk_Rsmp_1b7d4074'
ztdummy.o(.text+0xa4): undefined reference to `sprintf_Rsmp_1d26aa98'
ztdummy.o(.text+0xb5): undefined reference to `sprintf_Rsmp_1d26aa98'
ztdummy.o(.text+0xcd): undefined reference to `sprintf_Rsmp_1d26aa98'
ztdummy.o(.text+0x126): undefined reference to `zt_register'
ztdummy.o(.text+0x140): undefined reference to `printk_Rsmp_1b7d4074'
ztdummy.o(.text+0x14c): undefined reference to `kfree_Rsmp_037a0cba'
ztdummy.o(.text+0x184): undefined reference to `free_irq_Rsmp_f20dabd8'
ztdummy.o(.text+0x1a0): undefined reference to `request_irq_Rsmp_0c60f2e0'
ztdummy.o(.text+0x1bc): undefined reference to `printk_Rsmp_1b7d4074'
ztdummy.o(.text+0x1c8): undefined reference to `kfree_Rsmp_037a0cba'
ztdummy.o(.text+0x1fc): undefined reference to `uhci_interrupt'
ztdummy.o(.text+0x202): undefined reference to `request_irq_Rsmp_0c60f2e0'
ztdummy.o(.text+0x21e): undefined reference to `printk_Rsmp_1b7d4074'
ztdummy.o(.text+0x23b): undefined reference to `alloc_td'
ztdummy.o(.text+0x24f): undefined reference to `fill_td'
ztdummy.o(.text+0x266): undefined reference to `insert_td_horizontal'
ztdummy.o(.text+0x27f): undefined reference to `printk_Rsmp_1b7d4074'
ztdummy.o: In function `ztdummy_interrupt':
ztdummy.o(.text+0x2b0): undefined reference to `zt_receive'
ztdummy.o(.text+0x2bc): undefined reference to `zt_transmit'
ztdummy.o: In function `cleanup_module':
ztdummy.o(.text+0x305): undefined reference to `free_irq_Rsmp_f20dabd8'
ztdummy.o(.text+0x311): undefined reference to `zt_unregister'
ztdummy.o(.text+0x31d): undefined reference to `kfree_Rsmp_037a0cba'
ztdummy.o(.text+0x333): undefined reference to `unlink_td'
ztdummy.o(.text+0x346): undefined reference to `delete_desc'
ztdummy.o(.text+0x35f): undefined reference to `printk_Rsmp_1b7d4074'
ztdummy.o: In function `ztdummy_interrupt':
ztdummy.o(.text+0x2ec): undefined reference to `printk_Rsmp_1b7d4074'
collect2: ld returned 1 exit status
make: *** [ztdummy] Error 1

Suggestions?



More information about the asterisk-users mailing list