Mailing List archive

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

[vdr] Re: plugins compile problem



On Sat, May 31, 2003 at 07:19:36PM +0200, Frank Scherthan wrote:
> hm@seneca.muc.de wrote:
> >Any help is appreciated... sorry if this is a dumb one but I found nothing
> >in the list archives (mainly because they aren't searchable). 
> Maybe you use a Make.conf file? (or was it Makefile.conf?)
> The default DVB-dir /../DVB has to be removed...

OK, that works now - sort of. There appears to be an error in
include/vdr/thread.h

make[1]: Entering directory `/usr/src/vdr-1.1.33/PLUGINS/src/lcdproc-0.0.9'
make[1]: Leaving directory `/usr/src/vdr-1.1.33/PLUGINS/src/lcdproc-0.0.9'
make[1]: Entering directory `/usr/src/vdr-1.1.33/PLUGINS/src/lcdproc-0.0.9'
g++ -g -O2 -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"lcdproc"' -I../../../include -I../../../../DVB/include lcdproc.c
In file included from ../../../include/vdr/ci.h:15,
                 from ../../../include/vdr/device.h:13,
                 from ../../../include/vdr/config.h:20,
                 from ../../../include/vdr/osd.h:16,
                 from ../../../include/vdr/menuitems.h:13,
                 from ../../../include/vdr/plugin.h:14,
                 from lcdproc.c:11:
../../../include/vdr/thread.h:46: syntax error before `;'
../../../include/vdr/thread.h: In method `void cRwLock::rdLock()':
../../../include/vdr/thread.h:50: `rwlock' undeclared (first use this
function)
../../../include/vdr/thread.h:50: (Each undeclared identifier is reported
only once
../../../include/vdr/thread.h:50: for each function it appears in.)
../../../include/vdr/thread.h:50: implicit declaration of function `int
pthread_rwlock_rdlock(...)'
../../../include/vdr/thread.h: In method `void cRwLock::rwLock()':
../../../include/vdr/thread.h:51: implicit declaration of function `int
pthread_rwlock_wrlock(...)'
../../../include/vdr/thread.h: In method `void cRwLock::Unlock()':
../../../include/vdr/thread.h:52: implicit declaration of function `int
pthread_rwlock_unlock(...)'
make[1]: *** [lcdproc.o] Error 1
make[1]: Leaving directory `/usr/src/vdr-1.1.33/PLUGINS/src/lcdproc-0.0.9'


and this happens for all plugins that use pthreads. Has that been solved
for 1.2.0 rc something? Klaus, any idea what's wrong here? I am totally
clueless as to object oriented stuff but the code in threads.h looks fine
for me. The problem appears to in line 46 or before. 

Dunno if it matters but this is stock SuSE Linux 8.0 w/ gcc 2.95.3 and
glibc-2.2.5-38

-- 
Using chemical, biological or, one day, nuclear weapons obtained with
the help of Iraq, the terrorists could fulfill their stated ambitions
and kill thousands or hundreds of thousands of innocent people in our
country or any other. -- George W. Bush, March 17, 2003


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



Home | Main Index | Thread Index