LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Inetutils-1.4.2 (https://www.linuxquestions.org/questions/linux-from-scratch-13/inetutils-1-4-2-a-127739/)

luna 12-21-2003 02:24 AM

Inetutils-1.4.2
 
Hi!

I'm building the CVS-20031217 version of LFS using the NPTL hint. That means that I also use the
cvs version (20031221) of glibc. Everything goes fine until I try to build Inetutils-1.4.2. I get the
following error message:
Code:

Making all in libinetutils
make[2]: Entering directory `/sources/inetutils-1.4.2/libinetutils'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPATH_WTMPX=\"/var/log/wtmpx\"    -I../include    -g -O2 -MT revoke.o -MD -MP -MF ".deps/revoke.Tpo" \
  -c -o revoke.o `test -f 'revoke.c' || echo './'`revoke.c; \
then mv ".deps/revoke.Tpo" ".deps/revoke.Po"; \
else rm -f ".deps/revoke.Tpo"; exit 1; \
fi
revoke.c:15: error: conflicting types for `revoke'
/usr/include/unistd.h:810: error: previous declaration of `revoke'
make[2]: *** [revoke.o] Error 1
make[2]: Leaving directory `/sources/inetutils-1.4.2/libinetutils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/inetutils-1.4.2'
make: *** [all] Error 2

Any solutions?

Thanks!

luna 12-21-2003 06:58 AM

I did solve it by renaming revoke in libinetutils to revoke1

kabniel 02-19-2004 10:15 AM

does anyone know why this error appear?

i got it too, when using the 2.6 kernel hint for LFS 5.0


All times are GMT -5. The time now is 04:39 PM.