[fpc-devel] compilation error
Jan Ruzicka
jan.ruzicka at comcast.net
Thu Sep 29 04:45:54 CEST 2005
Hi all
there seems to be a glitch in compiling rtl/unix/baseunix.pp as it
chokes on include bunxovl.inc.
A bunch of "Error: Calling convention doesn't match forward" is spewed.
(see [2])
A quick look around shows some mismatch between definition of
parameters for functions [1].
Jan
[1] function parameters
unix/bunxh.inc:29: Function FpLink (existing : pChar; newone
: pChar): cInt;
unix/bunxovl.inc:23:Function FpLink (existing : AnsiString; newone :
AnsiString): cInt;
bunxh.inc:32: Function FpChown (path : pChar; owner : TUid;
group : TGid): cInt;
bunxovl.inc:38:Function FpChown (path : AnsiString; owner : TUid;
group : TGid): cInt;
[2] errors from make all
bunxovl.inc(23,11) Error: Calling convention doesn't match forward
bunxovl.inc(28,11) Error: Calling convention doesn't match forward
bunxovl.inc(33,11) Error: Calling convention doesn't match forward
bunxovl.inc(38,11) Error: Calling convention doesn't match forward
bunxovl.inc(43,11) Error: Calling convention doesn't match forward
bunxovl.inc(66,11) Error: Calling convention doesn't match forward
bunxovl.inc(71,11) Error: Calling convention doesn't match forward
bunxovl.inc(77,11) Error: Calling convention doesn't match forward
bunxovl.inc(82,11) Error: Calling convention doesn't match forward
bunxovl.inc(88,11) Error: Calling convention doesn't match forward
bunxovl.inc(93,11) Error: Calling convention doesn't match forward
bunxovl.inc(98,11) Error: Calling convention doesn't match forward
bunxovl.inc(103,11) Error: Calling convention doesn't match forward
bunxovl.inc(108,11) Error: Calling convention doesn't match forward
bunxovl.inc(113,10) Error: Calling convention doesn't match forward
bunxovl.inc(118,11) Error: Calling convention doesn't match forward
bunxovl.inc(126,11) Error: Calling convention doesn't match forward
bunxovl.inc(167,11) Error: Calling convention doesn't match forward
bunxovl.inc(173,11) Error: Calling convention doesn't match forward
bunxovl.inc(184,11) Error: Calling convention doesn't match forward
bunxovl.inc(204,11) Error: Calling convention doesn't match forward
bunxovl.inc(224,10) Error: Calling convention doesn't match forward
bunxovl.inc(240,10) Error: Calling convention doesn't match forward
bunxovl.inc(277,10) Error: Calling convention doesn't match forward
bunxovl.inc(286,11) Error: Calling convention doesn't match forward
baseunix.pp(71) Fatal: There were 25 errors compiling module, stopping
baseunix.pp(71) Error: Compilation aborted
make[7]: *** [baseunix.ppu] Error 1
make[6]: *** [darwin_all] Error 2
make[5]: *** [rtl] Error 2
make[4]: *** [next] Error 2
make[3]: *** [ppc1] Error 2
make[2]: *** [cycle] Error 2
make[1]: *** [compiler_cycle] Error 2
make: *** [build-stamp.powerpc-darwin] Error 2
More information about the fpc-devel
mailing list