Opened 9 years ago

Closed 9 years ago

#10725 closed Bug Report - General (Invalid)

Compile files do to pthread undefined reference

Reported by: km@… Owned by:
Priority: minor Milestone: unknown
Component: MythTV - General Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description (last modified by beirdo)

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/ undefined reference to `pthread_create'
libavformat/ undefined reference to `pthread_cancel'
libavformat/ 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)

comment:1 Changed 9 years ago by beirdo

Description: modified (diff)
Resolution: Invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.