I change to the /opt/fpc/lazarus/components/mweditbeta folder and type 'make' and I get the following
responses
make -C /opt/fpc/fcl/linux all
make[1]: Entering directory `/opt/fpc/fcl/linux'
ppc386 -S2 -Fu/opt/fpc/rtl/linux
-Fu/opt/fpc/units/linux -Fi../inc -FE. -di386
classes.pp
syslinux.pp(34,2) Fatal: Can't open include file
systemh.inc
make[1]: Leaving directory `/opt/fpc/fcl/linux'
I then try and compile a simple hello.pp file that I wrote. I place the file in ~/projects/testing/hello/. I use the command 'ppc386 hello.pp' - also complains about systemh.inc missing. I use the command 'ppc386 -vt hello.pp' and the output I get is the following:
Compiler: /opt/fpc/ppc386
Using executable path: /opt/fpc/
Using unit path: /opt/fpc/rtl/linux/
Using unit path: /opt/fpc/
Using library path: /lib/
Using library path: /usr/lib/
Using library path: /usr/X11R6/lib/
Using library path: /opt/fpc/rtl/linux/
Using library path: /opt/fpc/
Using object path: /opt/fpc/rtl/linux/
Using object path: /opt/fpc/
Unitsearch: syslinux.ppu
Unitsearch: syslinux.pp
Unitsearch: syslinux.pas
Unitsearch: /opt/fpc/rtl/linux/syslinux.ppu
Unitsearch: /opt/fpc/rtl/linux/syslinux.pp
syslinux.pp(34,2) Fatal: Can't open include file
systemh.inc
I then try forcing the include file path using
-I/opt/fpc/rtl/inc and get the following errors.
systemh.inc(101,23) Error: Identifier not found
VALSINT
systemh.inc(101,31) Error: Illegal expression
systemh.inc(102,23) Error: Identifier not found
VALUINT
systemh.inc(102,31) Error: Illegal expression
systemh.inc(248,51) Error: Identifier not found
STRLENINT
systemh.inc(248,67) Error: Identifier not found
STRLENINT
systemh.inc(249,51) Error: Identifier not found
STRLENINT
systemh.inc(249,67) Error: Identifier not found
STRLENINT
systemh.inc(250,76) Error: Identifier not found
STRLENINT
systemh.inc(251,63) Error: Identifier not found
STRLENINT
systemh.inc(252,70) Error: Identifier not found
STRLENINT
systemh.inc(253,52) Error: Identifier not found
STRLENINT
systemh.inc(254,52) Error: Identifier not found
STRLENINT
systemh.inc(274,40) Error: Identifier not found
STRLENINT
systemh.inc(274,58) Error: Identifier not found
STRLENINT
systemh.inc(275,60) Error: Identifier not found
STRLENINT
systemh.inc(430,2) Fatal: Can't open include file
setjumph.inc
What am I doing wrong?
Thanks,
Kevin.
--- Florian Klaempfl wrote 21 lines
Shane Miller schrieb:
>
> I would delete the sysyemh.inc file and cvs update
it. Also, make sure you
> have the packages directory because some of our
old documentation didn't say
> to include that when you did a checkout from CVS.
>
> If needed edit your /etc/ppc386.cfg file to
include the directory where your
> systemh.nc file is.
If the compiler complains about systemh.inc not
found it usually finds an older
compiled run time library and newer runtime library
sources. To see where it
looks for files, you can use the switch -vt or
OPT=-vt if you're using makefiles.
_________________________________________________________________
Show quoted text 6 lines
__________________________________________________ Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com