Sign in Join

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

Mailing lists / lazarus / 2000-03

Compiling

10 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

Kevin Berry

I've now re-installed Linux and I'm attempting to
compile the source again.

The compiler build goes fine - I'm able to make cycle, produce new ppc386 etc.

Compiling anything with ppc386 (including a simple hello.pp file I created) results in the error that it can't find systemh.inc.

I then use -Fi/opt/fpc/rtl/inc to force it to include the only directory where systemh.inc is found

It then gives many errors about Identifier not found VALSINT, Illegal expression, Identifier not found
VALUINT etc. and then eventually can't open
setjumph.inc. What is wrong with my setup?

Another question... aren't you able to compile the components using just "make". I tried in the
lazarus/components/mweditbeta folder but it also
complains about systemh.inc being missing and I'm not sure how to specify the include file path when using make.

Thanks,
Kevin.

__________________________________________________ Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com

Reply by email

Kevin Berry

Oops... that should be 'packages' not 'pacakages' :-) And before someone points it out to me - it was just a typo when writing the e-mail, not when using CVS!

--- Kevin Berry wrote 35 lines
I type "cvs -a3 update -dP packages" and it says: cvs update: cannot open CVS/Entries for reading: No such file or directory cvs [update aborted]: no repository I also tried packages/gtk and it responded 'no such directory 'pacakages' I'm looking into the other suggestions (-vt or OPT-vt switch etc.) Cheers, Kevin. --- Marc Weustink wrote: > + I tried to check out packages and got some kind of > + error so I assumed that the docs were wrong and > that > + packages wasn't there anymore. I'll look into > that > + when I get home later today. Must I definitely > refer > + to it as "packages" - there isn't another name I > must > + use for the checkout? > > You can try to only get packages/gtk > > Marc > >

_________________________________________________________________

Show quoted text 13 lines
> To unsubscribe: mail > with > "unsubscribe" as the Subject > archives at > http://www.miraclec.com/list_archives/lazarus > __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com

_________________________________________________________________

Show quoted text 6 lines
To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

__________________________________________________ Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com

Reply by email

Florian Klaempfl
to Kevin Berry: I've now re-installed Linux and I'm attempting to compile the source again. The compiler…
Show quoted text 7 lines
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.

Reply by email

Florian Klaempfl
to Kevin Berry: I change to the /opt/fpc/lazarus/components/mweditbeta folder and type 'make' and I get…
Show quoted text 39 lines
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

Did you also an update of the rtl and compiler? Then you need to recompile the rtl and compiler as well with make cycle, further you've to adapt your ppc386.cfg to find these new rtl and compiler.

Reply by email

Kevin Berry

I tried to check out packages and got some kind of error so I assumed that the docs were wrong and that packages wasn't there anymore. I'll look into that when I get home later today. Must I definitely refer to it as "packages" - there isn't another name I must use for the checkout?

Kevin.

--- Shane Miller wrote 9 lines
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.

__________________________________________________ Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com

Reply by email

Kevin Berry

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
To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

__________________________________________________ Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com

Reply by email

Kevin Berry

I type "cvs -a3 update -dP packages" and it says:

cvs update: cannot open CVS/Entries for reading: No such file or directory
cvs [update aborted]: no repository

I also tried packages/gtk and it responded 'no such directory 'pacakages'

I'm looking into the other suggestions (-vt or OPT-vt switch etc.)

Cheers,
Kevin.

--- Marc Weustink wrote 16 lines
+ I tried to check out packages and got some kind of + error so I assumed that the docs were wrong and that + packages wasn't there anymore. I'll look into that + when I get home later today. Must I definitely refer + to it as "packages" - there isn't another name I must + use for the checkout? You can try to only get packages/gtk Marc

_________________________________________________________________

Show quoted text 6 lines
To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

__________________________________________________ Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com

Reply by email

Marc Weustink
to Kevin Berry: I change to the /opt/fpc/lazarus/components/mweditbeta folder and type 'make' and I get…

+ From: Kevin Berry

+ I change to the /opt/fpc/lazarus/components/mweditbeta
+ folder and type 'make' and I get the following
+ responses

Most of the times when the compiler wants to rebuild the lib, I rebuild the libs first like:

---- build_lazarus ------------------

#!/bin/sh

echo '--> rtl <------------'
pushd ./rtl
make clean
make
popd
rm ./units/*.o ./units/*.ppu
cp ./rtl/linux/*.o ./units
cp ./rtl/linux/*.ppu ./units
echo '--> fcl <------------'
pushd ./fcl
make clean
make
popd
echo '--> gtk <------------'
pushd ./packages/gtk
make clean
make
popd
echo '--> lazarus <------------'
pushd ./lazarus
make clean
make
popd

----------------------------

make sure that the units dir is in your unitpath before the others. After you've done this an the problem remains do a touch ./units/*.o ./units/*.ppu (I haven't seen this for a while)

Marc

Reply by email

Shane Miller
to Kevin Berry: I've now re-installed Linux and I'm attempting to compile the source again. The compiler…

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.
---------------------------------------
Shane Miller
Take a look at other product/projects of mine below!

Get paid to surf the net!
http://alladvantage.com/go.asp?refid=DEX-870

Get paid to surf the net by clicking here too!!!
http://epipo.com/sine.asp?dex870

Home page : http://www.lakefield.net/~smiller

Auto-IP Publisher : http://www.lakefield.net/~smiller/autoip

Advanced Clipboard : http://www.lakefield.net/~smiller/advclipboard

Lazarus : http://www.lazarus.freepascal.org

Earlier message 45 lines
----- Original Message ----- From: "Kevin Berry" To: Sent: Sunday, March 26, 2000 2:37 AM Subject: [lazarus] Compiling > I've now re-installed Linux and I'm attempting to > compile the source again. > > The compiler build goes fine - I'm able to make cycle, > produce new ppc386 etc. > > Compiling anything with ppc386 (including a simple > hello.pp file I created) results in the error that it > can't find systemh.inc. > > I then use -Fi/opt/fpc/rtl/inc to force it to include > the only directory where systemh.inc is found > > It then gives many errors about Identifier not found > VALSINT, Illegal expression, Identifier not found > VALUINT etc. and then eventually can't open > setjumph.inc. What is wrong with my setup? > > Another question... aren't you able to compile the > components using just "make". I tried in the > lazarus/components/mweditbeta folder but it also > complains about systemh.inc being missing and I'm not > sure how to specify the include file path when using > make. > > Thanks, > Kevin. > > __________________________________________________ > Do You Yahoo!? > Talk to your friends online with Yahoo! Messenger. > http://im.yahoo.com > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus >

Reply by email