Sign in Join

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

Mailing lists / fpc-pascal / 2006-02

Error when compiled !!!

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Ryo T

I've compiled free pascal IDE included in the
freepascal package but it always say that a file named "sysunixh.inc" not found. Where can I find the file ???
For that troubleshoot i have include the error
(captured from linux console).
thx b4

===============error captured=========================

ide]# make gdb
make builddirs
make[1]: Entering directory
`/usr/local/src/fpc-1.0.10/ide'
make -C compiler all
make[2]: Entering directory
`/usr/local/src/fpc-1.0.10/ide/compiler'
make -C ../../compiler ppuclean
make[3]: Entering directory
`/usr/local/src/fpc-1.0.10/compiler'
/bin/rm -f *.o *.ppu *.rst *.s *.a *.so *.ppl
/bin/rm -f i386/*.ppu targets/*.ppu
make[3]: Leaving directory
`/usr/local/src/fpc-1.0.10/compiler'
/usr/local/bin/ppc386 -dBrowserCol -dGDB -dSUPPORT_MMX -Fu../../compiler/x86 -Ur
-Fu../../compiler -Fu../../compiler/i386
-Fu../../compiler/targets -Fu../../com
piler/systems -Fu../../rtl/linux -Fi../../compiler -Fi../../compiler/i386 -FE. - di386
compunit.pas
Free Pascal Compiler version 1.0.10 [2003/06/26] for i386
Copyright (c) 1993-2003 by Florian Klaempfl
Target OS: Linux for i386
Compiling compunit.pas
Compiling
/usr/local/src/fpc-1.0.10/rtl/linux/syslinux.pp
syslinux.pp(25,2) Fatal: Can't open include file
sysunixh.inc
make[2]: *** [compunit.ppu] Error 1
make[2]: Leaving directory
`/usr/local/src/fpc-1.0.10/ide/compiler'
make[1]: *** [compiler/fpcmade.lnx] Error 2
make[1]: Leaving directory
`/usr/local/src/fpc-1.0.10/ide'
make: *** [gdb] Error 2
ide]#

===============end of file=========================

__________________________________________________ Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Reply by email

Jonas Maebe
to Ryo T
Ryo T wrote 6 lines
I've compiled free pascal IDE included in the freepascal package but it always say that a file named "sysunixh.inc" not found. Where can I find the file ??? For that troubleshoot i have include the error (captured from linux console).

First go to /usr/local/src/fpc-1.0.10/rtl and build the rtl. 1.0.10 is a very old version though.

Jonas

Reply by email

Marco van de Voort
to Ryo T: I've compiled free pascal IDE included in the freepascal package but it always say that a…
Show quoted text 7 lines
I've compiled free pascal IDE included in the freepascal package but it always say that a file named "sysunixh.inc" not found. Where can I find the file ??? For that troubleshoot i have include the error (captured from linux console). thx b4

Somehow it considers the RTL is out of date.

Some things to attempt:
- make sure no .ppu and .o's are left behind and then retry
- if it still fails temporarily rename rtl/ to rtl2/

P.s. 1.0.10 is years old, it's recommended to use a 2.x version

Reply by email

Jonas Maebe
to Marco van de Voort
Marco van de Voort wrote 9 lines
> I've compiled free pascal IDE included in the > freepascal package but it always say that a file named > "sysunixh.inc" not found. Where can I find the file > ??? > For that troubleshoot i have include the error > (captured from linux console). > thx b4 Somehow it considers the RTL is out of date.

No, the RTL it finds first is simply not compiled. The original poster is building inside /usr/src, and the makefile automatically include the host platform's RTL directory in the unit search path.

- if it still fails temporarily rename rtl/ to rtl2/

This would work.

Jonas

Reply by email