Summary: | net-dialup/ltmodem-8.31_alpha10-r3 - lt_checkout/lt_autoload scripts are broken | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ta2002 <throw_away_2002> |
Component: | New packages | Assignee: | Gentoo Dialup Developers <net-dialup> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
ta2002
2007-11-06 12:13:03 UTC
Well, then don't use them, these scripts are apparently fubared. :) We shouldn't install such useless stuff. I've fixed it in ltmodem-2.6.9 by dropping kernel 2.4 support. I've also masked the old version because of the different versioning scheme. The new version is also a bump (from 2.6-alk-8 to 2.6-alk-9). I gave this a try, and it did not compile: [...] LD [M] /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.o LD [M] /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltserial.o Building modules, stage 2. MODPOST 2 modules WARNING: "uart_write_wakeup" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltserial.ko] undefined! WARNING: "uart_add_one_port" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltserial.ko] undefined! WARNING: "lt_get_modem_interface" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltserial.ko] undefined! WARNING: "uart_get_divisor" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltserial.ko] undefined! WARNING: "uart_unregister_driver" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltserial.ko] undefined! WARNING: "uart_remove_one_port" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltserial.ko] undefined! WARNING: "printk" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltserial.ko] undefined! WARNING: "tty_insert_flip_string_flags" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltserial.ko] undefi ned! WARNING: "request_irq" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltserial.ko] undefined! WARNING: "tty_hangup" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltserial.ko] undefined! WARNING: "__wake_up" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltserial.ko] undefined! WARNING: "uart_register_driver" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltserial.ko] undefined! WARNING: "tty_flip_buffer_push" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltserial.ko] undefined! WARNING: "uart_get_baud_rate" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltserial.ko] undefined! WARNING: "free_irq" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltserial.ko] undefined! WARNING: "pci_bus_read_config_byte" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.ko] undefined! WARNING: "__mod_timer" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.ko] undefined! WARNING: "param_get_int" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.ko] undefined! WARNING: "get_options" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.ko] undefined! WARNING: "pci_bus_write_config_word" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.ko] undefined! WARNING: "param_set_int" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.ko] undefined! WARNING: "jiffies" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.ko] undefined! WARNING: "pci_find_slot" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.ko] undefined! WARNING: "memset" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.ko] undefined! WARNING: "printk" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.ko] undefined! WARNING: "pci_bus_write_config_dword" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.ko] undefined ! WARNING: "pci_bus_read_config_word" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.ko] undefined! WARNING: "pci_bus_read_config_dword" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.ko] undefined! WARNING: "init_timer" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.ko] undefined! WARNING: "do_gettimeofday" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.ko] undefined! WARNING: "pci_bus_write_config_byte" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.ko] undefined! WARNING: "pci_get_device" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.ko] undefined! WARNING: "pci_dev_put" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.ko] undefined! WARNING: "pci_enable_device" [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.ko] undefined! CC /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.mod.o /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.mod.c:8: error: variable '__this_module' has initializer but incomplete type /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.mod.c:9: error: unknown field 'name' specified in initializer /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.mod.c:9: warning: excess elements in struct initializer /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.mod.c:9: warning: (near initialization for '__this_module') /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.mod.c:10: error: unknown field 'init' specified in initializer /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.mod.c:10: warning: excess elements in struct initializer /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.mod.c:10: warning: (near initialization for '__this_module') /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.mod.c:14: error: unknown field 'arch' specified in initializer /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.mod.c:14: error: 'MODULE_ARCH_INIT' undeclared here (not in a function) /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.mod.c:14: warning: excess elements in struct initializer /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.mod.c:14: warning: (near initialization for '__this_module') make[2]: *** [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/ltmodem.mod.o] Error 1 make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.23-gentoo' make: *** [module] Error 2 * * ERROR: net-dialup/ltmodem-2.6.9 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_compile * ebuild.sh, line 1039: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * ebuild.sh, line 1383: Called linux-mod_src_compile * linux-mod.eclass, line 518: Called die * The specific snippet of code: * emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" \ * ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} \ * || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}." * The die message: * Unable to make KERNEL_DIR='/usr/src/linux' module. * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/net-dialup:ltmodem-2.6.9:20071110-093151.log'. * Did you compiled your /usr/src/linux-2.6.23-gentoo kernel before emerging ltmodem? I not only compiled it before, I was running it at the time. Works for me. I've used the gentoo-sources-2.6.23-r1 kernel. I will try upgrading to -r1 and report. I did eventually get this to compile (after about eight tries). I had some really strange problems, and finally wiped and reinstalled the kernel source. I think some bug still exists here, but more likely with the way that Gentoo builds modules, and not with the ltmodem package itself. Therefore, I will reclose this. |