[fpc-pascal] Linux Linking Error

Michael Van Canneyt michael at freepascal.org
Sun Jun 3 18:04:54 CEST 2007



On Sun, 3 Jun 2007, Rick Seiden wrote:

> Using Ubuntu 6.10 under VMWare, I get an error when I try to compile any
> program.  The error is not real descriptive, and isn't really helpful.  It
> puts the error at the last line (end.) in the first column, and all it says is
> Error while linking.  I've googled, and it doesn't look to be a 32bit v 64bit
> issue.  I ran fpc -i, and the target cpu is listed as i386.
> 
> Any help would be appreciated.

I assume you are running this from some IDE ? The text mode IDE or the Lazarus IDE.
It would be instructive to try and compile from the command-line, this way
you'll get the complete error message.

In the case of Lazarus, start lazarus from within a console window. The
error messages of the compiler and linker will then also be displayed on
the console window.

Michael.



More information about the fpc-pascal mailing list