[fpc-devel] Undefined symbol during linking - any suggestions?

Gennady Agranov gennadyagranov at gmail.com
Tue Sep 7 22:01:19 CEST 2021


Thanks!

It did not help - both 3.0.2 and 3.2.2 when compile my code fail at the 
link phase

Target platform is Win64

Error: Undefined symbol: .Lj<4 digit number>

As I understand .Lj<4 digit number> is a label - not some external 
identifier

I guess I probably have too much code to link?

Are there some linker arguments I can add that would help?

Is it possible to specify some other linker?

Thanks,
Gennady


On 9/4/2021 5:09 AM, Bart via fpc-devel wrote:
> On Sat, Sep 4, 2021 at 3:26 AM Gennady Agranov via fpc-devel
> <fpc-devel at lists.freepascal.org> wrote:
>
> IIRC then there were som bugs regarding optimization in win64.
> You can try to compile with optimizations disabled: -O- (or use the
> Lazarus dialog to do so).
>



More information about the fpc-devel mailing list