[mythtv-commits] Ticket #10725: Compile files do to pthread undefined reference
MythTV
noreply at mythtv.org
Mon May 14 17:33:36 UTC 2012
#10725: Compile files do to pthread undefined reference
----------------------------------+-----------------------------
Reporter: km@… | Owner:
Type: Bug Report - General | Status: closed
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Master Head
Severity: medium | Resolution: Invalid
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------
Changes (by beirdo):
* status: new => closed
* resolution: => Invalid
Old description:
> 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
New description:
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
}}}
--
Comment:
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.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10725#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list