* [gentoo-user] can't make rt2570 module
@ 2009-03-13 21:32 maxim wexler
2009-03-14 2:59 ` Mike Kazantsev
0 siblings, 1 reply; 2+ messages in thread
From: maxim wexler @ 2009-03-13 21:32 UTC (permalink / raw
To: gentoo-user
Hi group,
I found a bug report for this but that involved a problem with the kernel config. In this case, portage doesn't seem to have a problem with that.
This is for a "NovaTech" usb-wifi gizmo. ID: 0eb0:9020
#emerge -v rt2570
<...>
* Found sources for kernel version:
* 2.6.23-gentoo-r6
* Checking for suitable kernel configuration options... [ ok ]
<...>
* Preparing rt2570 module
make: Entering directory `/usr/src/linux-2.6.23-gentoo-r6'
CC [M] /var/tmp/portage/net-wireless/rt2570-20070209/work/rt2570-20070209/Module/rtusb_main.o
CC [M] /var/tmp/portage/net-wireless/rt2570-20070209/work/rt2570-20070209/Module/mlme.o
/var/tmp/portage/net-wireless/rt2570-20070209/work/rt2570-20070209/Module/rtusb_main.c: In function 'usb_rtusb_probe':
/var/tmp/portage/net-wireless/rt2570-20070209/work/rt2570-20070209/Module/rtusb_main.c:1907: error: 'dev_base' undeclared (first use in this function)
/var/tmp/portage/net-wireless/rt2570-20070209/work/rt2570-20070209/Module/rtusb_main.c:1907: error: (Each undeclared identifier is reported only once
/var/tmp/portage/net-wireless/rt2570-20070209/work/rt2570-20070209/Module/rtusb_main.c:1907: error: for each function it appears in.)
/var/tmp/portage/net-wireless/rt2570-20070209/work/rt2570-20070209/Module/rtusb_main.c:1907: error: 'struct net_device' has no member named 'next'
make[1]: *** [/var/tmp/portage/net-wireless/rt2570-20070209/work/rt2570-20070209/Module/rtusb_main.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [_module_/var/tmp/portage/net-wireless/rt2570-20070209/work/rt2570-20070209/Module] Error 2
make: Leaving directory `/usr/src/linux-2.6.23-gentoo-r6'
*
* ERROR: net-wireless/rt2570-20070209 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3167: Called linux-mod_src_compile
* environment, line 2429: Called die
* The specific snippet of code:
* eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
* The die message:
* Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= -C /usr/src/linux M=/var/tmp/portage/net-wireless/rt2570-20070209/work/rt2570-20070209/Module modules
*
* 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-wireless:rt2570-20070209:20090311-154403.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-wireless/rt2570-20070209/temp/environment'.
*
* Messages for package net-wireless/rt2570-20070209:
*
* ERROR: net-wireless/rt2570-20070209 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3167: Called linux-mod_src_compile
* environment, line 2429: Called die
* The specific snippet of code:
* eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
* The die message:
* Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= -C /usr/src/linux M=/var/tmp/portage/net-wireless/rt2570-20070209/work/rt2570-20070209/Module modules
*
* 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-wireless:rt2570-20070209:20090311-154403.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-wireless/rt2570-20070209/temp/environment'.
*
__________________________________________________________________
Instant Messaging, free SMS, sharing photos and more... Try the new Yahoo! Canada Messenger at http://ca.beta.messenger.yahoo.com/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-14 3:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-13 21:32 [gentoo-user] can't make rt2570 module maxim wexler
2009-03-14 2:59 ` Mike Kazantsev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox