Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: plugin compile problem
Andreas Schultz wrote:
>
> On Saturday 31 May 2003 11:04 pm, Andreas Fatum wrote:
>
> > That might be true for the core VDR but in that Makefile GNU_SOURCE is
> > defined anyway. At least none of the "problem" plugins I am using is
> > including <sys/types.h> before thread.h. But you are right, it would not
>
> if have not check any of the plugins, but sys/types.h gets included though
> other systems headers. So chances are good that pthreadtypes.h gets evaluated
> before the define.
>
> [...]
>
> > Hmm, if this cannot be fixed by a simple define, why not include a
> > "Readme-Autopid"-file in the next patch explaining what to do in case
> > some plugins refuse to compile on the target system? (Like: "If you get
> > compiler errors in certain plugins with threads.h, simply add the line
> > "DEFINES += HAVE_GNU_SOURCE" to that plugins' Makefile.")
>
> i'll do both, include your patch and add a small readme. But i guess that it
> will just change our answers to those mails on the ML from an explanation to
> RTFM ;-)
All plugin Makefiles include (or at least are supposed to include)
$(VDRDIR)/Make.config. So I guess it would suffice if you would add a
line like
DEFINES += -D_GNU_SOURCE
(or whatever it takes) to _that_ file instead of having all the plugin
Makefiles patched.
Just my 2 cents...
Klaus
--
_______________________________________________________________
Klaus Schmidinger Phone: +49-8635-6989-10
CadSoft Computer GmbH Fax: +49-8635-6989-40
Hofmark 2 Email: kls@cadsoft.de
D-84568 Pleiskirchen, Germany URL: www.cadsoft.de
_______________________________________________________________
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index