View previous topic :: View next topic |
Author |
Message |
menschmeier l33t
Joined: 15 Dec 2004 Posts: 727
|
Posted: Tue Dec 18, 2007 2:17 pm Post subject: emerge fails for ipw3945 for kernel 2.6.24_rc3 |
|
|
Hi,
I am trying to upgrade from kernel 2.6.22.5 to 2.6.24_rc3.
The problem that occurs is that I can not emerge the wlan driver ipw3945. I used the old config for the new kernel, did a make oldconfig and compiled the new kernel.
The emerge of ipw3945 gave me that output:
Quote: | Using ieee80211 subsystem version API v2 from:
Base: /usr/src/linux/
Path: /usr/src/linux/include/
EXTRA_CFLAGS = -I/usr/src/linux/include/ -DIPW3945_COMPAT=2
mkdir -p /var/tmp/portage/net-wireless/ipw3945-1.2.2/work/ipw3945-1.2.2/tmp/.tmp_versions
make -C /usr/src/linux M=/var/tmp/portage/net-wireless/ipw3945-1.2.2/work/ipw3945-1.2.2 MODVERDIR=/var/tmp/portage/net-wireless/ipw3945-1.2.2/work/ipw3945-1.2.2/tmp/.tmp_versions modules
make[1]: Entering directory `/usr/local/src/linux-2.6.24-rc3'
CC [M] /var/tmp/portage/net-wireless/ipw3945-1.2.2/work/ipw3945-1.2.2/ipw3945.o
/var/tmp/portage/net-wireless/ipw3945-1.2.2/work/ipw3945-1.2.2/ipw3945.c: In function 'ipw_start_association':
/var/tmp/portage/net-wireless/ipw3945-1.2.2/work/ipw3945-1.2.2/ipw3945.c:4444: error: implicit declaration of function 'MAC_ARG'
/var/tmp/portage/net-wireless/ipw3945-1.2.2/work/ipw3945-1.2.2/ipw3945.c:4444: warning: too few arguments for format
/var/tmp/portage/net-wireless/ipw3945-1.2.2/work/ipw3945-1.2.2/ipw3945.c: In function 'ipw_build_tx_cmd_hwcrypto':
/var/tmp/portage/net-wireless/ipw3945-1.2.2/work/ipw3945-1.2.2/ipw3945.c:14931: warning: passing argument 2 of '__memcpy' makes pointer from integer without a cast
/var/tmp/portage/net-wireless/ipw3945-1.2.2/work/ipw3945-1.2.2/ipw3945.c:14931: warning: passing argument 2 of '__builtin_memcpy' makes pointer from integer without a cast
/var/tmp/portage/net-wireless/ipw3945-1.2.2/work/ipw3945-1.2.2/ipw3945.c: In function 'ipw_net_set_mac_address':
/var/tmp/portage/net-wireless/ipw3945-1.2.2/work/ipw3945-1.2.2/ipw3945.c:15217: warning: too few arguments for format
/var/tmp/portage/net-wireless/ipw3945-1.2.2/work/ipw3945-1.2.2/ipw3945.c: In function 'ipw_pci_probe':
/var/tmp/portage/net-wireless/ipw3945-1.2.2/work/ipw3945-1.2.2/ipw3945.c:16594: error: implicit declaration of function 'SET_MODULE_OWNER'
make[2]: *** [/var/tmp/portage/net-wireless/ipw3945-1.2.2/work/ipw3945-1.2.2/ipw3945.o] Error 1
make[1]: *** [_module_/var/tmp/portage/net-wireless/ipw3945-1.2.2/work/ipw3945-1.2.2] Error 2
make[1]: Leaving directory `/usr/local/src/linux-2.6.24-rc3'
make: *** [modules] Error 2
*
* ERROR: net-wireless/ipw3945-1.2.2 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ebuild.sh, line 1383: Called linux-mod_src_compile
* linux-mod.eclass, line 518: 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 KSRC=/usr/src/linux KSRC_OUTPUT=/usr/src/linux SHELL=/bin/bash T=/var/tmp/portage/net-wireless/ipw3945-1.2.2/temp CONFIG_IPW3945_MONITOR=y CONFIG_IEEE80211_RADIOTAP=y CONFIG_IPW3945_PROMISCUOUS=y CONFIG_IPW3945_DEBUG=n all.
*
* 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/ipw3945-1.2.2/temp/build.log'.
|
Maybe the kernel is configured wrong ... Here is a part of my .config:
Quote: | ...
#
# Wireless
#
CONFIG_CFG80211=y
CONFIG_NL80211=y
CONFIG_WIRELESS_EXT=y
# CONFIG_MAC80211 is not set
CONFIG_IEEE80211=y
CONFIG_IEEE80211_DEBUG=y
CONFIG_IEEE80211_CRYPT_WEP=y
CONFIG_IEEE80211_CRYPT_CCMP=y
CONFIG_IEEE80211_CRYPT_TKIP=y
# CONFIG_IEEE80211_SOFTMAC is not set
# CONFIG_RFKILL is not set
# CONFIG_NET_9P is not set
...
#
# Wireless LAN
#
# CONFIG_WLAN_PRE80211 is not set
CONFIG_WLAN_80211=y
# CONFIG_PCMCIA_RAYCS is not set
# CONFIG_IPW2100 is not set
# CONFIG_IPW2200 is not set
# CONFIG_LIBERTAS is not set
# CONFIG_AIRO is not set
# CONFIG_HERMES is not set
# CONFIG_ATMEL is not set
# CONFIG_AIRO_CS is not set
# CONFIG_PCMCIA_WL3501 is not set
# CONFIG_PRISM54 is not set
# CONFIG_USB_ZD1201 is not set
# CONFIG_HOSTAP is not set
...
|
I have no idea what to do?
Thanx for any hints.
menschmeier _________________ Please notice the back of this message. |
|
Back to top |
|
|
x22 Apprentice
Joined: 24 Apr 2006 Posts: 208
|
Posted: Tue Dec 18, 2007 4:42 pm Post subject: |
|
|
Maybe the ipw3945 driver is not compatible with the new kernel.
Try using the newer driver called iwlwifi. It is included in 2.6.24 kernel. |
|
Back to top |
|
|
menschmeier l33t
Joined: 15 Dec 2004 Posts: 727
|
Posted: Fri Dec 21, 2007 4:29 pm Post subject: |
|
|
Hi,
yes I found the new driver an demerge the ipw3945-driver.
Thanx
Menschmeier _________________ Please notice the back of this message. |
|
Back to top |
|
|
|
|
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
|
|