[fpc-pascal] Problem compiling an X client
Michael Van Canneyt
michael at freepascal.org
Sun Feb 3 13:13:31 CET 2008
On Sun, 3 Feb 2008, Anton Tichawa wrote:
> Hello list!
>
> I have problems compiling an X client. The compiler says:
>
> Free Pascal Compiler version 2.2.0 [2007/08/31] for i386
> Copyright (c) 1993-2007 by Florian Klaempfl
> Target OS: Linux for i386
> Compiling pas/xdemo.pas
> PPU Loading /usr/local/lib/fpc/2.2.0/units/i386-linux/x11/x.ppu
> Recompiling x, checksum changed for ctypes
> Fatal: Can't find unit x used by xdemo
> Fatal: Compilation aborted
> Error: /usr/local/bin/ppc386 returned an error exitcode (normal if you
> did not specify a source file to be compiled)
>
> Files x and xlib are available as objects (.ppu, .o) only. Any ideas? Am
> I doing something wrong?
Did you install a newer/different ctypes unit ? The compiler thinks you did.
Try compiling with -vu, so you can see which units are loaded.
Michael.
More information about the fpc-pascal
mailing list