- Mon Jun 12, 2006 1:09 pm
#14437
Hi there,
I'd like to build this on OSX however run into this when I make...
gcc -g -O2 -o openocd openocd.o ../src/xsvf/libxsvf.a ../src/target/libtarget.a ../src/jtag/libjtag.a ../src/helper/libhelper.a ../src/server/libserver.a ../src/helper/libhelper.a ../src/flash/libflash.a ../src/target/libtarget.a
ld: Undefined symbols:
_strndup
make[3]: *** [openocd] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Any ideas? This is with either GCC 4 or 3.3.
Thanks, Andy.
I'd like to build this on OSX however run into this when I make...
gcc -g -O2 -o openocd openocd.o ../src/xsvf/libxsvf.a ../src/target/libtarget.a ../src/jtag/libjtag.a ../src/helper/libhelper.a ../src/server/libserver.a ../src/helper/libhelper.a ../src/flash/libflash.a ../src/target/libtarget.a
ld: Undefined symbols:
_strndup
make[3]: *** [openocd] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Any ideas? This is with either GCC 4 or 3.3.
Thanks, Andy.