Mailing List archive

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

[vdr] Re: VDR 1.1.32 plugin compile problems...



Hi,

I've found the error: The Makefiles from the according plugins (see below)
were missing a "DEFINES += -D_GNU_SOURCE" line.

After adding this line to all the plugins Makefiles everything compiles
without error.

Btw: Is GNU_SOURCE correct for the pthread-stuff or should it better be
UNIX98_SOURCE ?

Regards,
Andreas


On Sun, 18 May 2003, Andreas Fatum wrote:

> Hi,
>
> the plugins osddemo, hello, sky, status and scanner (from autopid-patch)
> don't compile. All have the same compile-time error-messages:
>
> make[1]: Entering directory `/usr/src/vdr-1.1.32/PLUGINS/src/status'
> g++ -O2 -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"status"'
> -I../../../include -I../../../../DVB/include status.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 status.c:9:
> ../../../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]: *** [status.o] Error 1
>
>
>
>
> --
> Info:
> To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
>



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



Home | Main Index | Thread Index