Mattias Gaertner ha scritto:
On Mon, 05 Nov 2007 11:23:24 +0100
Antonio Talamini <[EMAIL PROTECTED]> wrote:
Mattias Gaertner ha scritto:
On Mon, 05 Nov 2007 10:26:33 +0100
Antonio Talamini <[EMAIL PROTECTED]> wrote:
Compile lazarus and packages clean and check your link.res file.
Mattias
I've do that, but ..
can i link my link.res file?
it's big.
Maybe checking the link.res file was a bad advice.
Can you compile a simple project that uses your package?
What is 'DEF54'?
What is 'myunit'?
Does your package sources contain the 'external' keyword?
Mattias
With version 0.9.22 (and previous) all it's ok.
The error is:
//--
Compiling lazarus.pp
Linking ../lazarus
../units/i386-linux/lsmovim.o: In function `LSMOVIM_init':
/home/antonio/artt/lazarus/lsmovim.pas:398: undefined reference to
`RTTI_LSDIALOG_DEF54'
../units/i386-linux/lsmovline.o: In function `LSMOVLINE_init':
/home/antonio/artt/lazarus/lsmovline.pas:326: undefined reference to
`RTTI_LSDIALOG_DEF54'
../units/i386-linux/lsmovimlist.o: In function `LSMOVIMLIST_init':
/home/antonio/artt/lazarus/lsmovimlist.pas:354: undefined reference
to `RTTI_LSDIALOG_DEF54'
lazarus.pp(114,1) Error: Error while linking
lazarus.pp(114,1) Fatal: There were 1 errors compiling module,
stopping Fatal: Compilation aborted
make[2]: *** [lazarus] Error 1
make[2]: Leaving directory `/usr/lib/lazarus-0.9.23/ide'
make[1]: *** [ide] Error 2
make[1]: Leaving directory `/usr/lib/lazarus-0.9.23/ide'
make: *** [ide] Error 2
//--
I don't know 'DEF54'!
nothing in lsdialog like 'DEF54'
Either the linker found some old .o files or you found a bug in the
compiler.
What gives 'fpc -v'?
Mattias
I've deleted all files .o and .ppu!
[EMAIL PROTECTED]:/home/antonio/# fpc -v
Free Pascal Compiler version 2.2.0 [2007/08/31] for i386
Copyright (c) 1993-2007 by Florian Klaempfl
Fatal: No source file name in command line
Fatal: Compilation aborted
Error: /usr/bin/ppc386 returned an error exitcode (normal if you did not
specify a source file to be compiled)
thanks
Antonio
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives