Troubles during compile

Help
2006-11-22
2013-04-02
  • StijnSpijker

    StijnSpijker - 2006-11-22

    quiet camserv-0.5.1 # make check
    Making check in libltdl
    make[1]: Entering directory `/usr/src/camserv-0.5.1/libltdl'
    make[1]: Nothing to be done for `check'.
    make[1]: Leaving directory `/usr/src/camserv-0.5.1/libltdl'
    Making check in common
    make[1]: Entering directory `/usr/src/camserv-0.5.1/common'
    make[1]: Nothing to be done for `check'.
    make[1]: Leaving directory `/usr/src/camserv-0.5.1/common'
    Making check in camserv
    make[1]: Entering directory `/usr/src/camserv-0.5.1/camserv'
    /bin/sh ../libtool --mode=link gcc  -g -O2   -export-dynamic -o camserv  camconfig.o camserv.o filter.o main_loop.o picture_loop.o shm.o video.o ../libltdl/libltdlc.la ../common/libcommon.a -lnsl -ljpeg -lm
    gcc -g -O2 -o camserv camconfig.o camserv.o filter.o main_loop.o picture_loop.o shm.o video.o -Wl,--export-dynamic  ../libltdl/.libs/libltdlc.al -ldl ../common/libcommon.a -lnsl -ljpeg -lm
    /usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in camserv.o
    /lib/libc.so.6: could not read symbols: Bad value
    collect2: ld returned 1 exit status
    make[1]: *** [camserv] Error 1
    make[1]: Leaving directory `/usr/src/camserv-0.5.1/camserv'
    make: *** [check-recursive] Error 1

    Same thing happens when I do a normal make...
    Any ideas ?

     
  • Brett Graham

    Brett Graham - 2009-12-03

    I ran into this problem also.

    I went through and commented out any line that looked like this:

    extern int errno;

    and adding this to each file that contained the previous line:

    #include <errno.h>

     

Log in to post a comment.