Sign in Join

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

Mailing lists / lazarus / 1999-07

PPU Compiler Errors

7 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

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

Curtis White
to Michael A. Hess: I just cycled a new compiler. Not sure if it is required but do a "make clean" on…

I just updated all my FPC files from CVS. I compiled the compiler with 'make cycle'. Then I copied the new ppc386 file to the /opt/fpc directory overwriting the previous version. Then I went into the /opt/fpc/rtl directory and did a make. I copied all the *.ppu and *.o files to the /opt/fpc/units/linux directory. Then I went in and did a make in the fcl and gtk directories. So far, everything worked just fine.

Finally, I went into the /opt/fpc/api directory and tried to do a make and that is where the trouble started. I got the following error there:

Compiling video.pas
Fatal: Invalid PPU-File entry: 14
make: *** [video.ppu] Error 1

So obviously this didn't work. I event tried doing a 'make clean' to start from scratch. Still got the same error.

Then I tried compiling the Simple IDE that I am working on by using: ppc386 lazaruside.pp

This worked fine before I did this last update. But now I get the following error:

Compiling lazaruside.pp
text.inc(23,1) Fatal: Invalid PPU-File entry: 14

and that is it. It doesn't compile any more. I have the FPCDIR variable setup to /opt/fpc and have the Makefile and makefile.fpc files from the /opt/fpc/base directory copied to /opt/fpc. So as far as I can tell, everything is setup properly.

I have the 0.99.12 compiler installed from the .rpm's. When I use that compiler on the lazaruside.pp file, it compiles perfectly. But I cannot get it to compile with the new 0.99.13 compiler in the /opt/fpc directory.

So now I am stumped and not sure exactly what to do. I would like to be able to use the latest compiler with the new fixes in, but I cannot get it to work. Does anyone know what is causing these errors and how I can fix them? If so, please let me know.

Thanks...Curtis

Reply by email

Michael A. Hess
to Cliff Baeseman: Shane may be off line for a little while yet. He lives 100 miles to the east of myself.…
Cliff Baeseman wrote 5 lines
Shane may be off line for a little while yet. He lives 100 miles to the east of myself. We had some wicked electrical storms roll thru about a hour and a half ago. They should be about on top of him or just past.

No problem. You should have gotten my direct email by now. I had enough to keep me busy this evening. :-)

Hopefully this weekend we can do another big push.

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Cliff Baeseman

Shane may be off line for a little while yet. He lives 100 miles to the east of myself. We had some wicked electrical storms roll thru about a hour and a half ago. They should be about on top of him or just past.

Cliff

Earlier message 32 lines
-----Original Message----- From: Michael A. Hess To: Lazarus-List Date: Thursday, July 08, 1999 8:06 PM Subject: [lazarus] Dispatch is fixed >Shane, > >I just cycled a new compiler. Not sure if it is required but do a "make >clean" on everything before building it. The recompile fcl, gtk, from >scratch. I think Peter said something about there being a new ppu format >and if I am remembering correctly it would be a good idea to "make >clean" first. > >Anyway I did that and then built and ran my msgtest program that uses >"Dispatch" instead of "DispatchStr" and it worked like a charm. :-) > >When are you getting the latest stuff into CVS? I want to try and do >some work tonight but I want to work on your combined stuff. > >-- >==== Programming my first best destiny! ==== > >Michael A. Hess Miracle Concepts, Inc. > http://www.miraclec.com > >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus >

Reply by email

Michael A. Hess

Shane,

I just cycled a new compiler. Not sure if it is required but do a "make clean" on everything before building it. The recompile fcl, gtk, from scratch. I think Peter said something about there being a new ppu format and if I am remembering correctly it would be a good idea to "make clean" first.

Anyway I did that and then built and ran my msgtest program that uses "Dispatch" instead of "DispatchStr" and it worked like a charm. :-)

When are you getting the latest stuff into CVS? I want to try and do some work tonight but I want to work on your combined stuff.

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Shane Miller

do a
rm -f *.ppu
and a
rm -f *.o
and that should fix it for now.
It's something with the compiler finding old versions of the PPU files.

Shane

Earlier message 66 lines
-----Original Message----- From: Curtis White To: Date: Friday, July 09, 1999 2:23 PM Subject: [lazarus] PPU Compiler Errors > >I just updated all my FPC files from CVS. I compiled the compiler with 'make >cycle'. Then I copied the new ppc386 file to the /opt/fpc directory overwriting >the previous version. Then I went into the /opt/fpc/rtl directory and did a >make. I copied all the *.ppu and *.o files to the /opt/fpc/units/linux >directory. Then I went in and did a make in the fcl and gtk directories. So far, >everything worked just fine. > >Finally, I went into the /opt/fpc/api directory and tried to do a make and that >is where the trouble started. I got the following error there: > >Compiling video.pas >Fatal: Invalid PPU-File entry: 14 >make: *** [video.ppu] Error 1 > >So obviously this didn't work. I event tried doing a 'make clean' to start >from scratch. Still got the same error. > >Then I tried compiling the Simple IDE that I am working on by using: > ppc386 lazaruside.pp > >This worked fine before I did this last update. But now I get the following >error: > >Compiling lazaruside.pp >text.inc(23,1) Fatal: Invalid PPU-File entry: 14 > >and that is it. It doesn't compile any more. I have the FPCDIR variable setup >to /opt/fpc and have the Makefile and makefile.fpc files from the >/opt/fpc/base directory copied to /opt/fpc. So as far as I can tell, everything >is setup properly. > >I have the 0.99.12 compiler installed from the .rpm's. When I use that compiler >on the lazaruside.pp file, it compiles perfectly. But I cannot get it to >compile with the new 0.99.13 compiler in the /opt/fpc directory. > >So now I am stumped and not sure exactly what to do. I would like to be able to >use the latest compiler with the new fixes in, but I cannot get it to work. Does >anyone know what is causing these errors and how I can fix them? If so, please >let me know. > > >Thanks...Curtis > >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus >

Reply by email

Curtis White
to Peter Vreman: No, the problem is that in /etc/ppc386.cfg the unit path is only pointing to the 0.99.12…

Yep, that was the problem. It works great now. Now I can try to get the Simple IDE finished. Thanks.

Curtis

On 10-Jul-99 Peter Vreman wrote 99 lines
At 06:38 10-7-99 , you wrote: >do a >rm -f *.ppu >and a >rm -f *.o >and that should fix it for now. >It's something with the compiler finding old versions of the PPU files. No, the problem is that in /etc/ppc386.cfg the unit path is only pointing to the 0.99.12 files. You need to add to /etc/ppc386.cfg: #ifdef VER0_99_13 -Fu/opt/fpc/rtl/linux -Fu/opt/fpc/fcl/linux -Fu/opt/fpc/gtk -Fu/opt/fpc/api -Fu/opt/fpc/fv #endif >Shane > >-----Original Message----- >From: Curtis White >To: >Date: Friday, July 09, 1999 2:23 PM >Subject: [lazarus] PPU Compiler Errors > > > > > >I just updated all my FPC files from CVS. I compiled the compiler with >'make > >cycle'. Then I copied the new ppc386 file to the /opt/fpc directory >overwriting > >the previous version. Then I went into the /opt/fpc/rtl directory and did a > >make. I copied all the *.ppu and *.o files to the /opt/fpc/units/linux > >directory. Then I went in and did a make in the fcl and gtk directories. So >far, > >everything worked just fine. > > > >Finally, I went into the /opt/fpc/api directory and tried to do a make and >that > >is where the trouble started. I got the following error there: > > > >Compiling video.pas > >Fatal: Invalid PPU-File entry: 14 > >make: *** [video.ppu] Error 1 > > > >So obviously this didn't work. I event tried doing a 'make clean' to start > >from scratch. Still got the same error. > > > >Then I tried compiling the Simple IDE that I am working on by using: > > ppc386 lazaruside.pp > > > >This worked fine before I did this last update. But now I get the following > >error: > > > >Compiling lazaruside.pp > >text.inc(23,1) Fatal: Invalid PPU-File entry: 14 > > > >and that is it. It doesn't compile any more. I have the FPCDIR variable >setup > >to /opt/fpc and have the Makefile and makefile.fpc files from the > >/opt/fpc/base directory copied to /opt/fpc. So as far as I can tell, >everything > >is setup properly. > > > >I have the 0.99.12 compiler installed from the .rpm's. When I use that >compiler > >on the lazaruside.pp file, it compiles perfectly. But I cannot get it to > >compile with the new 0.99.13 compiler in the /opt/fpc directory. > > > >So now I am stumped and not sure exactly what to do. I would like to be >able to > >use the latest compiler with the new fixes in, but I cannot get it to work. >Does > >anyone know what is causing these errors and how I can fix them? If so, >please > >let me know. > > > > > >Thanks...Curtis > > > >_________________________________________________________________ > > To unsubscribe: mail with > > "unsubscribe" as the Subject > > archives at http://www.miraclec.com/list_archives/lazarus > > > >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

----------------------------------
Curtis White
Curtis White
http://www.teleport.com/~osiriz/
----------------------------------

Reply by email

Peter Vreman
to Shane Miller: do a rm -f *.ppu and a rm -f *.o and that should fix it for now. It's something with the…
you wrote 6 lines
do a rm -f *.ppu and a rm -f *.o and that should fix it for now. It's something with the compiler finding old versions of the PPU files.

No, the problem is that in /etc/ppc386.cfg the unit path is only pointing to the 0.99.12 files. You need to add to /etc/ppc386.cfg:

#ifdef VER0_99_13
-Fu/opt/fpc/rtl/linux
-Fu/opt/fpc/fcl/linux
-Fu/opt/fpc/gtk
-Fu/opt/fpc/api
-Fu/opt/fpc/fv
#endif

Show quoted text 73 lines
Shane -----Original Message----- From: Curtis White To: Date: Friday, July 09, 1999 2:23 PM Subject: [lazarus] PPU Compiler Errors > >I just updated all my FPC files from CVS. I compiled the compiler with 'make >cycle'. Then I copied the new ppc386 file to the /opt/fpc directory overwriting >the previous version. Then I went into the /opt/fpc/rtl directory and did a >make. I copied all the *.ppu and *.o files to the /opt/fpc/units/linux >directory. Then I went in and did a make in the fcl and gtk directories. So far, >everything worked just fine. > >Finally, I went into the /opt/fpc/api directory and tried to do a make and that >is where the trouble started. I got the following error there: > >Compiling video.pas >Fatal: Invalid PPU-File entry: 14 >make: *** [video.ppu] Error 1 > >So obviously this didn't work. I event tried doing a 'make clean' to start >from scratch. Still got the same error. > >Then I tried compiling the Simple IDE that I am working on by using: > ppc386 lazaruside.pp > >This worked fine before I did this last update. But now I get the following >error: > >Compiling lazaruside.pp >text.inc(23,1) Fatal: Invalid PPU-File entry: 14 > >and that is it. It doesn't compile any more. I have the FPCDIR variable setup >to /opt/fpc and have the Makefile and makefile.fpc files from the >/opt/fpc/base directory copied to /opt/fpc. So as far as I can tell, everything >is setup properly. > >I have the 0.99.12 compiler installed from the .rpm's. When I use that compiler >on the lazaruside.pp file, it compiles perfectly. But I cannot get it to >compile with the new 0.99.13 compiler in the /opt/fpc directory. > >So now I am stumped and not sure exactly what to do. I would like to be able to >use the latest compiler with the new fixes in, but I cannot get it to work. Does >anyone know what is causing these errors and how I can fix them? If so, please >let me know. > > >Thanks...Curtis > >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus > _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email