Error when compiling anaconda 11.1.1.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm trying to compile anaconda 11.1.1.3 :

rpmbuild -ba anaconda.spec

I'm getting the following errors about wireless.h :
cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -Werror -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DUSESELINUX=1 -I/usr/include/python2.4 -I.. -DHAVE_NFS -I/usr/include/glib- 2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/libdhcp -I/usr/include/dhcp4client -I/usr/include/dhcp6client   -fPIC -o wireless.lo wireless.c
In file included from wireless.c:29:
/usr/include/linux/wireless.h:636: error: expected specifier-qualifier-list before '__s32'
/usr/include/linux/wireless.h:648: error: expected ':', ',', ';', '}' or '__attribute__' before '*' token
/usr/include/linux/wireless.h:663: error: expected specifier-qualifier-list before '__s32'
/usr/include/linux/wireless.h:674: error: expected specifier-qualifier-list before '__u8'
/usr/include/linux/wireless.h:690: error: expected specifier-qualifier-list before '__u32'
/usr/include/linux/wireless.h:703: error: expected specifier-qualifier-list before '__u32'
/usr/include/linux/wireless.h:730: error: expected specifier-qualifier-list before '__u8'
/usr/include/linux/wireless.h:792: error: expected specifier-qualifier-list before '__u32'
/usr/include/linux/wireless.h:806: error: expected specifier-qualifier-list before '__u16'
/usr/include/linux/wireless.h:820: error: expected specifier-qualifier-list before '__u32'
/usr/include/linux/wireless.h:828: error: expected specifier-qualifier-list before '__u32'
/usr/include/linux/wireless.h:837: error: expected specifier-qualifier-list before '__u32'
/usr/include/linux/wireless.h:849: error: expected specifier-qualifier-list before '__u16'
/usr/include/linux/wireless.h:872: error: 'IFNAMSIZ' undeclared here (not in a function)
/usr/include/linux/wireless.h:887: error: expected specifier-qualifier-list before '__u32'
/usr/include/linux/wireless.h:931: error: expected specifier-qualifier-list before '__u32'
/usr/include/linux/wireless.h:1032: error: expected specifier-qualifier-list before '__u32'
/usr/include/linux/wireless.h:1050: error: expected specifier-qualifier-list before '__u16'
cc1: warnings being treated as errors
wireless.c: In function 'get_wreq':
wireless.c:34: warning: value computed is not used
wireless.c:35: error: 'struct iwreq' has no member named 'ifr_name'
wireless.c:35: error: 'struct iwreq' has no member named 'ifr_name'
wireless.c:35: error: 'struct iwreq' has no member named 'ifr_name'
wireless.c:35: error: 'struct iwreq' has no member named 'ifr_name'
wireless.c: In function 'set_essid':
wireless.c:81: error: 'struct iw_point' has no member named 'flags'
wireless.c:82: error: 'struct iw_point' has no member named 'pointer'
wireless.c:83: error: 'struct iw_point' has no member named 'length'
wireless.c:85: error: 'struct iw_point' has no member named 'flags'
wireless.c:86: error: 'struct iw_point' has no member named 'pointer'
wireless.c:87: error: 'struct iw_point' has no member named 'length'
wireless.c: In function 'get_essid':
wireless.c:108: error: 'struct iw_point' has no member named 'pointer'
wireless.c:109: error: 'struct iw_point' has no member named 'length'
wireless.c:110: error: 'struct iw_point' has no member named 'flags'
wireless.c:120: error: 'struct iw_point' has no member named 'pointer'
wireless.c: In function 'set_wep_key':
wireless.c:193: error: 'union iwreq_data' has no member named 'data'
wireless.c:194: error: 'union iwreq_data' has no member named 'data'
wireless.c:195: error: 'union iwreq_data' has no member named 'data'
wireless.c:198: error: 'union iwreq_data' has no member named 'data'
wireless.c:199: error: 'union iwreq_data' has no member named 'data'
wireless.c:200: error: 'union iwreq_data' has no member named 'data'
wireless.c: In function 'set_managed':
wireless.c:221: error: 'union iwreq_data' has no member named 'mode'
make[1]: *** [wireless.lo] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/anaconda-11.1.1.3/isys '
make: *** [subdirs] Error 1
error: Bad exit status from /var/tmp/rpm- tmp.41753 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.41753 (%build)

infos about /usr/include/linux/wireless.h :
/*
 * This file define a set of standard wireless extensions
 *
 * Version :    20      17.2.06
 *
 * Authors :    Jean Tourrilhes - HPL - <jt@xxxxxxxxxx>
 * Copyright (c) 1997-2006 Jean Tourrilhes, All Rights Reserved.
 */

Any idea ?

Olivier

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux