Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157695 - net-wireless/acx-0.3.35_p20060521 fails with 2.6.19-gentoo-r1
Summary: net-wireless/acx-0.3.35_p20060521 fails with 2.6.19-gentoo-r1
Status: RESOLVED DUPLICATE of bug 164624
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Stephen Bennett (RETIRED)
URL:
Whiteboard:
Keywords:
: 157791 (view as bug list)
Depends on:
Blocks: kernel-2.6.19
  Show dependency tree
 
Reported: 2006-12-10 00:14 UTC by ade05fr
Modified: 2007-01-31 15:07 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ade05fr 2006-12-10 00:14:22 UTC
jehamou linux # emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r2 i686)
=================================================================
System uname: 2.6.18-gentoo-r2 i686 Intel(R) Celeron(R) M processor         1500MHz
Gentoo Base System version 1.12.6
Last Sync: Sat, 09 Dec 2006 09:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa_cards_intel8x0 apache2 berkdb bitmap-fonts cli cracklib crypt cups directfb dlloader dri dvd dvdread elibc_glibc fortran gdbm gnome gpm gtk iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kernel_linux libg++ mysql ncurses nls nptl nptlonly pam pcre pdf perl png ppds pppd python readline reflection session spl ssl svg tcpd tiff truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY





jehamou linux # emerge -av acx

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-wireless/acx-0.3.35_p20060521  USE="-debug" 0 kB 

Total size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] y

>>> Emerging (1 of 1) net-wireless/acx-0.3.35_p20060521 to /
 * acx-20060521.tar.bz2 MD5 ;-) ...                                                                                                                                          [ ok ]
 * acx-20060521.tar.bz2 RMD160 ;-) ...                                                                                                                                       [ ok ]
 * acx-20060521.tar.bz2 SHA1 ;-) ...                                                                                                                                         [ ok ]
 * acx-20060521.tar.bz2 SHA256 ;-) ...                                                                                                                                       [ ok ]
 * acx-20060521.tar.bz2 size ;-) ...                                                                                                                                         [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                         [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                        [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                       [ ok ]
 * checking acx-20060521.tar.bz2 ;-) ...                                                                                                                                     [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.19-gentoo-r1
 * Checking for suitable kernel configuration options...                                                                                                                     [ ok ]
>>> Unpacking source...
>>> Unpacking acx-20060521.tar.bz2 to /var/tmp/portage/acx-0.3.35_p20060521/work
 * Applying acx-0.3.35_p20060521-2.6.18.patch ...                                                                                                                            [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/acx-0.3.35_p20060521/work ...
 * Preparing acx module
make: Entering directory `/usr/src/linux-2.6.19-gentoo-r1'
  CC [M]  /var/tmp/portage/acx-0.3.35_p20060521/work/wlan.o
/var/tmp/portage/acx-0.3.35_p20060521/work/wlan.c:40:26: erreur: linux/config.h : Aucun fichier ou r
Comment 1 ade05fr 2006-12-10 00:14:22 UTC
jehamou linux # emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r2 i686)
=================================================================
System uname: 2.6.18-gentoo-r2 i686 Intel(R) Celeron(R) M processor         1500MHz
Gentoo Base System version 1.12.6
Last Sync: Sat, 09 Dec 2006 09:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa_cards_intel8x0 apache2 berkdb bitmap-fonts cli cracklib crypt cups directfb dlloader dri dvd dvdread elibc_glibc fortran gdbm gnome gpm gtk iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kernel_linux libg++ mysql ncurses nls nptl nptlonly pam pcre pdf perl png ppds pppd python readline reflection session spl ssl svg tcpd tiff truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY





jehamou linux # emerge -av acx

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-wireless/acx-0.3.35_p20060521  USE="-debug" 0 kB 

Total size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] y

>>> Emerging (1 of 1) net-wireless/acx-0.3.35_p20060521 to /
 * acx-20060521.tar.bz2 MD5 ;-) ...                                                                                                                                          [ ok ]
 * acx-20060521.tar.bz2 RMD160 ;-) ...                                                                                                                                       [ ok ]
 * acx-20060521.tar.bz2 SHA1 ;-) ...                                                                                                                                         [ ok ]
 * acx-20060521.tar.bz2 SHA256 ;-) ...                                                                                                                                       [ ok ]
 * acx-20060521.tar.bz2 size ;-) ...                                                                                                                                         [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                         [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                        [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                       [ ok ]
 * checking acx-20060521.tar.bz2 ;-) ...                                                                                                                                     [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.19-gentoo-r1
 * Checking for suitable kernel configuration options...                                                                                                                     [ ok ]
>>> Unpacking source...
>>> Unpacking acx-20060521.tar.bz2 to /var/tmp/portage/acx-0.3.35_p20060521/work
 * Applying acx-0.3.35_p20060521-2.6.18.patch ...                                                                                                                            [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/acx-0.3.35_p20060521/work ...
 * Preparing acx module
make: Entering directory `/usr/src/linux-2.6.19-gentoo-r1'
  CC [M]  /var/tmp/portage/acx-0.3.35_p20060521/work/wlan.o
/var/tmp/portage/acx-0.3.35_p20060521/work/wlan.c:40:26: erreur: linux/config.h : Aucun fichier ou répertoire de ce type
  CC [M]  /var/tmp/portage/acx-0.3.35_p20060521/work/conv.o
/var/tmp/portage/acx-0.3.35_p20060521/work/conv.c:33:26: erreur: linux/config.h : Aucun fichier ou répertoire de ce type
make[1]: *** [/var/tmp/portage/acx-0.3.35_p20060521/work/wlan.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [/var/tmp/portage/acx-0.3.35_p20060521/work/conv.o] Error 1
make: *** [_module_/var/tmp/portage/acx-0.3.35_p20060521/work] Error 2
make: Leaving directory `/usr/src/linux-2.6.19-gentoo-r1'

!!! ERROR: net-wireless/acx-0.3.35_p20060521 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called linux-mod_src_compile
  linux-mod.eclass, line 510:   Called die

!!! Unable to make  -C /usr/src/linux SUBDIRS=/var/tmp/portage/acx-0.3.35_p20060521/work modules.
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 2 Matthias Geerdsen (RETIRED) gentoo-dev 2006-12-10 12:30:17 UTC
please do not restrict regular bugs

opening, so bug-wranglers can access it
Comment 3 ade05fr 2006-12-10 13:07:03 UTC
(In reply to comment #1)
> please do not restrict regular bugs
> 
> opening, so bug-wranglers can access it
> 

sorry but it's my first bug reported.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-12-11 01:18:45 UTC
*** Bug 157791 has been marked as a duplicate of this bug. ***
Comment 5 Simon Austin 2006-12-11 16:04:13 UTC
It looks to me (though I'm just a Gentoo newbie) that include/linux/config.h has (as threatened) been removed from the 2.6.19 sources - and acx uses it. I was able to successfully compile and load the module by variously removing the #include lines for that header file, creating the config.h as an empty file or copying it from a 2.6.18 source - but this may be the wrong way to go about things as, under 2.6.19 my card will no longer associate with the access point.

Someone else seems to have it working though: http://forums.gentoo.org/viewtopic-t-521196-highlight-acx.html
Comment 6 azuriel 2006-12-16 16:01:16 UTC
(In reply to comment #4)
> It looks to me (though I'm just a Gentoo newbie) that include/linux/config.h
> has (as threatened) been removed from the 2.6.19 sources - and acx uses it. I
> was able to successfully compile and load the module by variously removing the
> #include lines for that header file, creating the config.h as an empty file or
> copying it from a 2.6.18 source - but this may be the wrong way to go about
> things as, under 2.6.19 my card will no longer associate with the access point.
> 
> Someone else seems to have it working though:
> http://forums.gentoo.org/viewtopic-t-521196-highlight-acx.html
> 

I did the fix reported in that forum post (which is creating a linux/config.h file the same as the one found in previous versions of the sources), and I'm running into the same problem. My wireless card can no longer connect to my network under gentoo-sources-2.6.19-r2 but it works fine with gentoo-sources-2.6.17-r6.
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2006-12-19 15:51:45 UTC
Please patch it in this way:

#include <linux/version.h>
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,18)
#include <linux/config.h>
#endif

and ensure it gets fixed in the stable tree ASAP
Comment 8 Stephen Bennett (RETIRED) gentoo-dev 2006-12-19 18:26:34 UTC
0.3.35_p20060521 has been updated according to Daniel's suggestion, and marked stable on x86. Please test.
Comment 9 ade05fr 2006-12-20 03:36:53 UTC
(In reply to comment #7)
> 0.3.35_p20060521 has been updated according to Daniel's suggestion, and marked
> stable on x86. Please test.
> 
Compilation OK
But when i reboot i have a time out with dhcpcd service

here is what i have (logs from /var/log/messages)

KO with With kernel linux-2.6.19-r2
Dec 20 11:34:43 jehamou dhcpcd[7133]: MAC address = xx:xx:xx:xx:xx:xx
Dec 20 11:34:48 jehamou dhcpcd[7133]: timed out waiting for a valid DHCP server response

OK with With kernel linux-2.6.18-r2
Dec 20 11:38:52 jehamou dhcpcd[7139]: MAC address = xx:xx:xx:xx:xx:xx
Dec 20 11:38:57 jehamou dhcpcd[7139]: verified 192.168.0.101 address is not in use
Dec 20 11:38:57 jehamou dhcpcd[7139]: your IP address = 192.168.0.101
Comment 10 Daniel Drake (RETIRED) gentoo-dev 2006-12-30 17:59:12 UTC
stephen, this may require porting to WE-21 for newer kernels. see http://www.kernel.org/git/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git&a=search&h=HEAD&s=we-21 for some examples
Comment 11 ade05fr 2007-01-05 02:51:12 UTC
does anyone find a solution for this ? currently im still using kernel-2.6.18
Comment 12 Daniel Drake (RETIRED) gentoo-dev 2007-01-07 16:31:16 UTC
Maintainers, this is your 1 week advance warning for 2.6.19 going stable.
Comment 13 Luke 2007-01-19 11:17:37 UTC
It looks like there's a new upstream version:
http://sourceforge.net/mailarchive/forum.php?thread_id=31314478&forum_id=31812
Comment 14 Geoffrey Clements 2007-01-30 23:02:42 UTC
Although acx-0.3.35_p20060521 has been updated with the patch for kernel-2.6.19, gentoo-sources-2.6.19-r5 has just gone stable and acx breaks again with the same problem.
Comment 15 Geoffrey Clements 2007-01-30 23:09:11 UTC
(In reply to comment #14)
> Although acx-0.3.35_p20060521 has been updated with the patch for
> kernel-2.6.19, gentoo-sources-2.6.19-r5 has just gone stable and acx breaks
> again with the same problem.
> 

ooops - my apologies - I have posted to this bug when I should have raised a new one - please ignore my comment - heck it's getting late.
Comment 16 Daniel Drake (RETIRED) gentoo-dev 2007-01-31 15:07:32 UTC

*** This bug has been marked as a duplicate of bug 164624 ***