Opened 12 years ago

Closed 12 years ago

Last modified 12 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: Analyzed by developer:

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@… 12 years ago.
patch: add libpthread if v4l2 tv is selected.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by r.schwebel@…

patch: add libpthread if v4l2 tv is selected.

comment:1 Changed 12 years ago by r.schwebel@…

Proposed patch attached.

comment:2 Changed 12 years ago by diego@…

  • Resolution set to fixed
  • Status changed from new to closed

Fixed differently.

comment:3 Changed 12 years ago by r.schwebel@…

(In reply to comment #2)

Fixed differently.

Any pointer to a commit?

Robert

comment:4 Changed 12 years ago by diego@…

Look at the current HEAD revision of configure, r25975.

Note: See TracTickets for help on using tickets.