Thanks for your attention, but I got the same error msg: $>g++ -Wall -g -I./libNavigator/include -I./libXR4000/include -I./utils navXR400.o -o navXR400 -L./lib ./lib/libXR4000.so ./lib/libNavigator.so ./lib/libXR4000.so: undefined reference to `errno' ./lib/libXR4000.so: undefined reference to `h_errno' gabriel >>>>>>>>>>>>>>>>>> Hi Gabriel, Do not do this: extern int errno; Do this instead, for C: #include <errno.h> Or this instead, for C++: #include <cerrno> HTH, --Eljay _________________________________________________ Quer ajudar o Brasil e não sabe como? AjudaBrasil: http://www.ajudabrasil.org/mail.html.