Sign in Join

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

Mailing lists / fpc-pascal / 2012-05

Errors compiling FPC trunk r21192 x86 windows & existential questions

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Reinier Olislagers

Hi List,

Seem to be having some problems compiling FPC trunk r21192 x86 windows (see below).
However, x64 build does work.

Is this a known problem?
Should I keep pestering the list with these kinds of mails (I can put them up in the bugtracker or just wait and be patient as well ;) What's the answer to the question of life, the universe and everything?

Thanks,
Reinier

make.exe[3]: Entering directory `C:/development/fpctrunk/packages/fpmkunit' C:/development/fpctrunk/compiler/ppc386.exe src/fpmkunit.pp -n -FuC:/development/fpctrunk/rtl/units/i386-win32
-FuC:/development/fpctrunk/packages/paszlib
-FuC:/development/fpctrunk/packages/fcl-process
-FuC:/development/fpctrunk/packages/hash -FUunits_bs/i386-win32 -Fu../paszlib/src -Fu../hash/src -Fi../paszlib/src -Fi../fcl-process/src/win -Fu../fcl-process/src
-Fi../fcl-process/src/win32 -Fi../fcl-process/src/dummy make.exe[3]: Leaving directory `C:/development/fpctrunk/packages/fpmkunit' C:/development/fpctrunk/compiler/ppc386.exe fpmake.pp -n -FuC:/development/fpctrunk/packages/fpmkunit/units_bs/i386-win32 -FuC:/development/fpctrunk/rtl/units/i386-win32
fpmake.pp(33,1) Error: Undefined symbol: INIT_$SYSTEM_$$_ANSISTRING fpmake.pp(33,1) Error: Undefined symbol: INIT_$SYSTEM_$$_RAWBYTESTRING fpmake.pp(33,1) Error: Undefined symbol: INIT_$SYSTEM_$$_WORD fpmake.pp(33,1) Error: Undefined symbol: INIT_$SYSTEM_$$_BYTE fpmake.pp(33,1) Error: Undefined symbol: INIT_$SYSTEM_$$_SMALLINT fpmake.pp(33,1) Error: Undefined symbol: INIT_$SYSTEM_$$_LONGWORD fpmake.pp(33,1) Fatal: There were 6 errors compiling module, stopping Fatal: Compilation aborted
make.exe[2]: *** [fpmake] Error 1
make.exe[2]: Leaving directory `C:/development/fpctrunk/packages' make.exe[1]: *** [packages_smart] Error 2
make.exe[1]: Leaving directory `C:/development/fpctrunk' C:\development\fpcbootstrap\make.exe: *** [build-stamp.i386-win32] Error 2 C:\development\fpcbootstrap\make.exe: Leaving directory `C:/development/fpctrunk
'
Info: Error running fpcup. Technical details: error executing sequence fpc; line: 4, param: FPC
Info: Error running fpcup. Technical details: error executing sequence DefaultWin32; line: 3, param: fpc
FPCUp failed.

Reply by email

Marco van de Voort
to Reinier Olislagers

In our previous episode, Reinier Olislagers said:

Show quoted text 9 lines
Seem to be having some problems compiling FPC trunk r21192 x86 windows (see below). However, x64 build does work. Is this a known problem? Should I keep pestering the list with these kinds of mails (I can put them up in the bugtracker or just wait and be patient as well ;) What's the answer to the question of life, the universe and everything?

Hygiene. Make a simple batch file that recursively zaps all .o and .a and .ppu.

If you encounter problems, run the batchfile, and then update (to restore a few .o that actually belong in SVN). Only then start to look into detail.

Reply by email

Reinier Olislagers
to Marco van de Voort
Marco van de Voort wrote 16 lines
In our previous episode, Reinier Olislagers said: > > Seem to be having some problems compiling FPC trunk r21192 x86 windows > (see below). > However, x64 build does work. > > Is this a known problem? > Should I keep pestering the list with these kinds of mails (I can put > them up in the bugtracker or just wait and be patient as well ;) > What's the answer to the question of life, the universe and everything? Hygiene. Make a simple batch file that recursively zaps all .o and .a and .ppu. If you encounter problems, run the batchfile, and then update (to restore a few .o that actually belong in SVN). Only then start to look into detail.

Oh yes, of course, the interesting case of make clean that... doesn't. One would say I'd have to know better by now. Sounds like some more work on fpcup then... so my forgetting again won't matter ;)

Meanwhile:
del *.o /s
del *.a /s
del *.ppu /s
rem fpcup will do an svn up, make all etc...
fpcup --fpcURL="http://svn.freepascal.org/svn/fpc/trunk" ...and some more arguments...
worked...

Thanks,
Reinier

Reply by email