Build fails on 2.6.16 Fedora kernel

Dave Jenkins <[email protected]> Thu, 30 Mar 2006 14:22:08 +0100 (BST)
Newsgroups gmane.linux.linux-wlan.user
Message-ID <[email protected]>
Hi,

Build failed with:
linux-wlan-ng-0.2.3 or current trunk
kernel-2.6.16-1.2069_FC4
gcc-4.0.2-8.fc4

Extracts from logs follow.

Dave

============
make config:
============
-------------- Linux WLAN Configuration Script -------------

The default responses are correct for most users.

Build Prism2.x PCMCIA Card Services (_cs) driver? (y/n) [y]: n
Build Prism2 PLX9052 based PCI (_plx) adapter driver? (y/n) [n]: n
Build Prism2.5 native PCI (_pci) driver? (y/n) [n]: n
Build Prism2.5 USB (_usb) driver? (y/n) [n]: y

Linux source directory [/lib/modules/2.6.16-1.2069_FC4/build]: 
The kernel source tree is version 2.6.16-1.2069_FC4.
Kernel 2.5/2.6 support is highly experimental.
The current kernel build date is Tue Mar 28 12:19:10 2006.

Alternate target install root directory on host []:   
Module install directory [/lib/modules/2.6.16-1.2069_FC4]: 
It looks like you have a System V init file setup.


Prefix for build host compiler? (rarely needed) []: 
Build for debugging (see doc/config.debug) (y/n) [n]: 

Configuration successful.  Now type 'make' and pray.

=========
make all: 11683 lines of output, edited highlights:
=========
make[2]: Entering directory
`/home/davej/linux-wlan/linux-wlan-ng-0.2.3/src/mkmeta'
gcc -E -M -I../include -I/lib/modules/2.6.16-1.2069_FC4/build/include
-D__LINUX_WLAN__ ../shared/p80211types.c ../shared/p80211metamsg.c
../shared/p80211metamib.c ../shared/p80211meta.c  mkmetadef.c
../shared/p80211types.c ../shared/p80211metamsg.c
../shared/p80211metamib.c ../shared/p80211meta.c  mkmetastruct.c >
.depend
mkdir -p obj
gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -Wundef
-I../include -I/lib/modules/2.6.16-1.2069_FC4/build/include
-D__LINUX_WLAN__ ../shared/p80211types.c -o obj/p80211types.o
In file included from ../shared/p80211types.c:96:
../include/wlan/wlan_compat.h:146:7: warning: "WLAN_HOSTIF" is not
defined
../include/wlan/wlan_compat.h:146:22: warning: "WLAN_PCI" is not
defined
../include/wlan/wlan_compat.h:147:7: warning: "WLAN_SYSARCH" is not
defined
../include/wlan/wlan_compat.h:147:39: warning: "WLAN_SYSARCH" is not
defined
../include/wlan/wlan_compat.h:147:70: warning: "WLAN_SYSARCH" is not
defined
../include/wlan/wlan_compat.h:230:6: warning: "LINUX_VERSION_CODE" is
not defined
../include/wlan/wlan_compat.h:664:6: warning: "WLAN_CPU_FAMILY" is not
defined
../include/wlan/wlan_compat.h:668:6: warning: "WLAN_CPU_FAMILY" is not
defined
../shared/p80211types.c: In function ‘p80211_totext_displaystr’:
../shared/p80211types.c:253: warning: pointer targets in passing
argument 2 of ‘__builtin_strncat’ differ in signedness
../shared/p80211types.c: In function ‘p80211_fromtext_displaystr’:
../shared/p80211types.c:341: warning: pointer targets in passing
argument 1 of ‘__builtin_strncpy’ differ in signedness
...
make[4]: Entering directory `/usr/src/kernels/2.6.16-1.2069_FC4-i686'
  CC [M] 
/home/davej/linux-wlan/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_usb.o
In file included from
/home/davej/linux-wlan/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_usb.c:2:
/home/davej/linux-wlan/linux-wlan-ng-0.2.3/src/prism2/driver/hfa384x_usb.c:117:26:
error: wlan/version.h: No such file or directory
/home/davej/linux-wlan/linux-wlan-ng-0.2.3/src/prism2/driver/hfa384x_usb.c:138:30:
error: wlan/wlan_compat.h: No such file or directory
/home/davej/linux-wlan/linux-wlan-ng-0.2.3/src/prism2/driver/hfa384x_usb.c:140:6:
warning: "WLAN_USB" is not defined
/home/davej/linux-wlan/linux-wlan-ng-0.2.3/src/prism2/driver/hfa384x_usb.c:140:21:
warning: "WLAN_USB" is not defined
/home/davej/linux-wlan/linux-wlan-ng-0.2.3/src/prism2/driver/hfa384x_usb.c:166:30:
error: wlan/p80211types.h: No such file or directory
/home/davej/linux-wlan/linux-wlan-ng-0.2.3/src/prism2/driver/hfa384x_usb.c:167:28:
error: wlan/p80211hdr.h: No such file or directory
/home/davej/linux-wlan/linux-wlan-ng-0.2.3/src/prism2/driver/hfa384x_usb.c:168:29:
error: wlan/p80211mgmt.h: No such file or directory
/home/davej/linux-wlan/linux-wlan-ng-0.2.3/src/prism2/driver/hfa384x_usb.c:169:29:
error: wlan/p80211conv.h: No such file or directory
/home/davej/linux-wlan/linux-wlan-ng-0.2.3/src/prism2/driver/hfa384x_usb.c:170:28:
error: wlan/p80211msg.h: No such file or directory
/home/davej/linux-wlan/linux-wlan-ng-0.2.3/src/prism2/driver/hfa384x_usb.c:171:31:
error: wlan/p80211netdev.h: No such file or directory
/home/davej/linux-wlan/linux-wlan-ng-0.2.3/src/prism2/driver/hfa384x_usb.c:172:28:
error: wlan/p80211req.h: No such file or directory
/home/davej/linux-wlan/linux-wlan-ng-0.2.3/src/prism2/driver/hfa384x_usb.c:173:32:
error: wlan/p80211metadef.h: No such file or directory
/home/davej/linux-wlan/linux-wlan-ng-0.2.3/src/prism2/driver/hfa384x_usb.c:174:35:
error: wlan/p80211metastruct.h: No such file or directory
/home/davej/linux-wlan/linux-wlan-ng-0.2.3/src/prism2/driver/hfa384x_usb.c:175:28:
error: prism2/hfa384x.h: No such file or directory
/home/davej/linux-wlan/linux-wlan-ng-0.2.3/src/prism2/driver/hfa384x_usb.c:176:31:
error: prism2/prism2mgmt.h: No such file or directory



		
___________________________________________________________ 
NEW Yahoo! Cars - sell your car and browse thousands of new and used cars online! http://uk.cars.yahoo.com/