Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: ANNOUNCE: bitstreamout 0.48 (Audio loop through sound card)



On Sat, Nov 29, 2003 at 10:14:29PM +0100, S. Ullrich wrote:
> Hi,
> now I have the problem that after patching a plain vdr-1.2.6 with
> vdr-1.2.6-audio.dif and vdr-1.2.6-mp2PlayAudio-v4.diff I get the
> following errors:
> ***************
> thread.o(.text+0x160): In function `cCondVar::TimedWait(cMutex&, int)':
> /vdr/vdr-1.2.6/thread.c:61: undefined reference to `pthread_cond_timedwait'
> thread.o(.text+0x459): In function `cThread::Start()':
> /vdr/vdr-1.2.6/thread.c:152: undefined reference to `pthread_create'
> thread.o(.text+0x587): In function `cThread::Cancel(int)':
> /vdr/vdr-1.2.6/thread.c:185: undefined reference to `pthread_cancel'
> thread.o(.text+0x5b5):/vdr/vdr-1.2.6/thread.c:185: undefined reference
> to `pthread_cancel'
> collect2: ld returned 1 exit status
> make: *** [vdr] Error 1
> *********************

There _must_ be an error _before_ those above.  This because
I do not have any problem with vdr-1.2.6 patched with vdr-1.2.6-audio.dif
and vdr-1.2.6-mp2PlayAudio-v4.diff ... it compiles.

IMHO there is something missed,  Like a broken compiler/linker which
is not able to interpret the option `-pthread'.  This option should
cause the compiler to set `-D_REENTRANT' and the linker to use
`-lpthread'.

Just for a workaround ... add  -lpthread after -pthread in
the Makefile (see declaration of CXXFLAGS.

> 
> The plain 1.2.6 compiles just fine.
> 
> SuSE 8.2, Kernel 2.4.22, DVB 20031108

Hmmmm ... I'm using SuSE and it compiles from 7.3 upto 9.0 and
all are able to compile and link the stuff. Do you have changed
the compiler?


       Werner


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index