[fpc-devel] Linking problem
peter green
plugwash at P10Link.net
Sat Sep 23 21:35:34 CEST 2006
i'm guessing (i could be wrong) that you need to link in libstdc++
> -----Original Message-----
> From: fpc-devel-bounces at lists.freepascal.org
> [mailto:fpc-devel-bounces at lists.freepascal.org]On Behalf Of Ivo
> Steinmann
> Sent: 23 September 2006 19:48
> To: FPC developers' list
> Subject: [fpc-devel] Linking problem
>
>
> 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