--- On Wed, 27/5/09, Thomas Günther tom1@toms-cafe.de wrote:
I am getting an undefined symbol error when I run Vdr
1.7.7 with the
Vompserver plugin patched for TS format:
vdr: ./PLUGINS/lib/libvdr-vompserver.so.1.7.7:
undefined symbol: _ZN10cIndexFile3GetEiPtPlPbPi
The plugin compiles ok with no error or warning.
cIndexFile::Get is called
at only one place in Vompserver and the function
parameters match perfectly.
Can anyone suggest what could be wrong?
You need this line in Makefile or in Make.config:
DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
Tom
That is already in the Vdr-1.7.7 Makefile. Do you mean in the plugin's Makefile?
Stuart
Stuart Morris wrote:
That is already in the Vdr-1.7.7 Makefile. Do you mean in the plugin's Makefile?
That's right.
From HISTORY of VDR-1.7.4:
- Added "DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" to Make.config.template (thanks to Johann Friedrichs for pointing this out). Plugin authors should add this line to their Makefile or Make.config if they use file access functions that need special versions for 64 bit offsets.
Tom