[lazarus] lazarus linking with 1.9 on freebsd

Marco van de Voort marcov at stack.nl
Tue Nov 4 09:10:53 EST 2003


> + /usr/local/lib/fpc/1.9.0/units/freebsd/gtk/glib.o(.stab+0x1340):
> +  unresolvable relocation against symbol _g_log_domain_glib'
> +
> + Does somebody see a pattern, and knows what it might be?
> +
> + glib-1.2.10_10
> + gtk-1.2.10
> + gdk-pixbuf-0.22.0
> 
> They are al defined as var and not procedures or functions.
> 
> I guess they can't be relocated ?
> 
> This is what I found in the gdk2 translations and it might be related:
> 
> {$IFNDEF KYLIX}
> { There is a bug in the compiler. If an external variable is not used, it
> will
>   create code, that can be relocated by the linker.
>   So, use them in this hidden procedure.
> }
> procedure CheckUnusedVariable; [Public];
> begin
>   if (gdk_display<>nil) then;
> end;
> {$ENDIF}

It went away after a FPC update. (mine was already a day old)

Still AV though, but that seems to be ansistring reference count related,
and something for FPC then lazarus.








More information about the Lazarus mailing list