[fpc-devel] Alternative parsers

Sven Barth pascaldragon at googlemail.com
Tue Oct 19 13:19:47 CEST 2010


Am 19.10.2010 12:47, schrieb Graeme Geldenhuys:
> /opt/fpc-2.4.0/bin/fpc -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE.
> -FU../../rtl/units/x86_64-linux -Cg -dx86_64 -Us -Sg system.pp
> Free Pascal Compiler version 2.4.0 [2009/12/18] for x86_64
> Copyright (c) 1993-2009 by Florian Klaempfl
> thread.inc(411,10) Warning: Function result does not seem to be set
> /opt/fpc-2.4.0/bin/fpc -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE.
> -FU../../rtl/units/x86_64-linux -Cg -dx86_64 ../unix/unixtype.pp
> Free Pascal Compiler version 2.4.0 [2009/12/18] for x86_64
> Copyright (c) 1993-2009 by Florian Klaempfl
> Fatal: Can't find unit objpas used by unixtype
> Fatal: Compilation aborted
> Error: /opt/fpc-2.4.0/bin/ppcx64 returned an error exitcode (normal if you
> did not specify a source file to be compiled)
> make[5]: *** [unixtype.ppu] Error 1
> make[5]: Leaving directory `/opt/git/fpc_cpstrnew/rtl/linux'
> make[4]: *** [linux_all] Error 2
> make[4]: Leaving directory `/opt/git/fpc_cpstrnew/rtl'
> make[3]: *** [rtl] Error 2
> make[3]: Leaving directory `/opt/git/fpc_cpstrnew/compiler'
> make[2]: *** [next] Error 2
> make[2]: Leaving directory `/opt/git/fpc_cpstrnew/compiler'
> make[1]: *** [ppc1] Error 2
> make[1]: Leaving directory `/opt/git/fpc_cpstrnew/compiler'
> make: *** [cycle] Error 2

If I see this correctly, the makefile is trying to compile "unixtype" 
before "objpas" is compiled. Shouldn't "objpas" be the second unit that 
is compiled? Or was something added to "unixtype" that makes it depend 
on "objpas" now while that wasn't the case before?

Regards,
Sven



More information about the fpc-devel mailing list