Fileutils-4.0 Static compilation error

Gerard Beekmans gerard at linuxfromscratch.org
Wed Aug 16 20:02:49 PDT 2000


> I'm experimenting.  The base system is a Caldera technology preview
> developer release.  I'm using LFS-2.3.7
> 
> base system includes:
> 
> gcc 2.95.2
> glibc 2.1.91
> 
> I get the following error when doing the initial static compile of
> fileutils-4.0
> 
> gcc -DLOCALEDIR=\"/usr/share/locale\" -DSHAREDIR=\"/usr/share\" -DHAVE_CONFI
> G_H -I.. -I. -I../lib -I../intl    -O3 -mcpu=i586 -march=i586 -c dircolors.c
> dircolors.c:40: macro `strndup' used without args
> make[2]: *** [dircolors.o] Error 1
> make[2]: Leaving directory `/lfs/usr/src/f/fileutils-4.0/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/lfs/usr/src/f/fileutils-4.0'
> make: *** [all-recursive-am] Error 2
> [root at miscanthus fileutils-4.0]#

Open dircolors.c, go to line 40, remove the line or comment it out.
Recompile. Repeat action for all such errors

I guess glibc-2.1.91 (isn't it glibc-2.2 beta?) changes a few C
standards once again.

-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-
--
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