Lazarus
Home
Forum
Help
TinyPortal
Search
Login
Register
Lazarus
»
Free Pascal
»
Windows
(Moderators:
FPK
,
Tomas Hajny
) »
[ SOLVED ] Make does not know how to build source files not found
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
FAQ
Wiki
Bugtracker
Packages
IRC channel
Developer Blog
Follow us on Twitter
Latest SVN
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
Search
Advanced search
« previous
next »
Print
Pages: [
1
]
Author
Topic: [ SOLVED ] Make does not know how to build source files not found (Read 1708 times)
matfanjol
Newbie
Posts: 2
[ SOLVED ] Make does not know how to build source files not found
«
on:
July 02, 2016, 05:31:28 pm »
Hello to everybody,
I need to build a modified version of FPC 2.6.4 so I have downloaded the
/fpc/tags/release_2_6_4
svn tree, done my changes and started the build.
During the build that I start via
make all OS_TARGET=win32 CPU_TARGET=i386
I get errors like the following
Code: Text
[Select]
make[7]: Entering directory `C:/Temp/fpc/rtl/win32'
...
C:/Temp/itosac_installer/32bit/fpc/ppc386.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/Temp/fpc/rtl/units/i386-win32 -di386 -dRELEASE ../inc/macpas.pp
make[7]: *** No rule to make target `iso7185.ppu', needed by `fpc_units'. Stop.
make[7]: Leaving directory `C:/Temp/fpc/rtl/win32'
make[6]: *** [win32_all] Error 2
make[6]: Leaving directory `C:/Temp/fpc/rtl'
make[5]: *** [rtl] Error 2
make[5]: Leaving directory `C:/Temp/fpc/compiler'
make[4]: *** [next] Error 2
make[4]: Leaving directory `C:/Temp/fpc/compiler'
make[3]: *** [ppc1.exe] Error 2
make[3]: Leaving directory `C:/Temp/fpc/compiler'
make[2]: *** [cycle] Error 2
make[2]: Leaving directory `C:/Temp/fpc/compiler'
make[1]: *** [compiler_cycle] Error 2
make[1]: Leaving directory `C:/Temp/fpc'
make: *** [build-stamp.i386-win32] Error 2
I have looked at the Makefile and it is correct: there are no indications about how to build the iso7185, but if I copy the
rtl\inc
files (where iso7185.pp is) inside the compiling directory
rtl\win32
it builds it and it goes on.
So, I think there is something missing in my environment.
If I do that manual copy, the compilation goes on, but later I will get errors on
packages\hash
,
packages\pasjpeg
, etc. and in those cases it works copying the
src
files (i.e. copying
packages\hash\src
inside
packages\hash
).
I have tried to change or force some
-Fi
,
-Fl
,
-Fu
and
-I
parameters providing the
src
,
win
,
inc
folders (with
..
,
..\..
, etc.) but without success.
Any suggestions about how to be able to build it without copying the files manually?
Thanks!
«
Last Edit: July 03, 2016, 09:57:27 am by matfanjol
»
Logged
marcov
Global Moderator
Hero Member
Posts: 6097
Re: Make does not know how to build source files not found
«
Reply #1 on:
July 02, 2016, 11:46:04 pm »
Usually such behaviour is due conflicting tool chains in the path.
Try to put just the FPC dir and windows dirs in the %PATH%.
Logged
matfanjol
Newbie
Posts: 2
[ SOLVED ] Re: Make does not know how to build source files not found
«
Reply #2 on:
July 03, 2016, 09:57:05 am »
Hello MarcoV,
I have tried it, but without success.
I have solved it few minutes ago: the problem is the compiler.
I have successfully compiled FPC 2.6.4 compiling it with FPC 2.6.0, the only working.
After the successfull compilation, I have compiled it again with the new FPC 2.6.4 and everything is fine.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Free Pascal
»
Windows
(Moderators:
FPK
,
Tomas Hajny
) »
[ SOLVED ] Make does not know how to build source files not found
Recent
Compiler can't find TPU f...
by
Thaddy
[
Today
at 02:33:02 pm]
MacOS Installation is a m...
by
tvleavitt
[
Today
at 02:17:05 pm]
Qué tableta gráfica para ...
by
lainz
[
Today
at 02:13:43 pm]
macOS 32-bit app warning
by
Hansaplast
[
Today
at 02:07:30 pm]
DBGird field dimension bl...
by
xinyiman
[
Today
at 01:52:37 pm]
JButton font color
by
exdatis
[
Today
at 01:23:04 pm]
how can i show two digit ...
by
Bart
[
Today
at 01:10:23 pm]
Is there a Bitfield contr...
by
tr_escape
[
Today
at 01:09:13 pm]
Reorder menu items with m...
by
CM630
[
Today
at 12:52:49 pm]
FrameBrowser substring pr...
by
Sniper
[
Today
at 12:33:39 pm]