Plugin compiler arguments / Make.config

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

 



Hi there,

since vdr-1.7.3, VDR is compiled with the additional arguments
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
Plugins should be compiled with the same arguments as otherwise one might get
unresolved symbols when loading the plugin. Consistently, in vdr-1.7.4 these
defines have been added to the plugin part of Make.config.template. But that
won't fix anything for the people who don't use a Make.config at all (those
who do, need to check if something has changed in the template when updating).
How could this problem be solved conveniently?

I'd opt for copying Make.config.template to Make.config if no Make.config
exists yet. A good place to do this would be in "make include-dir". The
documentation and UPDATE files should remind those who copy Make.config from
an older release to fit in necessary changes.

Other options:
* Additional file to include by VDR and plugin Makefiles with such "mandatory"
defines - this somewhat contradicts the idea of Make.config.

* In the Makefile of each affected plugin, check for the presence of
Make.config. If it's missing, check the VDR version and if required, add the
defines - naah!

Cheers,
Frank

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux