lwip for linux 2.6.x

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

lwip for linux 2.6.x

Dr. Manoj B. S.

Hi:

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
_______________________________________________
lwip-users mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/lwip-users
Reply | Threaded
Open this post in threaded view
|

Re: lwip for linux 2.6.x

e8h3wy
The latest code in the CVS compiles cleanly. I had
similar problems with the archived sources.

Dennis

--- "Dr. Manoj B. S." <[hidden email]> wrote:

> Hi:
>
> 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
> > _______________________________________________
> lwip-users mailing list
> [hidden email]
> http://lists.nongnu.org/mailman/listinfo/lwip-users


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 


_______________________________________________
lwip-users mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/lwip-users