Skip to contentSkip to conversation

compile error compat-wireless-2009-03-29

DISCUSSION Bringfried Stecklum 4 participants 6 messages Mar 29, 2009 – Dec 13, 2010 7 messages not in the archive

lore
Share & tools
lore
#0 lore raw

When trying to compile the latest compat-wireless packagev=20 (2.6.29-20327-g8f2487d) on an Ubuntu 8.10 system running linux kernel 2= =2E6.27-12=20
I get the following error

/home/stecklum/System/src/compat-wireless-2009-03-29/net/mac80211/agg-t= x.c: In=20
function =E2=80=98ieee80211_agg_splice_packets=E2=80=99:
/home/stecklum/System/src/compat-wireless-2009-03-29/net/mac80211/agg-t= x.c:385:=20
error: implicit declaration of function =E2=80=98skb_queue_splice_tail_= init=E2=80=99
make[3]: ***=20 [/home/stecklum/System/src/compat-wireless-2009-03-29/net/mac80211/agg-= tx.o] Error 1
make[2]: *** [/home/stecklum/System/src/compat-wireless-2009-03-29/net/= mac80211]=20
Error 2
make[1]: *** [_module_/home/stecklum/System/src/compat-wireless-2009-03= -29] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-12-mygeneric'
make: *** [modules] Error 2
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw
Quoted 5 lines · Bringfried Stecklum

When trying to compile the latest compat-wireless packagev (2.6.29-20327-g8f2487d) on an Ubuntu 8.10 system running linux kernel 2.6.27-12 I get the following error
=20 /home/stecklum/System/src/compat-wireless-2009-03-29/net/mac80211/agg=

-tx.c:

Quoted 2 lines

In function =E2=80=98ieee80211_agg_splice_packets=E2=80=99:
/home/stecklum/System/src/compat-wireless-2009-03-29/net/mac80211/agg=

-tx.c:385:

Quoted 1 line

error: implicit declaration of function =E2=80=98skb_queue_splice_tai=

l_init=E2=80=99

Quoted 2 lines

make[3]: *** [/home/stecklum/System/src/compat-wireless-2009-03-29/net/mac80211/ag=

g-tx.o]

Quoted 3 lines

Error 1
make[2]: *** [/home/stecklum/System/src/compat-wireless-2009-03-29/net/mac80211] E=

rror 2

Quoted 2 lines

make[1]: *** [_module_/home/stecklum/System/src/compat-wireless-2009-03-29] Error =

2

Quoted 1 line

make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-12-mygeneri=

c'

Quoted 1 line

make: *** [modules] Error 2

Hi,

This is already know. The patch can be found here:
http://marc.info/?l=3Dlinux-wireless&m=3D123825765019764

Hauke
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to Hauke Mehrtens

On Sun, Mar 29, 2009 at 1:33 PM, Hauke Mehrtens <[email protected]> wrot= e:

Quoted 3 lines
Quoted 2 lines · Bringfried Stecklum

When trying to compile the latest compat-wireless packagev (2.6.29-20327-g8f2487d) on an Ubuntu 8.10 system running linux kerne=

l

Quoted 3 lines
Quoted 3 lines

2.6.27-12 I get the following error

/home/stecklum/System/src/compat-wireless-2009-03-29/net/mac80211/ag=

g-tx.c:

Quoted 2 lines
Quoted 2 lines

In function =E2=80=98ieee80211_agg_splice_packets=E2=80=99:
/home/stecklum/System/src/compat-wireless-2009-03-29/net/mac80211/ag=

g-tx.c:385:

Quoted 1 line
Quoted 1 line

error: implicit declaration of function =E2=80=98skb_queue_splice_ta=

il_init=E2=80=99

Quoted 2 lines
Quoted 2 lines

make[3]: *** [/home/stecklum/System/src/compat-wireless-2009-03-29/net/mac80211/a=

gg-tx.o]

Quoted 3 lines
Quoted 3 lines

Error 1
make[2]: *** [/home/stecklum/System/src/compat-wireless-2009-03-29/net/mac80211] =

Error 2

Quoted 2 lines
Quoted 2 lines

make[1]: *** [_module_/home/stecklum/System/src/compat-wireless-2009-03-29] Error=

2

Quoted 1 line
Quoted 1 line

make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-12-mygener=

ic'

Quoted 6 lines
Quoted 1 line

make: *** [modules] Error 2

Hi,

This is already know. The patch can be found here:
http://marc.info/?l=3Dlinux-wireless&m=3D123825765019764

This is now merged, please try now Bringfried.

Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#9 lore raw

Re: iwlcore not in update

In reply to a message not in the archive

Including linux-wireless

Quoted 58 lines · Luis R. Rodriguez
Quoted 23 lines · Bringfried Stecklum

Dear Luis,

I tried to install compat-wireless-2010-12-07 a few days ago but failed. The reason is that iwlcore does not get build and installed in the update modules folder which, of course, leads unresolved symbols

stecklum@extragalactix:~/System/src/compat-wireless-2.6.37-rc5-2-s$ sudo
modprobe -v iwlagn
insmod /lib/modules/2.6.36-1-generic/updates/compat/compat.ko
insmod /lib/modules/2.6.36-1-generic/updates/net/wireless/cfg80211.ko
insmod /lib/modules/2.6.36-1-generic/updates/net/mac80211/mac80211.ko
insmod
/lib/modules/2.6.36-1-generic/kernel/drivers/net/wireless/iwlwifi/iwlcore.ko
WARNING: Error inserting iwlcore
(/lib/modules/2.6.36-1-generic/kernel/drivers/net/wireless/iwlwifi/iwlcore.ko):
Invalid argument
insmod
/lib/modules/2.6.36-1-generic/kernel/drivers/net/wireless/iwlwifi/iwlagn.ko
FATAL: Error inserting iwlagn
(/lib/modules/2.6.36-1-generic/kernel/drivers/net/wireless/iwlwifi/iwlagn.ko):
Unknown symbol in module, or unknown parameter (see
 dmesg)
Quoted 7 lines

It seems I missed a change. In the past (e.g. compat-wireless-2010-05-22 and kernel 2.6.31), iwlcore.ko was build and installed

stecklum@extragalactix:~/System$ locate iwlcore.ko
/lib/modules/2.6.31-22-generic/kernel/drivers/net/wireless/iwlwifi/iwlcore.ko
/lib/modules/2.6.31-22-generic/updates/drivers/net/wireless/iwlwifi/iwlcore.ko
/lib/modules/2.6.36-1-generic/kernel/drivers/net/wireless/iwlwifi/iwlcore.ko

Instead of CONFIG_IWLWIFI we use CONFIG_COMPAT_IWLWIFI, and we changed that the Makefile and config.mk

mcgrof@tux ~/devel/compat-wireless-2.6 (git::linux-2.6.36.y)$ grep _IWLWIFI drivers/net/wireless/iwlwifi/Makefile obj-$(CONFIG_COMPAT_IWLWIFI)    += iwlcore.o iwlcore-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-debugfs.o iwlcore-$(CONFIG_IWLWIFI_DEVICE_TRACING) += iwl-devtrace.o iwlagn-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-agn-debugfs.o iwl3945-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-3945-debugfs.o

mcgrof@tux ~/devel/compat-wireless-2.6 (git::linux-2.6.36.y)$ grep CONFIG_COMPAT_IWLWIFI config.mk
CONFIG_COMPAT_IWLWIFI=m

Can grep like this:

mcgrof@tux ~/tmp/compat-wireless-2.6.37-rc5-4-sn $ grep CONFIG_COMPAT_IWLWIFI include/linux/compat_autoconf.h #ifndef CONFIG_COMPAT_IWLWIFI
#define CONFIG_COMPAT_IWLWIFI 1
#endif /* CONFIG_COMPAT_IWLWIFI *

 Luis

#11 lore raw

Re: iwlcore not in update

In reply to a message not in the archive
Quoted 67 lines · Bringfried Stecklum
Quoted 66 lines · Luis R. Rodriguez
Quoted 32 lines · Bringfried Stecklum

Dear Luis,

I tried to install compat-wireless-2010-12-07 a few days ago but failed. The
reason is that iwlcore does not get build and installed in the update modules folder which, of course, leads unresolved symbols

stecklum@extragalactix:~/System/src/compat-wireless-2.6.37-rc5-2-s$ sudo
modprobe -v iwlagn
insmod /lib/modules/2.6.36-1-generic/updates/compat/compat.ko
insmod /lib/modules/2.6.36-1-generic/updates/net/wireless/cfg80211.ko
insmod /lib/modules/2.6.36-1-generic/updates/net/mac80211/mac80211.ko
insmod

/lib/modules/2.6.36-1-generic/kernel/drivers/net/wireless/iwlwifi/iwlcore.ko
WARNING: Error inserting iwlcore

(/lib/modules/2.6.36-1-generic/kernel/drivers/net/wireless/iwlwifi/iwlcore.ko):
Invalid argument
insmod

/lib/modules/2.6.36-1-generic/kernel/drivers/net/wireless/iwlwifi/iwlagn.ko
FATAL: Error inserting iwlagn

(/lib/modules/2.6.36-1-generic/kernel/drivers/net/wireless/iwlwifi/iwlagn.ko):
Unknown symbol in module, or unknown parameter (see
 dmesg)

It seems I missed a change. In the past (e.g. compat-wireless-2010-05-22 and kernel 2.6.31), iwlcore.ko was build and installed

Quoted 7 lines
stecklum@extragalactix:~/System$ locate iwlcore.ko

/lib/modules/2.6.31-22-generic/kernel/drivers/net/wireless/iwlwifi/iwlcore.ko

/lib/modules/2.6.31-22-generic/updates/drivers/net/wireless/iwlwifi/iwlcore.ko

/lib/modules/2.6.36-1-generic/kernel/drivers/net/wireless/iwlwifi/iwlcore.ko

Instead of CONFIG_IWLWIFI we use CONFIG_COMPAT_IWLWIFI, and we changed that the Makefile and config.mk

mcgrof@tux ~/devel/compat-wireless-2.6 (git::linux-2.6.36.y)$ grep _IWLWIFI drivers/net/wireless/iwlwifi/Makefile obj-$(CONFIG_COMPAT_IWLWIFI)    += iwlcore.o iwlcore-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-debugfs.o iwlcore-$(CONFIG_IWLWIFI_DEVICE_TRACING) += iwl-devtrace.o iwlagn-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-agn-debugfs.o iwl3945-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-3945-debugfs.o

mcgrof@tux ~/devel/compat-wireless-2.6 (git::linux-2.6.36.y)$ grep CONFIG_COMPAT_IWLWIFI config.mk
CONFIG_COMPAT_IWLWIFI=m

Can grep like this:

mcgrof@tux ~/tmp/compat-wireless-2.6.37-rc5-4-sn $ grep CONFIG_COMPAT_IWLWIFI include/linux/compat_autoconf.h #ifndef CONFIG_COMPAT_IWLWIFI
#define CONFIG_COMPAT_IWLWIFI 1
#endif /* CONFIG_COMPAT_IWLWIFI *

Quoted 5 lines
Quoted 2 lines

 Luis

This is all fine and iwlcore.o gets build but at MODPOST stage 2 iwlcore.ko does _not_ get build, and thus still lacks in update.

Hmm, odd. So you usee iwlcore.ko built?

Luis