Cannot make fileutils

Richard Brust richard at brustfam.com
Fri Mar 1 18:28:33 PST 2002


Book Version:   3.2 RC1
package:        fileutils-4.1
error-msg:      synopsis follows, full details are at bottom of msg
deviation:      yes, I am trying to build everything in a "static" 
directory using the "Keeping chapter 5 and chapter 6 separate (v0.9)" hint

Note, I am subscribed to the list, but if you could cc: me, it would be 
appreciated.

<short>
Machine is a P166 with 48MB mem running RH7.0 in runlevel 3.  I am trying 
to build the LFS on a second hard drive as above (i.e. "static" 
directory).  Everything has worked up to the fileutils-4.1 package.  I have 
used the one from LFS, and downloaded a "new" one from GNU.

Whether or not I run the glibc fix does not matter, it will configure, but 
not make.  The fill error messages are below, the "with patch" errors are 
first, and the "without patch" is second.
</short>

<errors>
*** with patch ***
make[3]: Entering directory 
`/mnt/lfs/static/usr/src/lfs-packages-3.2-rc1/fileutils-4.1/src'
source='chgrp.c' object='chgrp.o' libtool=no \
depfile='.deps/chgrp.Po' tmpdepfile='.deps/chgrp.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DLOCALEDIR=\"/mnt/lfs/static/usr/share/locale\" 
-DSHAREDIR=\"/mnt/lfs/static/usr/share\" -DHAVE_CONFIG_H -I.. -I. -I../lib 
-I../intl    -g -O2 -c -o chgrp.o `test -f chgrp.c || echo './'`chgrp.c
source='chown-core.c' object='chown-core.o' libtool=no \
depfile='.deps/chown-core.Po' tmpdepfile='.deps/chown-core.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DLOCALEDIR=\"/mnt/lfs/static/usr/share/locale\" 
-DSHAREDIR=\"/mnt/lfs/static/usr/share\" -DHAVE_CONFIG_H -I.. -I. -I../lib 
-I../intl    -g -O2 -c -o chown-core.o `test -f chown-core.c || echo 
'./'`chown-core.c
gcc  -g -O2  -static -o chgrp  chgrp.o chown-core.o ../lib/libfetish.a
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc.a(atexit.o): In 
function `atexit':
/usr/src/bs/BUILD/glibc-2.1.92/stdlib/atexit.c:27: multiple definition of 
`atexit'
../lib/libfetish.a(atexit.o):/mnt/lfs/static/usr/src/lfs-packages-3.2-rc1/fileutils-4.1/lib/atexit.c:9: 
first defined here
/usr/bin/ld: Warning: size of symbol `atexit' changed from 20 to 38 in atexit.o
collect2: ld returned 1 exit status
make[3]: *** [chgrp] Error 1
make[3]: Leaving directory 
`/mnt/lfs/static/usr/src/lfs-packages-3.2-rc1/fileutils-4.1/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/mnt/lfs/static/usr/src/lfs-packages-3.2-rc1/fileutils-4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/mnt/lfs/static/usr/src/lfs-packages-3.2-rc1/fileutils-4.1'
make: *** [all] Error 2
[richard at basementpc fileutils-4.1]$


*** without patch ***
source='savedir.c' object='savedir.o' libtool=no \
depfile='.deps/savedir.Po' tmpdepfile='.deps/savedir.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DLIBDIR=\"/mnt/lfs/static/usr/lib\" -DHAVE_CONFIG_H -I.. -I. 
-I../intl    -g -O2 -c -o savedir.o `test -f savedir.c || echo './'`savedir.c
source='sha.c' object='sha.o' libtool=no \
depfile='.deps/sha.Po' tmpdepfile='.deps/sha.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DLIBDIR=\"/mnt/lfs/static/usr/lib\" -DHAVE_CONFIG_H -I.. -I. 
-I../intl    -g -O2 -c -o sha.o `test -f sha.c || echo './'`sha.c
source='stripslash.c' object='stripslash.o' libtool=no \
depfile='.deps/stripslash.Po' tmpdepfile='.deps/stripslash.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DLIBDIR=\"/mnt/lfs/static/usr/lib\" -DHAVE_CONFIG_H -I.. -I. 
-I../intl    -g -O2 -c -o stripslash.o `test -f stripslash.c || echo 
'./'`stripslash.c
source='unicodeio.c' object='unicodeio.o' libtool=no \
depfile='.deps/unicodeio.Po' tmpdepfile='.deps/unicodeio.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DLIBDIR=\"/mnt/lfs/static/usr/lib\" -DHAVE_CONFIG_H -I.. -I. 
-I../intl    -g -O2 -c -o unicodeio.o `test -f unicodeio.c || echo 
'./'`unicodeio.c
gcc: installation problem, cannot exec `as': Cannot allocate memory
../depcomp: /bin/rm: Cannot allocate memory
make[3]: *** [unicodeio.o] Error 1
make[3]: Leaving directory 
`/mnt/lfs/static/usr/src/lfs-packages-3.2-rc1/fileutils-4.1/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/mnt/lfs/static/usr/src/lfs-packages-3.2-rc1/fileutils-4.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/mnt/lfs/static/usr/src/lfs-packages-3.2-rc1/fileutils-4.1'
make: *** [all] Error 2
[richard at basementpc fileutils-4.1]$
</errors>

Richard Brust
Durham, NH. USA
richard at brustfam.com

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list