Recent

Author Topic: Source is newer than release files  (Read 5200 times)

Prognatus

  • Guest
Source is newer than release files
« on: September 19, 2005, 04:48:18 am »
From compiling a program under Lazarus build from Sept. 16, I get a lot of these messages:

C:\lazarus\fpcsrc\rtl\win32\system.pp(5,1) Hint: File C:\lazarus\fpcsrc\rtl\inc\systemh.inc is newer than Release PPU file C:\lazarus\pp\units\i386-win32\rtl\System.ppu

Anyone know why source is newer than the build?
Will a Make of Lazarus fix this?

---
Prognatus

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
RE: Source is newer than release files
« Reply #1 on: September 19, 2005, 09:24:12 am »
Somehow the compiler sees the RTL source files, maybe because you added the fpc.cfg file, maybe because you added the path to it in the compiler options. Compilation should succeed without using files from lazarus\fpcsrc\.

Prognatus

  • Guest
RE: Source is newer than release files
« Reply #2 on: September 19, 2005, 04:25:32 pm »
I have fiddled with compiler options and added some paths lately, especially in "Other Unit Files" and "Include Files", in an attempt to hunt down the SIGSEGV error I've struggled with for some time (you know).  What I did was run the Test compilation, examining all the exhausting "not found" lines, and add paths accordingly until every .pp and .inc was found.  But it didn't help the SIGSEGV error...  :/

If it confuses the compiler, I can always set Compiler options back as it was before.  Should I do that?

Here it how it looks now (added line breaks for readability):

Code: [Select]

   -S2cdgi -CX -Cirot -Ch65536 -Op1 -TWin32 -g -gl -vewnhildm -l
   -FiC:\lazarus\fpcsrc\rtl\inc\
   -FiC:\lazarus\fpcsrc\rtl\win32\
   -FiC:\lazarus\fpcsrc\rtl\i386\
   -FuC:\lazarus\pp\units\i386-win32\rtl\
   -FuC:\lazarus\fpcsrc\rtl\win32\
   -FuC:\lazarus\fpcsrc\rtl\objpas\
   -FuC:\lazarus\fpcsrc\rtl\inc\
   -FuC:\lazarus\lcl\units\i386-win32\
   -FuC:\lazarus\lcl\units\i386-win32\win32\
   -FuC:\lazarus\packager\units\i386-win32\
   -Fu. "-oD:\My Documents\$Project\!willy\willy.exe" -dLCL -dLCLwin32

---
Prognatus

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2584
RE: Source is newer than release files
« Reply #3 on: September 19, 2005, 04:48:04 pm »
For compiling lazarus and other projects, you don't need rtl/fcl sources
so remove all C:\lazarus\fpcsrc\*
You only need unit dirs.
Not doing so wil lead to the most strange intracable problems !
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Prognatus

  • Guest
RE: Source is newer than release files
« Reply #4 on: September 19, 2005, 06:32:19 pm »
OK, thanks for the warning.  I'll do that.
But I'm almost certain I didn't add all of the C:\lazarus\fpcsrc\* paths. Some of these were in there on default, surely?  :)

Any quick way I can check how it looked like in the install version?

---
Prognatus

Anonymous

  • Guest
RE: Source is newer than release files
« Reply #5 on: September 19, 2005, 06:43:37 pm »
Maybe I did all those src-paths anyway, when I think about it...  They're removed now.  The app compiles OK still. :)

 

TinyPortal © 2005-2018