Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2009-07

fpcdoc: cannot compile documentation.

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Torsten Bonde Christiansen

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 Fatal: Compilation aborted
make[1]: *** [msg2inc] Error 1
make[1]: Leaving directory `/home/torsten/FreePascal/fpcsrc/compiler/utils' make: *** [../fpcsrc/compiler/utils/msg2inc] Error 2

I have no idea what the problem is....

Kind regards,
Torsten Bonde Christiansen.

Michael Van Canneyt
to Torsten Bonde Christiansen
Torsten Bonde Christiansen wrote 23 lines
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.

Michael.