Advertisement
Guest User

Untitled

a guest
May 5th, 2012
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. cc -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -Wall -g -DHAVE_LIBOPENMAX=2 -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST -DUSE_VCHIQ_ARM -Wno-psabi -I/opt/vc/include/ -I/opt/vc/include/ -I./ -I../libs -g -c triangle.c -o triangle.o -Wno-deprecated-declarations
  2. cc -o hello_triangle.bin -Wl,--whole-archive -L/opt/vc/lib/ -lGLESv2 -lEGL -lopenmaxil -lbcm_host -lvcos ../libs/libilclient.a triangle.o -Wl,--no-whole-archive -rdynamic
  3. /usr/bin/ld: ../libs/libilclient.a(ilclient.o): undefined reference to symbol 'sem_post@@GLIBC_2.4'
  4. /usr/bin/ld: note: 'sem_post@@GLIBC_2.4' is defined in DSO /lib/libpthread.so.0 so try adding it to the linker command line
  5. /lib/libpthread.so.0: could not read symbols: Invalid operation
  6. collect2: ld returned 1 exit status
  7. make: *** [hello_triangle.bin] Error 1
  8. rm triangle.o
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement