Re: [vdr] Vompserver plugin and cIndexFile::Get undefined symbol error
Thanks Thomas that did it. I got it to work after renaming Make.config.template to Make.config. I will post this issue on the Vomp forum. Stuart --- On Wed, 27/5/09, Thomas Günther wrote: > From: Thomas Günther > Subject: Re: [vdr] Vompserver plugin and cIndexFile::Get undefined symbol > error > To: "Klaus Schmidinger's VDR" > Date: Wednesday, 27 May, 2009, 11:06 PM > 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 > > ___ > vdr mailing list > vdr@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr > ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Vompserver plugin and cIndexFile::Get undefined symbol error
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 ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Vompserver plugin and cIndexFile::Get undefined symbol error
--- On Wed, 27/5/09, Thomas Günther 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 ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Vompserver plugin and cIndexFile::Get undefined symbol error
Stuart Morris 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 ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
[vdr] Vompserver plugin and cIndexFile::Get undefined symbol error
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? I am using Gcc 4.3.2. Stuart ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr