LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 01-31-2009, 04:13 AM   #1
scoutiilabs
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Rep: Reputation: 0
Trouble compiling


Hello everyone!

I don't know is this the right place to ask this question; but here it goes:

I'm trying to compile echelon for dummies made by Mixter
mixter.void.ru/e4d.tgz and I get the following error while running make:

cia:~/e4d# make
gcc -Wall -O3 -c -o ip.o ip.c
In file included from e4d.h:49,
from ip.c:14:
ip.h:125: error: redefinition of struct in_addr
ip.c: In function resolve:
ip.c:27: warning: implicit declaration of function memcpy
ip.c:27: warning: incompatible implicit declaration of built-in function memcpy
make: *** [ip.o] Error 1

I remember this error from few years back, but somehow I managed to compile the program on other machines, but I still don't know the right solution to fix this.

I am using
Linux cia 2.6.18-6-686 #1 SMP Fri Dec 12 16:48:28 UTC 2008 i686 GNU/Linux
Debian Linux

Last edited by win32sux; 01-31-2009 at 08:17 AM. Reason: Restored moderated URL.
 
Old 01-31-2009, 04:23 AM   #2
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
This thread has been temporarily closed, pending review by the Mod Team.
 
Old 01-31-2009, 08:19 AM   #3
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
The thread has now been re-opened and may proceed as normal.

It's been moved to Programming, as it's not a security issue (but rather a code compilation one).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trouble compiling Sablotron hammer65 Linux - Software 2 06-09-2005 01:20 PM
trouble compiling w/c++ eroica Linux - Software 4 03-09-2005 02:17 PM
trouble compiling fretbrner Slackware 1 01-31-2005 12:30 PM
Trouble compiling anything banZera Slackware 4 04-07-2004 10:19 AM
Trouble with compiling gamehack Debian 3 01-11-2004 08:35 AM


All times are GMT -5. The time now is 11:55 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration