Modify

Ticket #10725 (closed Bug Report - General: Invalid)

Opened 13 months ago

Last modified 13 months ago

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) (diff)

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

Attachments

Change History

comment:1 Changed 13 months ago by beirdo

  • Status changed from new to closed
  • Resolution set to Invalid
  • Description modified (diff)

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.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.