Gentoo Archives: gentoo-user

From: maxim wexler <blissfix@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] can't make rt2570 module
Date: Fri, 13 Mar 2009 21:32:22
Message-Id: 691271.14093.qm@web31608.mail.mud.yahoo.com
1 Hi group,
2
3 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.
4
5 This is for a "NovaTech" usb-wifi gizmo. ID: 0eb0:9020
6
7 #emerge -v rt2570
8 <...>
9 * Found sources for kernel version:
10 * 2.6.23-gentoo-r6
11 * Checking for suitable kernel configuration options... [ ok ]
12 <...>
13 * Preparing rt2570 module
14 make: Entering directory `/usr/src/linux-2.6.23-gentoo-r6'
15 CC [M] /var/tmp/portage/net-wireless/rt2570-20070209/work/rt2570-20070209/Module/rtusb_main.o
16 CC [M] /var/tmp/portage/net-wireless/rt2570-20070209/work/rt2570-20070209/Module/mlme.o
17 /var/tmp/portage/net-wireless/rt2570-20070209/work/rt2570-20070209/Module/rtusb_main.c: In function 'usb_rtusb_probe':
18 /var/tmp/portage/net-wireless/rt2570-20070209/work/rt2570-20070209/Module/rtusb_main.c:1907: error: 'dev_base' undeclared (first use in this function)
19 /var/tmp/portage/net-wireless/rt2570-20070209/work/rt2570-20070209/Module/rtusb_main.c:1907: error: (Each undeclared identifier is reported only once
20 /var/tmp/portage/net-wireless/rt2570-20070209/work/rt2570-20070209/Module/rtusb_main.c:1907: error: for each function it appears in.)
21 /var/tmp/portage/net-wireless/rt2570-20070209/work/rt2570-20070209/Module/rtusb_main.c:1907: error: 'struct net_device' has no member named 'next'
22 make[1]: *** [/var/tmp/portage/net-wireless/rt2570-20070209/work/rt2570-20070209/Module/rtusb_main.o] Error 1
23 make[1]: *** Waiting for unfinished jobs....
24 make: *** [_module_/var/tmp/portage/net-wireless/rt2570-20070209/work/rt2570-20070209/Module] Error 2
25 make: Leaving directory `/usr/src/linux-2.6.23-gentoo-r6'
26 *
27 * ERROR: net-wireless/rt2570-20070209 failed.
28 * Call stack:
29 * ebuild.sh, line 49: Called src_compile
30 * environment, line 3167: Called linux-mod_src_compile
31 * environment, line 2429: Called die
32 * The specific snippet of code:
33 * 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}";
34 * The die message:
35 * 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
36 *
37 * If you need support, post the topmost build error, and the call stack if relevant.
38 * A complete build log is located at '/var/log/portage/net-wireless:rt2570-20070209:20090311-154403.log'.
39 * The ebuild environment file is located at '/var/tmp/portage/net-wireless/rt2570-20070209/temp/environment'.
40 *
41
42 * Messages for package net-wireless/rt2570-20070209:
43
44 *
45 * ERROR: net-wireless/rt2570-20070209 failed.
46 * Call stack:
47 * ebuild.sh, line 49: Called src_compile
48 * environment, line 3167: Called linux-mod_src_compile
49 * environment, line 2429: Called die
50 * The specific snippet of code:
51 * 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}";
52 * The die message:
53 * 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
54 *
55 * If you need support, post the topmost build error, and the call stack if relevant.
56 * A complete build log is located at '/var/log/portage/net-wireless:rt2570-20070209:20090311-154403.log'.
57 * The ebuild environment file is located at '/var/tmp/portage/net-wireless/rt2570-20070209/temp/environment'.
58 *
59
60
61
62 __________________________________________________________________
63 Instant Messaging, free SMS, sharing photos and more... Try the new Yahoo! Canada Messenger at http://ca.beta.messenger.yahoo.com/

Replies

Subject Author
Re: [gentoo-user] can't make rt2570 module Mike Kazantsev <mike_kazantsev@×××××××.net>