lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] LWIP problem


From: Jukka Rauhala
Subject: [lwip-users] LWIP problem
Date: Wed, 10 Oct 2007 12:45:14 +0300

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]