On Sun, 13 Feb 2011, Olav wrote:
I am doing a cross-compile, and I'm getting some undefined symbols.
main.c:(.text+0x194): undefined reference to `__strdup' main.c:(.text+0x808): undefined reference to `__ctype_b_loc' main.c:(.text+0xb9c): undefined reference to `__ctype_b_loc'
To me it looks like your compiler/linker doesn't use libc automatically, so you probably need to add -lc to the link command line.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
