OSCeleton make error MAC OSX Mavericks 10.9.4

Skip to first unread message

Casber U

Sep 7, 2014, 5:04:24 AM9/7/14
to osce...@googlegroups.com
Dear who can help:

I am using the kinect model 1414, and using synapse first to test my kinect using in the updated OSX
it works well after I follow the instruction from Glen (http://blog.nelga.com/setup-microsoft-kinect-on-mac-os-x-10-9-mavericks/)

However, when I want to extend its usage on using OSCeleton, and follow the step to make the OSCeleton execution file in terminal 
the error appear, the log is like the below, can any expert help and at least let me know what happen, it is really appreciated!!!


cd liblo-0.26-modified;./configure;make

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... ./install-sh -c -d

checking for gawk... no

checking for mawk... no

checking for nawk... no

checking for awk... awk

checking whether make sets $(MAKE)... yes

checking for gcc... gcc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables... 

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking for style of include used by make... GNU

checking dependency style of gcc... gcc3

checking build system type... i386-apple-darwin13.3.0

checking host system type... i386-apple-darwin13.3.0

checking for a sed that does not truncate output... /usr/bin/sed

checking for grep that handles long lines and -e... /usr/bin/grep

checking for egrep... /usr/bin/grep -E

checking for fgrep... /usr/bin/grep -F

checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld

checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no

checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm

checking the name lister (/usr/bin/nm) interface... BSD nm

checking whether ln -s works... yes

checking the maximum length of command line arguments... 196608

checking whether the shell understands some XSI constructs... yes

checking whether the shell understands "+="... yes

checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r

checking how to recognize dependent libraries... pass_all

checking for ar... ar

checking for strip... strip

checking for ranlib... ranlib

checking command to parse /usr/bin/nm output from gcc object... ok

checking for dsymutil... dsymutil

checking for nmedit... nmedit

checking for lipo... lipo

checking for otool... otool

checking for otool64... no

checking for -single_module linker flag... yes

checking for -exported_symbols_list linker flag... yes

checking how to run the C preprocessor... gcc -E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking for dlfcn.h... yes

checking for objdir... .libs

checking if gcc supports -fno-rtti -fno-exceptions... yes

checking for gcc option to produce PIC... -fno-common -DPIC

checking if gcc PIC flag -fno-common -DPIC works... yes

checking if gcc static flag -static works... no

checking if gcc supports -c -o file.o... yes

checking if gcc supports -c -o file.o... (cached) yes

checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes

checking dynamic linker characteristics... darwin13.3.0 dyld

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... yes

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... no

checking whether gcc and cc understand -c and -o together... yes

checking for doxygen... no

checking for pthread_create in -lpthread... yes

checking for library containing recvfrom... none required

checking for log... yes

checking for ANSI C header files... (cached) yes

checking netdb.h usability... yes

checking netdb.h presence... yes

checking for netdb.h... yes

checking netinet/in.h usability... yes

checking netinet/in.h presence... yes

checking for netinet/in.h... yes

checking for stdlib.h... (cached) yes

checking for string.h... (cached) yes

checking sys/socket.h usability... yes

checking sys/socket.h presence... yes

checking for sys/socket.h... yes

checking for unistd.h... (cached) yes

checking for an ANSI C-conforming const... yes

checking for size_t... yes

checking for select... yes

checking for poll... yes

checking for inet_aton... yes

checking whether byte ordering is bigendian... no

configure: creating ./config.status

config.status: creating Makefile

config.status: creating src/Makefile

config.status: creating src/tools/Makefile

config.status: creating examples/Makefile

config.status: creating lo/Makefile

config.status: creating lo/lo_endian.h

config.status: creating liblo.pc

config.status: creating doc/Makefile

config.status: creating doc/reference.doxygen

config.status: creating build/Makefile

config.status: creating config.h

config.status: config.h is unchanged

config.status: executing depfiles commands

config.status: executing libtool commands

/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive

Making all in src

Making all in .

/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -I.. -g -O2 -MT liblo_la-address.lo -MD -MP -MF .deps/liblo_la-address.Tpo -c -o liblo_la-address.lo `test -f 'address.c' || echo './'`address.c

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -g -O2 -MT liblo_la-address.lo -MD -MP -MF .deps/liblo_la-address.Tpo -c address.c  -fno-common -DPIC -o .libs/liblo_la-address.o

mv -f .deps/liblo_la-address.Tpo .deps/liblo_la-address.Plo

/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -I.. -g -O2 -MT liblo_la-send.lo -MD -MP -MF .deps/liblo_la-send.Tpo -c -o liblo_la-send.lo `test -f 'send.c' || echo './'`send.c

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -g -O2 -MT liblo_la-send.lo -MD -MP -MF .deps/liblo_la-send.Tpo -c send.c  -fno-common -DPIC -o .libs/liblo_la-send.o

mv -f .deps/liblo_la-send.Tpo .deps/liblo_la-send.Plo

/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -I.. -g -O2 -MT liblo_la-message.lo -MD -MP -MF .deps/liblo_la-message.Tpo -c -o liblo_la-message.lo `test -f 'message.c' || echo './'`message.c

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -g -O2 -MT liblo_la-message.lo -MD -MP -MF .deps/liblo_la-message.Tpo -c message.c  -fno-common -DPIC -o .libs/liblo_la-message.o

message.c:388:27: warning: sizeof on array function parameter will return size

      of 'uint8_t *' (aka 'unsigned char *') instead of 'uint8_t [4]'


    memcpy(nptr, a, sizeof(a));


/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_string.h:65:38: note: 

      expanded from macro 'memcpy'

  __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest))


message.c:380:47: note: declared here

int lo_message_add_midi(lo_message m, uint8_t a[4])


message.c:388:28: warning: 'memcpy' call operates on objects of type 'uint8_t'

      (aka 'unsigned char') while the size is based on a different type

      'uint8_t *' (aka 'unsigned char *') [-Wsizeof-pointer-memaccess]

    memcpy(nptr, a, sizeof(a));

                 ~         ^

message.c:388:28: note: did you mean to provide an explicit length?

    memcpy(nptr, a, sizeof(a));


2 warnings generated.

mv -f .deps/liblo_la-message.Tpo .deps/liblo_la-message.Plo

/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -I.. -g -O2 -MT liblo_la-server.lo -MD -MP -MF .deps/liblo_la-server.Tpo -c -o liblo_la-server.lo `test -f 'server.c' || echo './'`server.c

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -g -O2 -MT liblo_la-server.lo -MD -MP -MF .deps/liblo_la-server.Tpo -c server.c  -fno-common -DPIC -o .libs/liblo_la-server.o

mv -f .deps/liblo_la-server.Tpo .deps/liblo_la-server.Plo

/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -I.. -g -O2 -MT liblo_la-method.lo -MD -MP -MF .deps/liblo_la-method.Tpo -c -o liblo_la-method.lo `test -f 'method.c' || echo './'`method.c

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -g -O2 -MT liblo_la-method.lo -MD -MP -MF .deps/liblo_la-method.Tpo -c method.c  -fno-common -DPIC -o .libs/liblo_la-method.o

mv -f .deps/liblo_la-method.Tpo .deps/liblo_la-method.Plo

/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -I.. -g -O2 -MT liblo_la-server_thread.lo -MD -MP -MF .deps/liblo_la-server_thread.Tpo -c -o liblo_la-server_thread.lo `test -f 'server_thread.c' || echo './'`server_thread.c

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -g -O2 -MT liblo_la-server_thread.lo -MD -MP -MF .deps/liblo_la-server_thread.Tpo -c server_thread.c  -fno-common -DPIC -o .libs/liblo_la-server_thread.o

mv -f .deps/liblo_la-server_thread.Tpo .deps/liblo_la-server_thread.Plo

/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -I.. -g -O2 -MT liblo_la-blob.lo -MD -MP -MF .deps/liblo_la-blob.Tpo -c -o liblo_la-blob.lo `test -f 'blob.c' || echo './'`blob.c

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -g -O2 -MT liblo_la-blob.lo -MD -MP -MF .deps/liblo_la-blob.Tpo -c blob.c  -fno-common -DPIC -o .libs/liblo_la-blob.o

mv -f .deps/liblo_la-blob.Tpo .deps/liblo_la-blob.Plo

/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -I.. -g -O2 -MT liblo_la-bundle.lo -MD -MP -MF .deps/liblo_la-bundle.Tpo -c -o liblo_la-bundle.lo `test -f 'bundle.c' || echo './'`bundle.c

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -g -O2 -MT liblo_la-bundle.lo -MD -MP -MF .deps/liblo_la-bundle.Tpo -c bundle.c  -fno-common -DPIC -o .libs/liblo_la-bundle.o

mv -f .deps/liblo_la-bundle.Tpo .deps/liblo_la-bundle.Plo

/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -I.. -g -O2 -MT liblo_la-timetag.lo -MD -MP -MF .deps/liblo_la-timetag.Tpo -c -o liblo_la-timetag.lo `test -f 'timetag.c' || echo './'`timetag.c

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -g -O2 -MT liblo_la-timetag.lo -MD -MP -MF .deps/liblo_la-timetag.Tpo -c timetag.c  -fno-common -DPIC -o .libs/liblo_la-timetag.o

mv -f .deps/liblo_la-timetag.Tpo .deps/liblo_la-timetag.Plo

/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -I.. -g -O2 -MT liblo_la-pattern_match.lo -MD -MP -MF .deps/liblo_la-pattern_match.Tpo -c -o liblo_la-pattern_match.lo `test -f 'pattern_match.c' || echo './'`pattern_match.c

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -g -O2 -MT liblo_la-pattern_match.lo -MD -MP -MF .deps/liblo_la-pattern_match.Tpo -c pattern_match.c  -fno-common -DPIC -o .libs/liblo_la-pattern_match.o

mv -f .deps/liblo_la-pattern_match.Tpo .deps/liblo_la-pattern_match.Plo

/bin/sh ../libtool --tag=CC   --mode=link gcc -Wall -I.. -g -O2 -export-dynamic -version-info 7:0:0  -o liblo.la -rpath /usr/local/lib liblo_la-address.lo liblo_la-send.lo liblo_la-message.lo liblo_la-server.lo liblo_la-method.lo liblo_la-server_thread.lo liblo_la-blob.lo liblo_la-bundle.lo liblo_la-timetag.lo liblo_la-pattern_match.lo -lpthread -lpthread 

libtool: link: rm -fr  .libs/liblo.7.dylib .libs/liblo.7.dylib.dSYM .libs/liblo.dylib .libs/liblo.la .libs/liblo.lai

libtool: link: gcc -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/liblo.7.dylib  .libs/liblo_la-address.o .libs/liblo_la-send.o .libs/liblo_la-message.o .libs/liblo_la-server.o .libs/liblo_la-method.o .libs/liblo_la-server_thread.o .libs/liblo_la-blob.o .libs/liblo_la-bundle.o .libs/liblo_la-timetag.o .libs/liblo_la-pattern_match.o   -lpthread    -install_name  /usr/local/lib/liblo.7.dylib -compatibility_version 8 -current_version 8.0 -Wl,-single_module

libtool: link: dsymutil .libs/liblo.7.dylib || :

libtool: link: (cd ".libs" && rm -f "liblo.dylib" && ln -s "liblo.7.dylib" "liblo.dylib")

libtool: link: ( cd ".libs" && rm -f "liblo.la" && ln -s "../liblo.la" "liblo.la" )

gcc -DHAVE_CONFIG_H -I. -I..    -Wall -I.. -g -O2 -MT testlo-testlo.o -MD -MP -MF .deps/testlo-testlo.Tpo -c -o testlo-testlo.o `test -f 'testlo.c' || echo './'`testlo.c

mv -f .deps/testlo-testlo.Tpo .deps/testlo-testlo.Po

/bin/sh ../libtool --tag=CC   --mode=link gcc -Wall -I.. -g -O2   -o testlo testlo-testlo.o liblo.la -lpthread 

libtool: link: gcc -Wall -I.. -g -O2 -o .libs/testlo testlo-testlo.o  ./.libs/liblo.dylib -lpthread

gcc -DHAVE_CONFIG_H -I. -I..    -Wall -I.. -g -O2 -MT subtest-subtest.o -MD -MP -MF .deps/subtest-subtest.Tpo -c -o subtest-subtest.o `test -f 'subtest.c' || echo './'`subtest.c

mv -f .deps/subtest-subtest.Tpo .deps/subtest-subtest.Po

/bin/sh ../libtool --tag=CC   --mode=link gcc -Wall -I.. -g -O2   -o subtest subtest-subtest.o liblo.la -lpthread 

libtool: link: gcc -Wall -I.. -g -O2 -o .libs/subtest subtest-subtest.o  ./.libs/liblo.dylib -lpthread

Making all in tools

Making all in .

gcc -DHAVE_CONFIG_H -I. -I../..     -g -O2 -MT oscsend-oscsend.o -MD -MP -MF .deps/oscsend-oscsend.Tpo -c -o oscsend-oscsend.o `test -f 'oscsend.c' || echo './'`oscsend.c

mv -f .deps/oscsend-oscsend.Tpo .deps/oscsend-oscsend.Po

/bin/sh ../../libtool --tag=CC   --mode=link gcc  -g -O2   -o oscsend oscsend-oscsend.o ../liblo.la -lpthread 

libtool: link: gcc -g -O2 -o .libs/oscsend oscsend-oscsend.o  ../.libs/liblo.dylib -lpthread

gcc -DHAVE_CONFIG_H -I. -I../..     -g -O2 -MT oscdump-oscdump.o -MD -MP -MF .deps/oscdump-oscdump.Tpo -c -o oscdump-oscdump.o `test -f 'oscdump.c' || echo './'`oscdump.c

mv -f .deps/oscdump-oscdump.Tpo .deps/oscdump-oscdump.Po

/bin/sh ../../libtool --tag=CC   --mode=link gcc  -g -O2   -o oscdump oscdump-oscdump.o ../liblo.la -lpthread 

libtool: link: gcc -g -O2 -o .libs/oscdump oscdump-oscdump.o  ../.libs/liblo.dylib -lpthread

Making all in examples

gcc -DHAVE_CONFIG_H -I. -I..    -Wall -I.. -g -O2 -MT example_server.o -MD -MP -MF .deps/example_server.Tpo -c -o example_server.o example_server.c

example_server.c:57:2: warning: implicit declaration of function 'usleep' is

      invalid in C99 [-Wimplicit-function-declaration]



1 warning generated.

mv -f .deps/example_server.Tpo .deps/example_server.Po

/bin/sh ../libtool --tag=CC   --mode=link gcc -Wall -I.. -g -O2   -o example_server example_server.o ../src/liblo.la -lpthread 

libtool: link: gcc -Wall -I.. -g -O2 -o .libs/example_server example_server.o  ../src/.libs/liblo.dylib -lpthread

gcc -DHAVE_CONFIG_H -I. -I..    -Wall -I.. -g -O2 -MT example_client.o -MD -MP -MF .deps/example_client.Tpo -c -o example_client.o example_client.c

mv -f .deps/example_client.Tpo .deps/example_client.Po

/bin/sh ../libtool --tag=CC   --mode=link gcc -Wall -I.. -g -O2   -o example_client example_client.o ../src/liblo.la -lpthread 

libtool: link: gcc -Wall -I.. -g -O2 -o .libs/example_client example_client.o  ../src/.libs/liblo.dylib -lpthread

gcc -DHAVE_CONFIG_H -I. -I..    -Wall -I.. -g -O2 -MT nonblocking_server_example.o -MD -MP -MF .deps/nonblocking_server_example.Tpo -c -o nonblocking_server_example.o nonblocking_server_example.c

mv -f .deps/nonblocking_server_example.Tpo .deps/nonblocking_server_example.Po

/bin/sh ../libtool --tag=CC   --mode=link gcc -Wall -I.. -g -O2   -o nonblocking_server_example nonblocking_server_example.o ../src/liblo.la -lpthread 

libtool: link: gcc -Wall -I.. -g -O2 -o .libs/nonblocking_server_example nonblocking_server_example.o  ../src/.libs/liblo.dylib -lpthread

Making all in lo

make[3]: Nothing to be done for `all'.

Making all in build

make[3]: Nothing to be done for `all'.

g++ src/OSCeleton.cpp src/viewer.cpp -O3 -Wno-write-strings -Iliblo-0.26-modified -I/usr/X11/include -I/usr/include/ni -lOpenNI -lstdc++ -L/usr/X11/lib -lGL -lGLU -lglut liblo-0.26-modified/src/.libs/*.o -o osceleton

src/OSCeleton.cpp:547:33: warning: format specifies type 'int *' but the

      argument has type 'char **' [-Wformat]

                        if(sscanf(argv[arg+1], "%d", &PORT) == EOF ) {

                                                ~~   ^~~~~

1 warning generated.

src/viewer.cpp:83:2: warning: 'gluOrtho2D' is deprecated: first deprecated in OS

      X 10.9 - "Use GLKMatrix4MakeOrtho" [-Wdeprecated-declarations]

        gluOrtho2D(0.0, width, height, 0.0);


/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:276:13: note: 

      'gluOrtho2D' declared here

extern void gluOrtho2D (GLdouble left, GLdouble right, GLdouble bottom, ...


1 warning generated.

ld: library not found for -lOpenNI

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [osceleton] Error 1



Nov 24, 2014, 7:46:35 PM11/24/14
to osce...@googlegroups.com
Bump, I got this problem too.
Reply all
Reply to author
0 new messages