fileutils problems

Brian Noble bnoble at turbolinux.com
Wed Oct 24 16:40:09 PDT 2001


I am having problems getting the fileutils software to compile properly.
It consistently fails on the 'make LDFLAGS=-static' command.  The error
(which I will include as a file output in an attachment) refers to the
"atexit" definition.  Specifically, it complains of a multiple
definition of atexit.  I have tried this on multiple systems with the
same effect and I am using the commands retrieved from the lfs.org ftp
server.

The system I am trying it on at present is a full distribution of
Turbolinux 6.5 server on a white box containing a 466Mz Celeron proc,
128Mb RAM, 12Gb disk.  I have a 7Gb partition for my lfs system, the
kernel is 2.2.18-2, glibc is 2.1.3.

One of the things I don't understand is why the 'mutliple
definition of atexit' error refers to a directory
(/usr/src/turbo/BUILD/glibc-2.1.3/stdlib/atexit.c) that does not exist.

I am not a programmer, nor have I used the lfs procedures before this,
so if I did not provide enough (or the right) information, please let me
know and I will try to forward it along.

Please at lesat cc back to me directly as I am not on the mailing list.
Thanks. 

Brian
-- 
Brian Noble
bnoble at turbolinux.com
............................................................................
You can't turn back the clock. But you can wind it up again. -Bonnie
Prudden, fitness trainer and author (1914- )

-------------- next part --------------
checking for locale.h... (cached) yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getcwd... (cached) yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... (cached) yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating intl/Makefile
config.status: creating lib/Makefile
config.status: creating man/Makefile
config.status: creating m4/Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating tests/chgrp/Makefile
config.status: creating tests/chmod/Makefile
config.status: creating tests/cp/Makefile
config.status: creating tests/dd/Makefile
config.status: creating tests/du/Makefile
config.status: creating tests/dircolors/Makefile
config.status: creating tests/install/Makefile
config.status: creating tests/ln/Makefile
config.status: creating tests/ls/Makefile
config.status: creating tests/ls-2/Makefile
config.status: creating tests/mkdir/Makefile
config.status: creating tests/mv/Makefile
config.status: creating tests/rm/Makefile
config.status: creating tests/rmdir/Makefile
config.status: creating tests/shred/Makefile
config.status: creating tests/touch/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: linking ./intl/libgettext.h to intl/libintl.h
make  all-recursive
make[1]: Entering directory `/mnt/lfs/usr/src/sources/f/fileutils-4.1'
Making all in lib
make[2]: Entering directory `/mnt/lfs/usr/src/sources/f/fileutils-4.1/lib'
make  all-am
make[3]: Entering directory `/mnt/lfs/usr/src/sources/f/fileutils-4.1/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/mnt/lfs/usr/src/sources/f/fileutils-4.1/lib'
make[2]: Leaving directory `/mnt/lfs/usr/src/sources/f/fileutils-4.1/lib'
Making all in intl
make[2]: Entering directory `/mnt/lfs/usr/src/sources/f/fileutils-4.1/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/lfs/usr/src/sources/f/fileutils-4.1/intl'
Making all in src
make[2]: Entering directory `/mnt/lfs/usr/src/sources/f/fileutils-4.1/src'
make  all-am
make[3]: Entering directory `/mnt/lfs/usr/src/sources/f/fileutils-4.1/src'
gcc  -g -O2  -static -o chgrp  chgrp.o chown-core.o ../lib/libfetish.a 
/usr/lib/libc.a(atexit.o): In function `atexit':
/usr/src/turbo/BUILD/glibc-2.1.3/stdlib/atexit.c:28: multiple definition of `atexit'
../lib/libfetish.a(atexit.o):/mnt/lfs/usr/src/sources/f/fileutils-4.1/lib/atexit.c:9: first defined here
/usr/bin/ld: Warning: size of symbol `atexit' changed from 26 to 42 in atexit.o
collect2: ld returned 1 exit status
make[3]: *** [chgrp] Error 1
make[3]: Leaving directory `/mnt/lfs/usr/src/sources/f/fileutils-4.1/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/mnt/lfs/usr/src/sources/f/fileutils-4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/lfs/usr/src/sources/f/fileutils-4.1'
make: *** [all] Error 2


More information about the lfs-support mailing list