List Info

Thread: Build fails on 2.6.16 Fedora kernel




Build fails on 2.6.16 Fedora kernel
user name
2006-03-30 13:22:08
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/
_______________________________________________
Linux-wlan-user mailing list
Linux-wlan-userlists.linux-wlan.com
http://lists.linux-wlan.com/mailman/listinfo/linux-w
lan-user
Build fails on 2.6.16 Fedora kernel
user name
2006-03-30 14:18:00
Yeah, the build also fails on the 2.6.15/16 FC5 kernel. This
has been
discussed on the linux-wlan-devel list, see
http://lists.linux-wlan.com/pipermai
l/linux-wlan-devel/2006-February/003557.
html for a patch that will resolve this problem. 


Regards,
David


-----Original Message-----
From: linux-wlan-user-bounceslists.linux-wlan.com
[mailto:linux-wlan-user-bounceslists.linux-wlan.com] On
Behalf Of Dave
Jenkins
Sent: 30 March 2006 07:22
To: linux-wlan-userlists.linux-wlan.com
Subject: [lwlan-user] Build fails on 2.6.16 Fedora kernel

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:1
17: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:1
38: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:1
40:6:
warning: "WLAN_USB" is not defined
/home/davej/linux-wlan/linux-wlan-ng-0.2.3/src/prism2/driver
/hfa384x_usb.c:1
40:21:
warning: "WLAN_USB" is not defined
/home/davej/linux-wlan/linux-wlan-ng-0.2.3/src/prism2/driver
/hfa384x_usb.c:1
66: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:1
67: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:1
68: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:1
69: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:1
70: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:1
71: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:1
72: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:1
73: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:1
74: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:1
75: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:1
76: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/
_______________________________________________
Linux-wlan-user mailing list
Linux-wlan-userlists.linux-wlan.com
http://lists.linux-wlan.com/mailman/listinfo/linux-w
lan-user

_______________________________________________
Linux-wlan-user mailing list
Linux-wlan-userlists.linux-wlan.com
http://lists.linux-wlan.com/mailman/listinfo/linux-w
lan-user
Build fails on 2.6.16 Fedora kernel
user name
2006-03-30 18:34:04
On Thu, Mar 30, 2006 at 02:22:08PM +0100, Dave Jenkins
wrote:
> 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

No p80211 build, and then these go nuts.  It looks like the
semantics of 
kbuild changed, yet again.  sigh.  I'm looking into this
now.  Normally 
I'm fairly adventureous when it comes to newer kernels, but
I've been 
using 2.6.15[.x] for a while now.

Does this happen with the stock kernel.org 2.6.16, or is
this a 
Fedora-specific breakage?

 - Solomon
-- 
Solomon Peachy                        solomonlinux-wlan.com
AbsoluteValue Systems                 http://www.linux-wlan.com
721-D North Drive                     +1 (321) 259-0737 
(office)
Melbourne, FL 32934                   +1 (321) 259-0286 
(fax)
_______________________________________________
Linux-wlan-user mailing list
Linux-wlan-userlists.linux-wlan.com
http://lists.linux-wlan.com/mailman/listinfo/linux-w
lan-user
Build fails on 2.6.16 Fedora kernel
user name
2006-03-30 19:09:56
On Thu, Mar 30, 2006 at 01:34:04PM -0500, Solomon Peachy
wrote:
> Does this happen with the stock kernel.org 2.6.16, or
is this a 
> Fedora-specific breakage?

It looks like this breakage is specific to the Fedora
2.6.16-1.2069_FC4 
kernel.  Stock kernel.org 2.6.16.1 doesn't show this
problem.

 - Solomon
-- 
Solomon Peachy                        solomonlinux-wlan.com
AbsoluteValue Systems                 http://www.linux-wlan.com
721-D North Drive                     +1 (321) 259-0737 
(office)
Melbourne, FL 32934                   +1 (321) 259-0286 
(fax)
_______________________________________________
Linux-wlan-user mailing list
Linux-wlan-userlists.linux-wlan.com
http://lists.linux-wlan.com/mailman/listinfo/linux-w
lan-user
Build fails on 2.6.16 Fedora kernel
user name
2006-03-30 19:39:33
It's curious, because the 2.6.16-1.2080_FC5 kernel for
Fedora Core 5 (which
was released a couple of weeks ago) doesn't seem to have
this problem.
Out-of-the-box linux-wlan-ng 0.2.3 won't compile against
the above kernels
without the aforementioned patch. I can't see why it should
compile against
the Fedora kernel and not against the kernel.org kernel as
the code base
should be pretty much the same.


Regards,
David


-----Original Message-----
From: linux-wlan-user-bounceslists.linux-wlan.com
[mailto:linux-wlan-user-bounceslists.linux-wlan.com] On
Behalf Of Solomon
Peachy
Sent: 30 March 2006 13:10
To: Dave Jenkins; linux-wlan-userlists.linux-wlan.com
Subject: Re: [lwlan-user] Build fails on 2.6.16 Fedora
kernel

On Thu, Mar 30, 2006 at 01:34:04PM -0500, Solomon Peachy
wrote:
> Does this happen with the stock kernel.org 2.6.16, or
is this a 
> Fedora-specific breakage?

It looks like this breakage is specific to the Fedora
2.6.16-1.2069_FC4
kernel.  Stock kernel.org 2.6.16.1 doesn't show this
problem.

 - Solomon
-- 
Solomon Peachy                        solomonlinux-wlan.com
AbsoluteValue Systems                 http://www.linux-wlan.com
721-D North Drive                     +1 (321) 259-0737 
(office)
Melbourne, FL 32934                   +1 (321) 259-0286 
(fax)

_______________________________________________
Linux-wlan-user mailing list
Linux-wlan-userlists.linux-wlan.com
http://lists.linux-wlan.com/mailman/listinfo/linux-w
lan-user
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )