LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 12-21-2003, 02:24 AM   #1
luna
LQ Newbie
 
Registered: Mar 2003
Location: Finland
Distribution: Slackware
Posts: 28

Rep: Reputation: 15
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!
 
Old 12-21-2003, 06:58 AM   #2
luna
LQ Newbie
 
Registered: Mar 2003
Location: Finland
Distribution: Slackware
Posts: 28

Original Poster
Rep: Reputation: 15
I did solve it by renaming revoke in libinetutils to revoke1
 
Old 02-19-2004, 10:15 AM   #3
kabniel
LQ Newbie
 
Registered: Aug 2003
Location: Sweden
Distribution: Debian Squeeze
Posts: 27

Rep: Reputation: 15
does anyone know why this error appear?

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
inetutils compile problem rconan Linux From Scratch 3 07-16-2005 02:05 PM
problem installing inetutils sharmashikha Linux From Scratch 8 06-18-2005 10:51 AM
Inetutils and xinted originalusrname Linux - Software 3 07-29-2003 07:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 12:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration