Michael Buesch wrote:
On Monday 28 November 2005 21:19, you wrote:
--- /home/lothwen/Makefile 2005-11-28 21:02:09.000000000 +0000
+++ ./Makefile 2005-11-28 21:02:56.000000000 +0000
@@ -46,6 +46,7 @@
install -d $(INCPATH)/net
install -m 644 -c net/ieee80211softmac.h $(INCPATH)/net
install -m 644 -c net/ieee80211softmac_wx.h $(INCPATH)/net
+ install -m 644 -c net/ieee80211softmac_priv.h $(INCPATH)/net
/sbin/depmod -a
This is wrong wrong wrong and I can not see how this is supposed to solve the
MODULE_LICENSE issue, as the private softmac file has exactly nothing to do
with the driver (it is not even included).
I thought a little bit about the issue, and I came to the conclusion that there
might be something wrong with your kbuild.
Run
make V=1
and post the results here.
Maybe MODULE is not defined or something like that.
I did a complete reload of 2.6.15-rc2, recompiled the kernel and the
softmac and bcm430x modules. Same result as before.
The results of 'make V=1' are as follows: (FYI, I am using gcc 4.0.2)
linux:~/bcm43xx/driver # make V=1
make -C /lib/modules/2.6.15-rc2/build M=/root/bcm43xx/driver modules
make[1]: Entering directory `/root/linux-2.6.15-rc2'
mkdir -p /root/bcm43xx/driver/.tmp_versions
make -f scripts/Makefile.build obj=/root/bcm43xx/driver
gcc -m32 -Wp,-MD,/root/bcm43xx/driver/.bcm430x_main.o.d -nostdinc
-isystem /usr/lib/gcc/i586-suse-linux/4.0.2/include -D__KERNEL__
-Iinclude -include include/linux/autoconf.h -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-ffreestanding -O2 -fno-omit-frame-pointer
-fno-optimize-sibling-calls -g -pipe -msoft-float
-mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=athlon
-Iinclude/asm-i386/mach-default -Wdeclaration-after-statement
-Wno-pointer-sign -O2 -DBCM430x_DEBUG -DBCM430x_VERSION=0.0.1
-I/lib/modules/2.6.15-rc2/include -I -DMODULE
-DKBUILD_BASENAME=bcm430x_main -DKBUILD_MODNAME=bcm430x -c -o
/root/bcm43xx/driver/bcm430x_main.o /root/bcm43xx/driver/bcm430x_main.c
/root/bcm43xx/driver/bcm430x_main.c:641: warning:
‘bcm430x_short_slot_timing_disable’ defined but not used
/root/bcm43xx/driver/bcm430x_main.c:3667: warning:
‘bcm430x_ieee80211_link_change’ defined but not used
gcc -m32 -Wp,-MD,/root/bcm43xx/driver/.bcm430x_dma.o.d -nostdinc
-isystem /usr/lib/gcc/i586-suse-linux/4.0.2/include -D__KERNEL__
-Iinclude -include include/linux/autoconf.h -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-ffreestanding -O2 -fno-omit-frame-pointer
-fno-optimize-sibling-calls -g -pipe -msoft-float
-mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=athlon
-Iinclude/asm-i386/mach-default -Wdeclaration-after-statement
-Wno-pointer-sign -O2 -DBCM430x_DEBUG -DBCM430x_VERSION=0.0.1
-I/lib/modules/2.6.15-rc2/include -I -DMODULE
-DKBUILD_BASENAME=bcm430x_dma -DKBUILD_MODNAME=bcm430x -c -o
/root/bcm43xx/driver/bcm430x_dma.o /root/bcm43xx/driver/bcm430x_dma.c
gcc -m32 -Wp,-MD,/root/bcm43xx/driver/.bcm430x_debugfs.o.d -nostdinc
-isystem /usr/lib/gcc/i586-suse-linux/4.0.2/include -D__KERNEL__
-Iinclude -include include/linux/autoconf.h -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-ffreestanding -O2 -fno-omit-frame-pointer
-fno-optimize-sibling-calls -g -pipe -msoft-float
-mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=athlon
-Iinclude/asm-i386/mach-default -Wdeclaration-after-statement
-Wno-pointer-sign -O2 -DBCM430x_DEBUG -DBCM430x_VERSION=0.0.1
-I/lib/modules/2.6.15-rc2/include -I -DMODULE
-DKBUILD_BASENAME=bcm430x_debugfs -DKBUILD_MODNAME=bcm430x -c -o
/root/bcm43xx/driver/bcm430x_debugfs.o
/root/bcm43xx/driver/bcm430x_debugfs.c
gcc -m32 -Wp,-MD,/root/bcm43xx/driver/.bcm430x_radio.o.d -nostdinc
-isystem /usr/lib/gcc/i586-suse-linux/4.0.2/include -D__KERNEL__
-Iinclude -include include/linux/autoconf.h -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-ffreestanding -O2 -fno-omit-frame-pointer
-fno-optimize-sibling-calls -g -pipe -msoft-float
-mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=athlon
-Iinclude/asm-i386/mach-default -Wdeclaration-after-statement
-Wno-pointer-sign -O2 -DBCM430x_DEBUG -DBCM430x_VERSION=0.0.1
-I/lib/modules/2.6.15-rc2/include -I -DMODULE
-DKBUILD_BASENAME=bcm430x_radio -DKBUILD_MODNAME=bcm430x -c -o
/root/bcm43xx/driver/bcm430x_radio.o /root/bcm43xx/driver/bcm430x_radio.c
gcc -m32 -Wp,-MD,/root/bcm43xx/driver/.bcm430x_phy.o.d -nostdinc
-isystem /usr/lib/gcc/i586-suse-linux/4.0.2/include -D__KERNEL__
-Iinclude -include include/linux/autoconf.h -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-ffreestanding -O2 -fno-omit-frame-pointer
-fno-optimize-sibling-calls -g -pipe -msoft-float
-mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=athlon
-Iinclude/asm-i386/mach-default -Wdeclaration-after-statement
-Wno-pointer-sign -O2 -DBCM430x_DEBUG -DBCM430x_VERSION=0.0.1
-I/lib/modules/2.6.15-rc2/include -I -DMODULE
-DKBUILD_BASENAME=bcm430x_phy -DKBUILD_MODNAME=bcm430x -c -o
/root/bcm43xx/driver/bcm430x_phy.o /root/bcm43xx/driver/bcm430x_phy.c
gcc -m32 -Wp,-MD,/root/bcm43xx/driver/.bcm430x_power.o.d -nostdinc
-isystem /usr/lib/gcc/i586-suse-linux/4.0.2/include -D__KERNEL__
-Iinclude -include include/linux/autoconf.h -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-ffreestanding -O2 -fno-omit-frame-pointer
-fno-optimize-sibling-calls -g -pipe -msoft-float
-mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=athlon
-Iinclude/asm-i386/mach-default -Wdeclaration-after-statement
-Wno-pointer-sign -O2 -DBCM430x_DEBUG -DBCM430x_VERSION=0.0.1
-I/lib/modules/2.6.15-rc2/include -I -DMODULE
-DKBUILD_BASENAME=bcm430x_power -DKBUILD_MODNAME=bcm430x -c -o
/root/bcm43xx/driver/bcm430x_power.o /root/bcm43xx/driver/bcm430x_power.c
gcc -m32 -Wp,-MD,/root/bcm43xx/driver/.bcm430x_wx.o.d -nostdinc
-isystem /usr/lib/gcc/i586-suse-linux/4.0.2/include -D__KERNEL__
-Iinclude -include include/linux/autoconf.h -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-ffreestanding -O2 -fno-omit-frame-pointer
-fno-optimize-sibling-calls -g -pipe -msoft-float
-mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=athlon
-Iinclude/asm-i386/mach-default -Wdeclaration-after-statement
-Wno-pointer-sign -O2 -DBCM430x_DEBUG -DBCM430x_VERSION=0.0.1
-I/lib/modules/2.6.15-rc2/include -I -DMODULE
-DKBUILD_BASENAME=bcm430x_wx -DKBUILD_MODNAME=bcm430x -c -o
/root/bcm43xx/driver/bcm430x_wx.o /root/bcm43xx/driver/bcm430x_wx.c
/root/bcm43xx/driver/bcm430x_wx.c:216: warning:
‘bcm430x_wx_set_sensitivity’ defined but not used
/root/bcm43xx/driver/bcm430x_wx.c:226: warning:
‘bcm430x_wx_get_sensitivity’ defined but not used
/root/bcm43xx/driver/bcm430x_wx.c:330: warning: ‘bcm430x_wx_set_apmac’
defined but not used
/root/bcm43xx/driver/bcm430x_wx.c:340: warning: ‘bcm430x_wx_get_apmac’
defined but not used
/root/bcm43xx/driver/bcm430x_wx.c:362: warning: ‘bcm430x_wx_set_essid’
defined but not used
/root/bcm43xx/driver/bcm430x_wx.c:372: warning: ‘bcm430x_wx_get_essid’
defined but not used
/root/bcm43xx/driver/bcm430x_wx.c:722: warning: ‘bcm430x_wx_set_retry’
defined but not used
/root/bcm43xx/driver/bcm430x_wx.c:732: warning: ‘bcm430x_wx_get_retry’
defined but not used
/root/bcm43xx/driver/bcm430x_wx.c:772: warning: ‘bcm430x_wx_set_power’
defined but not used
/root/bcm43xx/driver/bcm430x_wx.c:782: warning: ‘bcm430x_wx_get_power’
defined but not used
gcc -m32 -Wp,-MD,/root/bcm43xx/driver/.bcm430x_pio.o.d -nostdinc
-isystem /usr/lib/gcc/i586-suse-linux/4.0.2/include -D__KERNEL__
-Iinclude -include include/linux/autoconf.h -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-ffreestanding -O2 -fno-omit-frame-pointer
-fno-optimize-sibling-calls -g -pipe -msoft-float
-mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=athlon
-Iinclude/asm-i386/mach-default -Wdeclaration-after-statement
-Wno-pointer-sign -O2 -DBCM430x_DEBUG -DBCM430x_VERSION=0.0.1
-I/lib/modules/2.6.15-rc2/include -I -DMODULE
-DKBUILD_BASENAME=bcm430x_pio -DKBUILD_MODNAME=bcm430x -c -o
/root/bcm43xx/driver/bcm430x_pio.o /root/bcm43xx/driver/bcm430x_pio.c
gcc -m32 -Wp,-MD,/root/bcm43xx/driver/.bcm430x_ilt.o.d -nostdinc
-isystem /usr/lib/gcc/i586-suse-linux/4.0.2/include -D__KERNEL__
-Iinclude -include include/linux/autoconf.h -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-ffreestanding -O2 -fno-omit-frame-pointer
-fno-optimize-sibling-calls -g -pipe -msoft-float
-mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=athlon
-Iinclude/asm-i386/mach-default -Wdeclaration-after-statement
-Wno-pointer-sign -O2 -DBCM430x_DEBUG -DBCM430x_VERSION=0.0.1
-I/lib/modules/2.6.15-rc2/include -I -DMODULE
-DKBUILD_BASENAME=bcm430x_ilt -DKBUILD_MODNAME=bcm430x -c -o
/root/bcm43xx/driver/bcm430x_ilt.o /root/bcm43xx/driver/bcm430x_ilt.c
ld -m elf_i386 -m elf_i386 -r -o /root/bcm43xx/driver/bcm430x.o
/root/bcm43xx/driver/bcm430x_main.o /root/bcm43xx/driver/bcm430x_dma.o
/root/bcm43xx/driver/bcm430x_debugfs.o
/root/bcm43xx/driver/bcm430x_radio.o /root/bcm43xx/driver/bcm430x_phy.o
/root/bcm43xx/driver/bcm430x_power.o /root/bcm43xx/driver/bcm430x_wx.o
/root/bcm43xx/driver/bcm430x_pio.o /root/bcm43xx/driver/bcm430x_ilt.o
Building modules, stage 2.
make -rR -f /root/linux-2.6.15-rc2/scripts/Makefile.modpost
scripts/mod/modpost -i /root/linux-2.6.15-rc2/Module.symvers
vmlinux /root/bcm43xx/driver/bcm430x.o
*** Warning: "free_ieee80211softmac" [/root/bcm43xx/driver/bcm430x.ko]
undefined!
*** Warning: "ieee80211softmac_wx_trigger_scan"
[/root/bcm43xx/driver/bcm430x.ko] undefined!
*** Warning: "alloc_ieee80211softmac" [/root/bcm43xx/driver/bcm430x.ko]
undefined!
gcc -m32 -Wp,-MD,/root/bcm43xx/driver/.bcm430x.mod.o.d -nostdinc
-isystem /usr/lib/gcc/i586-suse-linux/4.0.2/include -D__KERNEL__
-Iinclude -include include/linux/autoconf.h -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-ffreestanding -O2 -fno-omit-frame-pointer
-fno-optimize-sibling-calls -g -pipe -msoft-float
-mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=athlon
-Iinclude/asm-i386/mach-default -Wdeclaration-after-statement
-Wno-pointer-sign -DKBUILD_BASENAME=bcm430x -DKBUILD_MODNAME=bcm430x
-DMODULE -c -o /root/bcm43xx/driver/bcm430x.mod.o
/root/bcm43xx/driver/bcm430x.mod.c
ld -m elf_i386 -m elf_i386 -r -o /root/bcm43xx/driver/bcm430x.ko
/root/bcm43xx/driver/bcm430x.o /root/bcm43xx/driver/bcm430x.mod.o
make[1]: Leaving directory `/root/linux-2.6.15-rc2'
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
http://lists.berlios.de/mailman/listinfo/bcm43xx-dev