Re: RHEL 3 U5 Anaconda Rebuild Build Error

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

 



On Tue, 2005-09-27 at 17:18 -0400, Brian Long wrote:
> I'm trying to rebuild and patch anaconda-9.1.5.8 from RHEL 3 U5.  While
> in the isys subdirectory, I get the following error.  I'm not a gcc or
> diet guru.  Any ideas how I fix this?
> 
> cc -ffunction-sections -I/usr/include/python2.2 -I.. -Wall -Os -g  -DHAVE_NFS -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Werror   -c -o ethtool.o ethtool.c
> ar rv libisys.a ethtool.o
> a - ethtool.o
> cc -ffunction-sections -I/usr/include/python2.2 -I.. -Wall -Os -g  -DHAVE_NFS -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Werror   -c -o getipaddr.o getipaddr.c
> ar rv libisys.a getipaddr.o
> a - getipaddr.o
> diet cc -c -ffunction-sections -I/usr/include/python2.2 -I.. -Wall -Os -g  -DHAVE_NFS -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Werror -DGZLIB=1 -DDIET=1 "-Du_char=unsigned char" -o nfsmount.do nfsmount.c
> gcc323: cannot specify -o with -c or -S and multiple compilations
> make[1]: *** [nfsmount.do] Error 1
> make[1]: Leaving directory `/auto/linux/sandbox/brilong/ciscolinux/anaconda/RHEL3-AS.update5/SRPM/anaconda/BUILD/anaconda-9.1.5.8/isys'
> make: *** [subdirs] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.73098 (%build)

I get the same error when building Anaconda 9.1.6.7 (U6 beta).  Is this
happening because RHEL 3 is not built on RHEL 3, so an older gcc is
being used by Red Hat?  Maybe the newer gcc in RHEL 3 shows this error
but the Red Hat build system for RHEL 3 does not?

/Brian/

-- 
       Brian Long                      |         |           |
       IT Data Center Systems          |       .|||.       .|||.
       Cisco Linux Developer           |   ..:|||||||:...:|||||||:..
       Phone: (919) 392-7363           |   C i s c o   S y s t e m s


[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