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?
On Thu, 2005-10-13 at 17:02 -0700, Bruce Ferrell wrote:> 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'The above is pointing to USB devices are they configured in the kernel and does the machine support uhci?> Suggestions?2.6 ztdummy does not need USB devices. gcc 2.96 don't know if that also will have probs long time since I used it. Upgrade it's free. -- Dave Cotton <dcotton@linuxautrement.com>
zdummy NEEDS the usb drivers to load the clock, if you disabled usb from bios, then the kernel is not loading usbci On 10/13/05, Bruce Ferrell <bferrell@baywinds.org> wrote:> 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? > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >