Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-10

Strange error when installing package

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Anthony Walter

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.freepascal.org/pipermail/lazarus/attachments/20151001/c9c6a067/attachment.html>

Reply by email

Mattias Gaertner
to Anthony Walter
Show quoted text 8 lines
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' [...] Does anyone have any ideas about where to start in fixing this error?

Find the FPC revision that broke it.

Mattias

Reply by email

Sven Barth
to Anthony Walter: When attempting to install my personal library in newer trunk versions of Lararus and…
"Anthony Walter" wrote
Does anyone have any ideas about where to start in fixing this error?

Does this also occur with 3.0.1 or the 3.0.0RC1? Does it occur with the latest trunk version of FPC?

If any of the above then please report a bug with a small, self contained example that shows the problem.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20151001/96e9aaea/attachment.html>

Reply by email