Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error compiling acx
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
gimboid
n00b
n00b


Joined: 06 Jan 2009
Posts: 1

PostPosted: Tue Jan 06, 2009 8:32 am    Post subject: Error compiling acx Reply with quote

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:
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.24-gentoo-r7/build
 * Found sources for kernel version:
 *     2.6.24-gentoo-r7
 * Checking for suitable kernel configuration options...
  [ ok ]
>>> Unpacking source...
>>> Unpacking acx-20060521.tar.bz2 to /var/tmp/portage/net-wireless/acx-0.3.35_p20060521/work
 * Applying acx-0.3.35_p20060521-2.6.18.patch ...
  [ ok ]
 * Applying acx-0.3.35_p20060521-2.6.19.patch ...
  [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-wireless/acx-0.3.35_p20060521/work ...
 * 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'
 *
 * ERROR: net-wireless/acx-0.3.35_p20060521 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3081:  Called linux-mod_src_compile
 *             environment, line 2360:  Called die
 * The specific snippet of code:
 *               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}.";
 *  The die message:
 *   Unable to make  -C /usr/src/linux SUBDIRS=/var/tmp/portage/net-wireless/acx-0.3.35_p20060521/work modules.
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-wireless/acx-0.3.35_p20060521/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-wireless/acx-0.3.35_p20060521/temp/environment'.
 *


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 :)
Back to top
View user's profile Send private message
Adebisi
n00b
n00b


Joined: 01 Jul 2005
Posts: 28
Location: Santiago (Chile)

PostPosted: Sun Jan 25, 2009 2:06 am    Post subject: Reply with quote

I have the same problem trying to install acx module....

Anybody can help us please??.

Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum