Is there anyone who got lwip compile successfully for linux kernel
2.6x?. I am getting some linker problems with version lwip-0.7.1.
Before this, I tried with lwip1.1.1 version, that too gets some
compilation problems.
gcc -g -Wall -Dlinux -DIPv4 -DLWIP_DEBUG -pedantic
-Iapps -I. -I../../../../../lwip-0.7.1/src/include
-I../../../../ports/unix/include
-I../../../../../lwip-0.7.1/src/include/ipv4
-I../../../../../lwip-0.7.1/src -lpcap -lutil -pthread -o simhost
simhost.o liblwipapps.a liblwip4.a
simhost.o(.text+0x84): In function `pppLinkStatusCallback':
/home/bsmanoj/Desktop/LW-IP/contrib-0.7.1-20040319/ports/unix/proj/unixsim/simhost.c:107: undefined reference to `_inet_ntoa'
simhost.o(.text+0xa6):/home/bsmanoj/Desktop/LW-IP/contrib-0.7.1-20040319/ports/unix/proj/unixsim/simhost.c:108:
undefined reference to `_inet_ntoa'
simhost.o(.text+0xc8):/home/bsmanoj/Desktop/LW-IP/contrib-0.7.1-20040319/ports/unix/proj/unixsim/simhost.c:109:
undefined reference to `_inet_ntoa'
simhost.o(.text+0xea):/home/bsmanoj/Desktop/LW-IP/contrib-0.7.1-20040319/ports/unix/proj/unixsim/simhost.c:110:
undefined reference to `_inet_ntoa'
simhost.o(.text+0x10c):/home/bsmanoj/Desktop/LW-IP/contrib-0.7.1-20040319/ports/unix/proj/unixsim/simhost.c:111:
undefined reference to `_inet_ntoa'
collect2: ld returned 1 exit status
make: *** [simhost] Error 1
Any inputs in this will be appreciated.
thanks
sincerely
bsmanoj
-- B. S. Manoj, Ph.D Post Doctoral Researcher Electrical and Computer Engineering University of California San Diego, CA 92093-0436, USA Ph:+1-858-822-2564 (office) +1-716-348-0724 (mobile)
Fax:+1-858-822-4633