Re: Errors when compiling anaconda 11.1.1.3

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

 



Hello,

I've checkout anaconda from cvs. I can compile it.

thanks for your help

OIivier

2007/6/1, David Cantrell <dcantrell@xxxxxxxxxx >:
On Thu, 2007-05-31 at 21:13 -0600, William F. Acker WB2FLW
+1-303-722-7209 wrote:
> On Thu, 3 May 2007, Olivier D wrote:
>
> > 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 ?
>
>       An extremely ugly work-around is to revert the kernel-headers package
> on the host system to version 2.6.18-1.2869.fc6.  Anaconda will build, but
> I don't know if it'll work.  My ability to use networking during install
> sessions stopped working around the time of that kernel.  I haven't tried
> networking using the current kernel lately.  While you're rebuilding
> Anaconda, you might want to add libselinux-python to the package list in
> upd-instroot.  That's how I discovered the problem with rebuilding.
>
>       Maybe Jeremy will tell us the right way to rebuild Anaconda now that
> the kernel headers have changed.

Unfortunately, Fedora updates may break the anaconda that was released
with the release of Fedora you are building for.

Basically, anaconda releases are tied to a Fedora release.  They will
build on the release when it goes out.  We do not "maintain" the
anaconda package in a Fedora release as new updates come out.  Almost
always, kernel headers will change slightly and you will see errors like
those above.  When you see these kinds of problems, they almost always
affect rawhide as well, which is where we fix them.

When in doubt, check out anaconda from CVS and use that rather than an
anaconda srpm from a Fedora release.

--
David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Westford, MA

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list



[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