[Lazarus] Strange error when installing package
Anthony Walter
sysrpl at gmail.com
Thu Oct 1 16:44:16 CEST 2015
When attempting to install my personal library in newer trunk versions of
Lararus and Free Pascal I am receiving this message:
(9015) Linking ../lazarus
Cross.Codebot/source/lib/x86_64-linux/codebot.system.o:(.data.n_RTTI_$CODEBOT.SYSTEM_$$_TCONVERT$2+0xe):
undefined reference to `RTTI_$CODEBOT.SYSTEM_$$_DEF38'
lazarus/ide/lazarus.pp(162,1) Error: (9013) Error while linking
/lazarus/ide/lazarus.pp(162,1) Fatal: (10026) There were 1 errors compiling
module, stopping
Fatal: (1018) Compilation aborted
The package in question is codebotdsgn.lpk located at
https://github.com/sysrpl/Cross.Codebot
Does anyone have any ideas about where to start in fixing this error?
Here are a few defines from codebot.system.pas:
type
TArray<T> = array of T;
{ TCompare\<T\> is used to compare two items }
TCompare<T> = function(constref A, B: T): Integer;
{ TConvert\<Source, Target\> is used to convert from one type to another }
TConvert<TItem, T> = function(constref Item: TItem): T;
{ TConvertString\<T\> is used to convert a type to a string }
TConvertString<TItem> = function(constref Item: TItem): string;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20151001/c9c6a067/attachment-0002.html>
More information about the Lazarus
mailing list