Problem with Step 7.2.3

Tyrin Price tyrin at tscnet.com
Sat Jul 15 19:32:39 PDT 2000


I am trying to follow the LFS HOWTO on the Linux Documentation Project
site and ran into the following error when trying to compile diffutils
...

[root at straylight]: /mnt/lfs/usr/src/diffutils-2.7 # make -e LDFLAGS=-static
gcc -o diff -g -O -static diff.o analyze.o cmpbuf.o dir.o io.o util.o context.o
ed.o ifdef.o normal.o side.o fnmatch.o getopt.o getopt1.o regex.o version.o
/usr/lib/libc.a(regex.o): In function `init_syntax_once':
/tmp/glibc-2.1.2/posix/regex.c:180: multiple definition of `re_max_failures'
regex.o:/mnt/lfs/usr/src/diffutils-2.7/regex.c:112: first defined here
collect2: ld returned 1 exit status
make: *** [diff] Error 1

Is there a step I am missing in order to compile difutils with static
links?

My base linux system is Slackware 7.0, BTW.


Regards,

-=[Ty]=-  http://www2.tscnet.com/~tyrin

--
=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=
Nostalgia ain't what it used to be.
=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=
--
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)



More information about the lfs-dev mailing list