gimboid n00b
Joined: 06 Jan 2009 Posts: 1
|
Posted: Tue Jan 06, 2009 8:32 am Post subject: Error compiling acx |
|
|
I've installed 2008.0 from the livecd and while I have managed to get it to boot to the console, I can't get my wireless card to work. From previous experience I know acx should solve the problem, so thats the route I'm taking. (Something work noting is that wireless is my only option, so to emerge things I'm having to boot Windows, download the source and possibly a new ebuild to go into my overlay then reboot to Gentoo to emerge, so I'd rather get wireless working as a first priority).
So far I've tried two versions of acx (acx-0.3.35_p20060521 and acx-0.3.37_p20080112) and three different Kernels (the one the livecd installed, 2.6.24-gentoo-r5, the newest available before I read about overlays, 2.6.24-r7 and one I downloaded, 2.6.28). I was getting an error about my Kernel config not being correct so I included wireless extensions (not as a module though). Now I keep getting the following error,
Code: | [32;01m*[0m Determining the location of the kernel source code
[32;01m*[0m Found kernel source directory:
[32;01m*[0m /usr/src/linux
[32;01m*[0m Found kernel object directory:
[32;01m*[0m /lib/modules/2.6.24-gentoo-r7/build
[32;01m*[0m Found sources for kernel version:
[32;01m*[0m 2.6.24-gentoo-r7
[32;01m*[0m Checking for suitable kernel configuration options...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
>>> Unpacking source...
>>> Unpacking acx-20060521.tar.bz2 to /var/tmp/portage/net-wireless/acx-0.3.35_p20060521/work
[32;01m*[0m Applying acx-0.3.35_p20060521-2.6.18.patch ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Applying acx-0.3.35_p20060521-2.6.19.patch ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-wireless/acx-0.3.35_p20060521/work ...
[32;01m*[0m Preparing acx module
make: Entering directory `/usr/src/linux-2.6.24-gentoo-r7'
CC [M] /var/tmp/portage/net-wireless/acx-0.3.35_p20060521/work/wlan.o
CC [M] /var/tmp/portage/net-wireless/acx-0.3.35_p20060521/work/conv.o
CC [M] /var/tmp/portage/net-wireless/acx-0.3.35_p20060521/work/ioctl.o
CC [M] /var/tmp/portage/net-wireless/acx-0.3.35_p20060521/work/common.o
/var/tmp/portage/net-wireless/acx-0.3.35_p20060521/work/common.c: In function 'acx_l_rxmonitor':
/var/tmp/portage/net-wireless/acx-0.3.35_p20060521/work/common.c:2756: error: 'struct sk_buff' has no member named 'mac'
/var/tmp/portage/net-wireless/acx-0.3.35_p20060521/work/common.c:6947:14: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/var/tmp/portage/net-wireless/acx-0.3.35_p20060521/work/common.c: In function 'acx_init_task_scheduler':
/var/tmp/portage/net-wireless/acx-0.3.35_p20060521/work/common.c:6946: error: 'INIT_WORK' undeclared (first use in this function)
/var/tmp/portage/net-wireless/acx-0.3.35_p20060521/work/common.c:6946: error: (Each undeclared identifier is reported only once
/var/tmp/portage/net-wireless/acx-0.3.35_p20060521/work/common.c:6946: error: for each function it appears in.)
make[1]: *** [/var/tmp/portage/net-wireless/acx-0.3.35_p20060521/work/common.o] Error 1
make: *** [_module_/var/tmp/portage/net-wireless/acx-0.3.35_p20060521/work] Error 2
make: Leaving directory `/usr/src/linux-2.6.24-gentoo-r7'
[31;01m*[0m
[31;01m*[0m ERROR: net-wireless/acx-0.3.35_p20060521 failed.
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 49: Called src_compile
[31;01m*[0m environment, line 3081: Called linux-mod_src_compile
[31;01m*[0m environment, line 2360: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m 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}.";
[31;01m*[0m The die message:
[31;01m*[0m Unable to make -C /usr/src/linux SUBDIRS=/var/tmp/portage/net-wireless/acx-0.3.35_p20060521/work modules.
[31;01m*[0m
[31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
[31;01m*[0m A complete build log is located at '/var/tmp/portage/net-wireless/acx-0.3.35_p20060521/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/net-wireless/acx-0.3.35_p20060521/temp/environment'.
[31;01m*[0m |
If I try with other combinations of Kernel and acx I get very similar errors.
Have I missed something obvious out my Kernel which is causing this error? If further information is required to diagnose the problem I'll gladly provide it.
Thanks in advance |
|