Re: stella build failure on hurd (due to pthreads?)
Stephen Kitt, le Fri 12 Nov 2010 00:39:35 +0100, a écrit :
> /usr/bin/ld: /usr/lib/libSDL.so: undefined reference to symbol 'pthread_cancel'
> /usr/bin/ld: note: 'pthread_cancel' is defined in DSO /lib/libpthread.so.0.3 so try adding it to
> the linker command line
> /lib/libpthread.so.0.3: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
>
> Is this a problem in libsdl1.2-dev or with pthreads, or should I really add
> -lpthread to the build command line?
I actually don't see why it's not finding pthread_cancel. libSDL does
depend on libpthread, so it should get brought in automatically. I've
rescheduled a build, just in case.
Samuel
Reply to: