[fpc-devel] Linking problem

Flávio Etrusco flavio.etrusco at gmail.com
Sat Sep 23 20:57:12 CEST 2006


I'd guess this library is exporting (and importing) in C++ symbols and
thus can't be linked with FPC?

-Flávio

On 9/23/06, Ivo Steinmann <ivo_steinmann at gmx.net> wrote:
> Hello all
>
> I tried to link libmodplug.so but get this error:
>
> /usr/lib/libmodplug.so: undefined reference to `operator new[](unsigned
> int)'
> /usr/lib/libmodplug.so: undefined reference to `operator delete(void*)'
> /usr/lib/libmodplug.so: undefined reference to `operator delete[](void*)'
> /usr/lib/libmodplug.so: undefined reference to `operator new(unsigned int)'
>
> do I have to link another library also (something like libstd) or is
> there a way that I can define those function in my application? Im a
> littlebit confused about "operator"
>
> greets
> Ivo
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>



More information about the fpc-devel mailing list