Opened 13 years ago
Closed 13 years ago
#10725 closed Bug Report - General (Invalid)
Compile files do to pthread undefined reference
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | MythTV - General | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description (last modified by )
My build of the trunk as started failing with the error below. Presumably there is a missing link to the pthread library routines. This began some time after 05/05/2012 and 05/12/2012.
make[1]: Entering directory `/home/km/mythgit/mythtv/mythtv/external/FFmpeg' LD ffmpeg_g libavformat/libmythavformat.so: undefined reference to `pthread_create' libavformat/libmythavformat.so: undefined reference to `pthread_cancel' libavformat/libmythavformat.so: undefined reference to `pthread_join' collect2: ld returned 1 exit status make[1]: *** [ffmpeg_g] Error 1 make[1]: Leaving directory `/home/km/mythgit/mythtv/mythtv/external/FFmpeg' make: *** [external/FFmpeg] Error 2
Change History (1)
Note: See
TracTickets for help on using
tickets.
You need to give us more information than that. We had the same problem on our debian buildbot slave, and the fix was to do:
apt-get build-dep mythtv
(IIRC). Basically, your system libraries are incomplete. If this doesn't work, please let me know, and I'll dig into exactly what packages you are missing.