Mailing List archive

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

[vdr] uClibc+gcc-3.4.3+vdr doesn't compile



Hey

I want to build a small VDR system with help of uClibc und Busybox so I
try to build VDR-1.3.17 with the todays CVS uClibc and GCC-3.4.3. but
the VDR will not compile.

Plain VDR-1.3.17

g++ -g -O2 -Wall -Woverloaded-virtual -c -DREMOTE_KBD -DREMOTE_
-D_GNU_SOURCE -DVIDEODIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\"
-I/usr/include/linux/dvb thread.c
thread.c: In member function `bool cRwLock::Lock(bool, int)':
thread.c:158: error: `pthread_rwlock_timedwrlock' undeclared (first use
this function)
thread.c:158: error: (Each undeclared identifier is reported only once
for each function it appears in.)
thread.c:160: error: `pthread_rwlock_timedrdlock' undeclared (first use
this function)
make: *** [thread.o] Error 1

a /usr/include/pthread.h is avaible

Plain VDR-1.2.6

++ -g -O2 -Wall -Woverloaded-virtual -rdynamic audio.o channels.o ci.o
config.o cutter.o device.o diseqc.o dvbdevice.o dvbosd.o dvbplayer.o
dvbspu.o eit.o eitscan.o font.o i18n.o interface.o keys.o lirc.o menu.o
menuitems.o osdbase.o osd.o player.o plugin.o rcu.o receiver.o
recorder.o recording.o remote.o remux.o ringbuffer.o sources.o spu.o
status.o svdrp.o thread.o timers.o tools.o transfer.o vdr.o videodir.o
-ljpeg -lpthread -ldl  ./libdtv/libdtv.a -o vdr
dvbspu.o(.text+0xd37): In function `cDvbSpuDecoder::ScaleYcoord(int)':
/source/vdr-1.2.6/dvbspu.c:310: undefined reference to `lround'
dvbspu.o(.text+0xd78): In function `cDvbSpuDecoder::ScaleYres(int)':
/source/vdr-1.2.6/dvbspu.c:319: undefined reference to `lround'
collect2: ld returned 1 exit status
make: *** [vdr] Error 1


Is there anyone who can help me ?



-- 
Sebastian Ortwein <kernel_panic@gmx.de>





Home | Main Index | Thread Index