Llhorian
11-16-2000, 07:37 AM
I want to give LFS (Linux From Scratch) a try so I downloaded all the packages and started compile as per the instructions but fileutils gives me errors and then abors the make process.
It gives the following errors:
dircolors.c:40: macro `strndup' used without args
make[2]: *** [dircolors.o] Error 1
make[2]: Leaving directory `/lfs/usr/src/fileutils-4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/lfs/usr/src/fileutils-4.0'
make: *** [all-recursive-am] Error 2
So..what did I do wrong?
The command I gave was exactly following the instructions:
./configure --disable-nls --prefix=/lfs/usr --bindir=/lfs/bin &&
make LDFLAGS=-static &&
make install &&
cd /lfs/usr/bin && ln -s ../../bin/install install
------------------
--Llhorian
'Linux, it's a little bit different.'
It gives the following errors:
dircolors.c:40: macro `strndup' used without args
make[2]: *** [dircolors.o] Error 1
make[2]: Leaving directory `/lfs/usr/src/fileutils-4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/lfs/usr/src/fileutils-4.0'
make: *** [all-recursive-am] Error 2
So..what did I do wrong?
The command I gave was exactly following the instructions:
./configure --disable-nls --prefix=/lfs/usr --bindir=/lfs/bin &&
make LDFLAGS=-static &&
make install &&
cd /lfs/usr/bin && ln -s ../../bin/install install
------------------
--Llhorian
'Linux, it's a little bit different.'