LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-24-2004, 08:29 AM   #1
azul79
Member
 
Registered: Jul 2004
Location: Argentina
Distribution: slackware
Posts: 39

Rep: Reputation: 15
Angry Compilation error! (@rarp)


hi!
i needed the rarpd so i downloaded it.. (i dont know why did i need to do this.. 'cause in my kernel i set the option of rarp support.. but when i run /sbin/rarpd -a it tells me " this kernel does not suport rarp" )
the readme file of rarp1.0 says libnet is required.. so i installed libnet..
compiled it without error.
but when i compile rarp..
first i run
- ./configure
no errors there..
but when i run
- make
it tells me
root@dodo:/usr/local/src/rarpd-1.0# make
gcc -g -O2 -I/usr/include -I/usr/include -DPACKAGE=\"\" -DVERSION=\"\" -DSTDC_HEADERS=1 -DHAVE_NET
_IF_ARP_H=1 -DHAVE_PCAP_NAMEDB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_CTYPE_H=1 -DHAVE_SYS
_SOCKET_H=1 -DHAVE_ETHER_NTOHOST=1 -c rarpd.c -o rarpd.o
rarpd.c:74: warning: `struct ether_addr' declared inside parameter list
rarpd.c:74: warning: its scope is only this definition or declaration, which is probably not what y
ou want
rarpd.c: In function `send_arpreply':
rarpd.c:148: `ARP_H' undeclared (first use in this function)
rarpd.c:148: (Each undeclared identifier is reported only once
rarpd.c:148: for each function it appears in.)
rarpd.c:148: `ETH_H' undeclared (first use in this function)
rarpd.c: In function `send_rarpreply':
rarpd.c:179: `ARP_H' undeclared (first use in this function)
rarpd.c:179: `ETH_H' undeclared (first use in this function)
rarpd.c: In function `arp_print':
rarpd.c:221: sizeof applied to an incomplete type
rarpd.c:222: sizeof applied to an incomplete type
rarpd.c:226: dereferencing pointer to incomplete type
rarpd.c:227: dereferencing pointer to incomplete type
rarpd.c:228: dereferencing pointer to incomplete type
rarpd.c:232: dereferencing pointer to incomplete type
rarpd.c:232: dereferencing pointer to incomplete type
rarpd.c:233: dereferencing pointer to incomplete type
rarpd.c:233: dereferencing pointer to incomplete type
rarpd.c:239: dereferencing pointer to incomplete type
rarpd.c:251: dereferencing pointer to incomplete type
rarpd.c:255: dereferencing pointer to incomplete type
rarpd.c:256: dereferencing pointer to incomplete type
rarpd.c:263: dereferencing pointer to incomplete type
rarpd.c:266: dereferencing pointer to incomplete type
rarpd.c: In function `main':
rarpd.c:338: warning: assignment makes pointer from integer without a cast
rarpd.c: In function `init_etherarray':
rarpd.c:491: warning: passing arg 2 of `ether_ntohost' from incompatible pointer
make: *** [rarpd.o] Error 1

is this something specifically of rarp or a compilation error?
thks!
 
Old 08-24-2004, 11:15 AM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
That's a compilation error for sure. Check the last line (error1). Don't know what to do though, I can't figure it out with my not so good programming knowledge. Perhaps googling on an error line can find you something
 
  


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
Kernel compilation error: Error 15: File not found Niceman2005 Linux - General 9 10-04-2007 03:45 AM
compilation error Varadharajan Programming 9 02-04-2007 01:56 AM
Compilation error DaBlade Linux - Software 13 05-03-2005 03:45 PM
Sqwebmail compilation error ... [maildirsearchC.o] Error 1 boogie_maan Linux - Software 0 10-26-2002 07:21 PM
rarp question: How can I know its IP address? yuzuohong Linux - Networking 1 07-14-2002 09:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:15 PM.

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