LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Trouble compiling (https://www.linuxquestions.org/questions/programming-9/trouble-compiling-701200/)

scoutiilabs 01-31-2009 04:13 AM

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

win32sux 01-31-2009 04:23 AM

This thread has been temporarily closed, pending review by the Mod Team.

win32sux 01-31-2009 08:19 AM

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).


All times are GMT -5. The time now is 01:38 AM.