[fpc-pascal] Workaround for #0011837 (FPC <= 2.2.2 with GTK >= 2.13)

Giovanni Premuda lists at softwerk.it
Mon Jan 19 23:01:43 CET 2009


Michalis Kamburelis wrote:
> In case someone wonders how to workaround this bug
>   http://mantis.freepascal.org/view.php?id=11837
> (occurs with GTK >= 2.13.4, e.g. on Ubuntu 8.10 we have GTK 2.14):
>
> I found that the quick workaround that works is to pass --noinhibit-exec
> to ld, that is "-k--noinhibit-exec" to FPC command-line. The ld will
> then treat unresolved references as mere warnings, and will produce
> working executable (assuming your program doesn't actually call
> obsoleted GTK2 functions).
>
> Of course, you can also upgrade to FPC from SVN. Above workaround is
> useful only if you have to stick to released FPC 2.2.2.
>   
Can anyone spread this all over the Lazarus site, the Lazarus readmes 
and release notes, the lazarus debs, sorceforge and everywhere else???

This has been a major block for anyone trying to use Lazarus under 
Intrepid. Patching fpc is not really the best way to start... :)

Giovanni



More information about the fpc-pascal mailing list