Hello
I think you're mixing lwIP 0.7.1 and lwIP 1.2.0 files -which is a very bad
idea since the lwIP architecture changed a lot between those two releases.
Please make sure you use either lwIP 0.7.1 or lwIP 1.2.0.
Have a nice day
GSM (fr): +33 66 43 00 555 [Bouygues Telecom] GSM (tr): +90 555 266 52
73 [Avea]
----- Original Message -----
Sent: Wednesday, October 10, 2007 11:45
AM
Subject: [lwip-users] LWIP problem
Hi
I tried to use lwip in my project.I am using lwip
version 0.7.1. I have now liblwip.so file in
lwip-0.7.1/ports/unix/proj/lib/ folder. Lot of warnings but it did it. But
the problem is that if i link liblwip.so file and the includes in my
project and i try to compile my project it says lot of warning in lwip
:( I've checked from nabble.com that if i
do this it should work:
Add $(LWIPDIR)/core/raw.c to COREFILES Add
$(LWIPDIR)/core/ipv4/ip_frag.c to CORE4FILES Add $(LWIPARCH)/*.c and
$(LWIPARCH)/netif/*.c to ARCHFILES Add the macros for enabling/disabling
debugging per module to lwipopts.h
But it doesn't work :(
I did
those and i added defines in lwipopts.h file:
#define DELIF_DEBUG
0 #define SIO_FIFO_DEBUG 0 #define TAPIF_DEBUG 0 #define
TCPDUMP_DEBUG 0 #define TUNIF_DEBUG 0 #define UNIXIF_DEBUG 0
if
i try to compile lwip 0.7.1 it create this liblwip.so file but if i try to
link it in my project it
says:
../linux_lwip_1.2.0/ports/unix/proj/lib/liblwip.so: undefined
reference to `sys_arch_sem_wait'
../linux_lwip_1.2.0/ports/unix/proj/lib/liblwip.so: undefined reference to
`sys_sem_new' ../linux_lwip_1.2.0/ports/unix/proj/lib/liblwip.so: undefined
reference to
`sys_arch_timeouts' ../linux_lwip_1.2.0/ports/unix/proj/lib/liblwip.so:
undefined reference to
`sys_arch_mbox_fetch' ../linux_lwip_1.2.0/ports/unix/proj/lib/liblwip.so:
undefined reference to
`sys_init' ../linux_lwip_1.2.0/ports/unix/proj/lib/liblwip.so: undefined
reference to
`sys_mbox_free' ../linux_lwip_1.2.0/ports/unix/proj/lib/liblwip.so:
undefined reference to
`sys_mbox_post' ../linux_lwip_1.2.0/ports/unix/proj/lib/liblwip.so:
undefined reference to
`sys_thread_new' ../linux_lwip_1.2.0/ports/unix/proj/lib/liblwip.so:
undefined reference to
`sys_sem_free' ../linux_lwip_1.2.0/ports/unix/proj/lib/liblwip.so:
undefined reference to
`tapif_init' ../linux_lwip_1.2.0/ports/unix/proj/lib/liblwip.so: undefined
reference to
`sys_mbox_new' ../linux_lwip_1.2.0/ports/unix/proj/lib/liblwip.so:
undefined reference to `sys_sem_signal'
Anyone have idea what i should
do to get this lwip to work ?? I don't think that there's something wrong
in my project or that makefile.. I think there's something wrong in lwip
or lwip's makefile etc.. :)
Regards Jukka
_______________________________________________ lwip-users mailing
list address@hidden http://lists.nongnu.org/mailman/listinfo/lwip-users
|