Sign in Join

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

Mailing lists / lazarus / 1999-08

newbie:can´t compile

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

SVAA

Hello:

I've been trying to compile lazarus for more than a month with Redhat 6.0. First I installed FPC with rpm, I tried and in one thounsand ways and I didn�t success.
Now I've read the howto of the web, I have desinstalled the rpm, and installed FPC exactly as in the howto:
in /opt/fpc/.... , and downloaded it with cvs

1) the howto says that you don't need the ppc386.cfg, the make files do all the work and keep track of directories, if I don�t set the -Fi parameter the ppc386 can�t find systemh.inc file.

2) when I do 'make' in /opt/fpc, I get internal error 3, the problem is not FPCDIR, it's set to /opt/fpc,

I have posted the output because I�m new in linux and lazarus and I don't know what else I can do,
any Idea?

Congratulations, a high level tool like lazarus is what linux needs to jump to final users. Although I work at more high level programing I will try to help.
I'm tired of windows-xx errors.

Regards
Santiago Amposta

make -C rtl/linux all
make[1]: Entering directory `/opt/fpc/rtl/linux'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/fpc/rtl/linux'
make -C compiler all
make[1]: Entering directory `/opt/fpc/compiler'
ppc386 -Tlinux -Xs -OG2p3 -n -Fu../rtl/linux -Fu/opt/fpc/units/linux -di386 -dSUPPORT_MMX -Sg -dGDB -dBROWSERLOG pp.pas mv -f pp ppc386
make echotime
make[2]: Entering directory `/opt/fpc/compiler'
Start now 00:06:49
make[2]: Leaving directory `/opt/fpc/compiler'
make[1]: Leaving directory `/opt/fpc/compiler'
make -C fcl/linux all
make[1]: Entering directory `/opt/fpc/fcl/linux'
ppc386 -Tlinux -S2 -Xs -OG2p3 -n -Fu/opt/fpc/rtl/linux -Fu/opt/fpc/units/linux -Fi../inc -Fi../i386 -FE. -di386 ../inc/rtfpars.pp rtfpars.pp(162,11) Fatal: Internal error 3
make[1]: *** [rtfpars.ppu] Error 1
make[1]: Leaving directory `/opt/fpc/fcl/linux'
make: *** [fcl_all] Error 2

Peter Vreman
to SVAA
Show quoted text 10 lines
I've been trying to compile lazarus for more than a month with Redhat 6.0. First I installed FPC with rpm, I tried and in one thounsand ways and I didn�t success. Now I've read the howto of the web, I have desinstalled the rpm, and installed FPC exactly as in the howto: in /opt/fpc/.... , and downloaded it with cvs 1) the howto says that you don't need the ppc386.cfg, the make files do all the work and keep track of directories, if I don�t set the -Fi parameter the ppc386 can�t find systemh.inc file.

You shouldn't move the *.ppu and *.o out of rtl/linux. This is a 'bug' in the howto.

2) when I do 'make' in /opt/fpc, I get internal error 3, the problem is not FPCDIR, it's set to /opt/fpc,

This is a compiler bug.

Peter

SVAA

Hello:

Peter said:

You shouldn't move the *.ppu and *.o out of rtl/linux. This is a 'bug' in the howto.

That's right, thanks

> 2) when I do 'make' in /opt/fpc, I get internal error 3, the problem is

not

> FPCDIR, it's set to /opt/fpc, This is a compiler bug.

What should I do? I have fpc 0.99.12 version, Is there another?

How do you compile ?

Regards.
Santiago Amposta