public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: maxim wexler <blissfix@yahoo.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] can't make rt2570 module
Date: Fri, 13 Mar 2009 14:32:08 -0700 (PDT)	[thread overview]
Message-ID: <691271.14093.qm@web31608.mail.mud.yahoo.com> (raw)


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/



             reply	other threads:[~2009-03-13 21:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-13 21:32 maxim wexler [this message]
2009-03-14  2:59 ` [gentoo-user] can't make rt2570 module Mike Kazantsev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=691271.14093.qm@web31608.mail.mud.yahoo.com \
    --to=blissfix@yahoo.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox