Gentoo Archives: gentoo-amd64

From: Will Briggs <will@××××××××××××××××××.au>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: ra2500 drivers for ASUS WL-167g
Date: Wed, 09 Aug 2006 15:05:31
Message-Id: 44D9F8C1.8020005@burnieanglican.org.au
In Reply to: [gentoo-amd64] Re: ra2500 drivers for ASUS WL-167g by Daniele Salatti
1 Daniele Salatti wrote:
2 > Will Briggs wrote:
3 >> Oh and lastly - have you been to http://gentoo-wiki.com/HARDWARE_rt2500?
4 >>
5 >> W.
6 >
7 > No, I haven't been...I have been there right now, and I found that the
8 > right driver is the rt2570 for my USB dongle. The problem is that it's
9 > masked by missing keyword. I unmasked it, but emerge rt2570 failed. Here
10 > is the output:
11 >
12 > base sale # emerge rt2570
13 > Calculating dependencies... done!
14 >>>> Emerging (1 of 1) net-wireless/rt2570-1.1.0_beta1 to /
15 >>>> checking ebuild checksums ;-)
16 >>>> checking auxfile checksums ;-)
17 >>>> checking miscfile checksums ;-)
18 >>>> checking rt2570-1.1.0-b1.tar.gz ;-)
19 >>>> checking rt2570-cvs-update.patch.gz ;-)
20 > * Determining the location of the kernel source code
21 > * Found kernel source directory:
22 > * /usr/src/linux
23 > * Found sources for kernel version:
24 > * 2.6.17-gentoo-r4
25 > * Checking for suitable kernel configuration options...
26 > [ ok ]>>> Unpacking source...
27 >>>> Unpacking rt2570-1.1.0-b1.tar.gz to
28 > /var/tmp/portage/rt2570-1.1.0_beta1/work>>> Unpacking
29 > rt2570-cvs-update.patch.gz to /var/tmp/portage/rt2570-1.1.0_beta1/work
30 >>>> Source unpacked.
31 >>>> Compiling source in
32 > /var/tmp/portage/rt2570-1.1.0_beta1/work/rt2570-1.1.0-b1 ...
33 > * Applying rt2570-cvs-update.patch ...
34 > [ ok ] * Preparing rt2570 module
35 > make: Entering directory `/usr/src/linux-2.6.17-gentoo-r4'
36 > CC [M]
37 > /var/tmp/portage/rt2570-1.1.0_beta1/work/rt2570-1.1.0-b1/Module/rtusb_main.o
38 > CC [M]
39 > /var/tmp/portage/rt2570-1.1.0_beta1/work/rt2570-1.1.0-b1/Module/mlme.o/var/tmp/portage/rt2570-1.1.0_beta1/work/rt2570-1.1.0-b1/Module/rtusb_main.c:40:
40 > error: syntax error before string constant
41 > /var/tmp/portage/rt2570-1.1.0_beta1/work/rt2570-1.1.0-b1/Module/rtusb_main.c:40:
42 > warning: type defaults to `int' in declaration of `MODULE_PARM'
43 > /var/tmp/portage/rt2570-1.1.0_beta1/work/rt2570-1.1.0-b1/Module/rtusb_main.c:40:
44 > warning: function declaration isn't a prototype
45 > /var/tmp/portage/rt2570-1.1.0_beta1/work/rt2570-1.1.0-b1/Module/rtusb_main.c:40:
46 > warning: data definition has no type or storage class
47 > distcc[13012] ERROR: compile
48 > /var/tmp/portage/rt2570-1.1.0_beta1/work/rt2570-1.1.0-b1/Module/rtusb_main.c
49 > on localhost failed
50 > make[1]: ***
51 > [/var/tmp/portage/rt2570-1.1.0_beta1/work/rt2570-1.1.0-b1/Module/rtusb_main.o]
52 > Error 1
53 > make[1]: *** Waiting for unfinished jobs....
54 > make: ***
55 > [_module_/var/tmp/portage/rt2570-1.1.0_beta1/work/rt2570-1.1.0-b1/Module]
56 > Error 2
57 > make: Leaving directory `/usr/src/linux-2.6.17-gentoo-r4'
58 >
59 > !!! ERROR: net-wireless/rt2570-1.1.0_beta1 failed.
60 > Call stack:
61 > ebuild.sh, line 1539: Called dyn_compile
62 > ebuild.sh, line 939: Called src_compile
63 > rt2570-1.1.0_beta1.ebuild, line 38: Called linux-mod_src_compile
64 > linux-mod.eclass, line 469: Called die
65 >
66 > !!! Unable to make -C /usr/src/linux
67 > M=/var/tmp/portage/rt2570-1.1.0_beta1/work/rt2570-1.1.0-b1/Module modules.
68 > !!! If you need support, post the topmost build error, and the call
69 > stack if relevant.
70 >
71 >
72 > I can't understand where is the problem. Can you help me?
73 >
74
75 Someone greater than I might be able to help you pull apart the source
76 code. All I can say is that this is probably not keyworded ~amd64 for a
77 reason. Mind you the rt2x00 sight
78 (http://rt2x00.serialmonkey.com/wiki/index.php/History) does seem to
79 indicate that amd64 is supported upstream. And googling seemed to
80 indicate that other distros (ubuntu) supprt rt2570 under amd64.
81
82 If you want to do it the hard way, and delve into the source code I
83 would suggest following the procedure at
84 http://gentoo-wiki.com/HARDWARE_rt2500_on_AMD64 (and replacing
85 references to 2500 with reference to 2570 of course). I do something
86 similar getting the open source r300 drivers working for my video card.
87 However this means mucking around with your system outside of the
88 bounds of portage, so you might break things.
89
90 That's about as far as I can go with you I think.
91
92
93 --
94 gentoo-amd64@g.o mailing list

Replies

Subject Author
[gentoo-amd64] Re: ra2500 drivers for ASUS WL-167g Daniele Salatti <linuxlist@×××××××.net>
Re: [gentoo-amd64] Re: ra2500 drivers for ASUS WL-167g Brian Litzinger <brian@××××××××××××.com>