[fpc-pascal] fpcdoc: cannot compile documentation.

Michael Van Canneyt michael at freepascal.org
Mon Jul 13 14:42:40 CEST 2009

On Mon, 13 Jul 2009, Torsten Bonde Christiansen wrote:

> Hi.
> After having made a complete checkout of the fpcdoc repository i try to 
> compile the documentation using "make html" as stated by the README.DOCS in 
> the very same folder.
> I have checkout the repository to "~/FreePascal/fpcdoc" and the fpc 
> repository is located at "~FreePascal/fpcsrc" (which is recommended in the 
> README.DOCS as well).
> But i get the following message when trying to compile the documentation:
>> make html
> make -C ../fpcsrc/compiler/utils msg2inc
> make[1]: Entering directory `/home/torsten/FreePascal/fpcsrc/compiler/utils'
> /usr/bin/ppc386 -Fu.. -Fu../../rtl -FE. -FUunits/i386-linux -di386 msg2inc.pp
> Free Pascal Compiler version 2.3.1 [2009/07/13] for i386
> Copyright (c) 1993-2009 by Florian Klaempfl
> Target OS: Linux for i386
> Compiling msg2inc.pp
> msg2inc.pp(64,3) Note: Local variable "code" is assigned but never used
> msg2inc.pp(823,1) Error: Can't create object file: units/i386-linux/msg2inc.o
> msg2inc.pp(823,1) Fatal: Can't create object units/i386-linux/msg2inc.o

In the compiler/utils directory, create the  units/i386-linux/ subdirectory.
I have encountered this problem too, but don't know why it appears,
something with the Makefile in the compiler/utils directory.


More information about the fpc-pascal mailing list