Hi All. Could someone please help me with using the socket API shared lib -
liblwip.so? I tried to compile a small echo server written using lwip socket
API (lwip_socket, lwip_bind etc), but I get some missing symbols. What other
objects should I include in the build, to satisfy the loader? Any hints
appreciated.

Regards,
Dennis.

gcc -g -Wall -fPIC -DIPv4 -DLWIP_DEBUG -I../../../../../lwip/src/include
-I../../../../ports/unix/include -I../../../../../lwip/src/include/ipv4 -I. 
-o echo es.c ../lib/liblwip.so
../lib/liblwip.so: undefined reference to `raw_bind'
../lib/liblwip.so: undefined reference to `ip_reass'
../lib/liblwip.so: undefined reference to `sys_arch_timeouts'
../lib/liblwip.so: undefined reference to `sys_init'
../lib/liblwip.so: undefined reference to `sys_sem_signal'
../lib/liblwip.so: undefined reference to `raw_send'
../lib/liblwip.so: undefined reference to `sys_arch_mbox_fetch'
../lib/liblwip.so: undefined reference to `ip_frag'
../lib/liblwip.so: undefined reference to `raw_input'
../lib/liblwip.so: undefined reference to `sys_sem_new'
../lib/liblwip.so: undefined reference to `sys_mbox_free'
../lib/liblwip.so: undefined reference to `ip_reass_tmr'
../lib/liblwip.so: undefined reference to `sys_sem_free'
../lib/liblwip.so: undefined reference to `ip_frag_init'
../lib/liblwip.so: undefined reference to `raw_connect'
../lib/liblwip.so: undefined reference to `sys_mbox_new'
../lib/liblwip.so: undefined reference to `raw_new'
../lib/liblwip.so: undefined reference to `raw_remove'
../lib/liblwip.so: undefined reference to `sys_thread_new'
../lib/liblwip.so: undefined reference to `raw_recv'
../lib/liblwip.so: undefined reference to `sys_arch_sem_wait'
../lib/liblwip.so: undefined reference to `tapif_init'
../lib/liblwip.so: undefined reference to `sys_mbox_post'
collect2: ld returned 1 exit status
make: *** [echo] Error 1


-- 
View this message in context: 
http://www.nabble.com/Lwip-Socket-Library-tf1921284.html#a5260449
Sent from the lwip-users forum at Nabble.com.



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

Reply via email to