Error when compiled !!!

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Error when compiled !!!

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=========================

[root@localhost 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
[root@localhost ide]#

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

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Error when compiled !!!

Jonas Maebe-2

On 3 feb 2006, at 08:16, Ryo T wrote:

> 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
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Error when compiled !!!

Marco van de Voort
In reply to this post by 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

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

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Error when compiled !!!

Jonas Maebe-2

On 8 feb 2006, at 14:46, Marco van de Voort wrote:

>> 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

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal