You might want to consider building the whole thing in a chroot. It tends
to make everything run a lot smoother than building locally on your
system.
-p.
On Wed, 28 Sep 2005, Brian Long wrote:
On Wed, 2005-09-28 at 10:20 -0400, Brian Long wrote:
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?
Sorry to answer my own post, I narrowed this down to the fact that my
build host has a /usr/bin/gcc shell script due to Oracle crap. This
script was exec'ing gcc323 and it appears it doesn't work all the
time :(
I've successfully build Anaconda with the wrapper script removed. Doh!
/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
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list