File reporting linking errors

Hi,

in our application, after the upgrade to 1.6 we have found with this problem
in the linking stage:

CMakeFiles/prototype.dir/datalogger.o:(.rodata._ZTV10DataLogger[vtable for
DataLogger]+0xf0): undefined reference to `OCL::FileReporting::startup()'
CMakeFiles/prototype.dir/datalogger.o:(.rodata._ZTV10DataLogger[vtable for
DataLogger]+0xf8): undefined reference to `OCL::ReportingComponent::update()'
CMakeFiles/prototype.dir/datalogger.o:(.rodata._ZTV10DataLogger[vtable for
DataLogger]+0x100): undefined reference to `OCL::FileReporting::shutdown()'
CMakeFiles/prototype.dir/datalogger.o:(.rodata._ZTV10DataLogger[vtable for
DataLogger]+0x1c0): undefined reference to `non-virtual thunk to
OCL::FileReporting::startup()'
CMakeFiles/prototype.dir/datalogger.o:(.rodata._ZTV10DataLogger[vtable for
DataLogger]+0x1d8): undefined reference to `non-virtual thunk to
OCL::ReportingComponent::update()'
CMakeFiles/prototype.dir/datalogger.o:(.rodata._ZTV10DataLogger[vtable for
DataLogger]+0x1e8): undefined reference to `non-virtual thunk to
OCL::FileReporting::shutdown()'

I have looked and the library exists and the compiled doesn't complain about
the existence or not of the function. So, some change in the lib, or I have
done some mistake in the debian package of OCL?

Regards,

Leo

File reporting linking errors

> Hi,
>
> in our application, after the upgrade to 1.6 we have found with this
> problem
> in the linking stage:
>
> CMakeFiles/prototype.dir/datalogger.o:(.rodata._ZTV10DataLogger[vtable for
> DataLogger]+0xf0): undefined reference to `OCL::FileReporting::startup()'

The names have changed from 'startup' to 'startHook' etc. It looks like
your code is including the old header of FileReporting, while linking with
the new library. Maybe a make clean in your project solves this ?

Peter

File reporting linking errors

A Dimarts 16 Desembre 2008, Peter Soetens va escriure:
> > Hi,
> >
> > in our application, after the upgrade to 1.6 we have found with this
> > problem
> > in the linking stage:
> >
> > CMakeFiles/prototype.dir/datalogger.o:(.rodata._ZTV10DataLogger[vtable
> > for DataLogger]+0xf0): undefined reference to
> > `OCL::FileReporting::startup()'
>
> The names have changed from 'startup' to 'startHook' etc. It looks like
> your code is including the old header of FileReporting, while linking with
> the new library. Maybe a make clean in your project solves this ?

I'm using the deb packages and I have begun a new build... however I should
check the headers.

Regards,

Leo

File reporting linking errors

A Dimarts 16 Desembre 2008, Leopold Palomo-Avellaneda va escriure:
> A Dimarts 16 Desembre 2008, Peter Soetens va escriure:
> > > Hi,
> > >
> > > in our application, after the upgrade to 1.6 we have found with this
> > > problem
> > > in the linking stage:
> > >
> > > CMakeFiles/prototype.dir/datalogger.o:(.rodata._ZTV10DataLogger[vtable
> > > for DataLogger]+0xf0): undefined reference to
> > > `OCL::FileReporting::startup()'
> >
> > The names have changed from 'startup' to 'startHook' etc. It looks like
> > your code is including the old header of FileReporting, while linking
> > with the new library. Maybe a make clean in your project solves this ?
>
> I'm using the deb packages and I have begun a new build... however I should
> check the headers.

Ok, done. Thanks. Seems that the ocl packages are working. Tomorrow I send the
patches.

regards,

Leo