Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#1015 closed defect (fixed)

v4l2 tv needs pthreads

Reported by: r.schwebel@… Owned by: diego@…
Priority: normal Component: build system
Version: 1.0rc2 Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

When the v4l2 tv interface is used, it needs -lpthread in order to link
correctly. Otherwhise we get this one:

stream/stream.a(tvi_v4l2.o): In function `uninit':
tvi_v4l2.c:(.text+0x325c): undefined reference to `pthread_join'
tvi_v4l2.c:(.text+0x351c): undefined reference to `pthread_join'

Signed-off-by: Robert Schwebel <r.schwebel@…>

Attachments (1)

MPlayer-1.0rc2-v4l2-tv-pthread.diff (919 bytes ) - added by r.schwebel@… 16 years ago.
patch: add libpthread if v4l2 tv is selected.

Download all attachments as: .zip

Change History (5)

by r.schwebel@…, 16 years ago

patch: add libpthread if v4l2 tv is selected.

comment:1 by r.schwebel@…, 16 years ago

Proposed patch attached.

comment:2 by diego@…, 16 years ago

Resolution: fixed
Status: newclosed

Fixed differently.

comment:3 by r.schwebel@…, 16 years ago

(In reply to comment #2)

Fixed differently.

Any pointer to a commit?

Robert

comment:4 by diego@…, 16 years ago

Look at the current HEAD revision of configure, r25975.

Note: See TracTickets for help on using tickets.