Sign in Join

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

Mailing lists / fpc-pascal / 2009-01

Compiler error

10 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

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

Chris Kirkpatrick

I have recently been getting the following error when tring to compile fpc using the standard sequence:
svn update fpc
make clean
make all
I tried deleting my complete fpc repository and checking out again; same thing happened.
Currently using SVN r12590.
Is this a known problem, should I report it as a bug, or am I doing something wrong?
Chris

... last few lines of compilation:

/home/kirkpatc/FreePascal/fpc/trunk/compiler/ppc386 -XX -CX -Ur -Xs -O2 -n -S2h -Fu/home/kirkpatc
/FreePascal/fpc/trunk/rtl/units/i386-linux
-Fu/home/kirkpatc/FreePascal/fpc/trunk/packages/fcl-ba se/units/i386-linux
-Fu/home/kirkpatc/FreePascal/fpc/trunk/packages/iconvenc -FE. -FUunits/i386-l
inux -Fl/usr/lib/gcc/i486-linux-gnu/4.3.2 -Flinclude -Fl/etc/ld.so.conf.d/*.conf -Fl/usr/lib/jvm/
java-6-sun-1.6.0.00/jre/lib/i386/jli -di386 -dRELEASE src/sax_xml.pp /home/kirkpatc/FreePascal/fpc/trunk/compiler/ppc386 -XX -CX -Ur -Xs -O2 -n -S2h -Fu/home/kirkpatc
/FreePascal/fpc/trunk/rtl/units/i386-linux
-Fu/home/kirkpatc/FreePascal/fpc/trunk/packages/fcl-ba se/units/i386-linux
-Fu/home/kirkpatc/FreePascal/fpc/trunk/packages/iconvenc -FE. -FUunits/i386-l
inux -Fl/usr/lib/gcc/i486-linux-gnu/4.3.2 -Flinclude -Fl/etc/ld.so.conf.d/*.conf -Fl/usr/lib/jvm/
java-6-sun-1.6.0.00/jre/lib/i386/jli -di386 -dRELEASE src/xmliconv.pas Fatal: Can't find unit iconvenc used by xmliconv
Fatal: Compilation aborted
make[4]: *** [xmliconv.ppu] Error 1
make[4]: Leaving directory
`/home/kirkpatc/FreePascal/fpc/trunk/packages/fcl-xml' make[3]: *** [fpc_smart] Error 2
make[3]: Leaving directory
`/home/kirkpatc/FreePascal/fpc/trunk/packages/fcl-xml' make[2]: *** [fcl-xml_smart] Error 2
make[2]: Leaving directory `/home/kirkpatc/FreePascal/fpc/trunk/packages' make[1]: *** [packages_smart] Error 2
make[1]: Leaving directory `/home/kirkpatc/FreePascal/fpc/trunk' make: *** [build-stamp.i386-linux] Error 2

Jonas Maebe
to Chris Kirkpatrick
Chris Kirkpatrick wrote 10 lines
I have recently been getting the following error when tring to compile fpc using the standard sequence: svn update fpc make clean make all I tried deleting my complete fpc repository and checking out again; same thing happened. Currently using SVN r12590. Is this a known problem, should I report it as a bug, or am I doing something wrong?

It was a known problem after r12587. I've fixed it now.

Jonas

Vincent Snijders
to Jonas Maebe
Jonas Maebe wrote 17 lines
On 25 Jan 2009, at 11:43, Chris Kirkpatrick wrote: > I have recently been getting the following error when tring to compile > fpc using the standard sequence: > svn update fpc > make clean > make all > I tried deleting my complete fpc repository and checking out again; > same thing happened. > Currently using SVN r12590. > Is this a known problem, should I report it as a bug, or am I doing > something wrong? It was a known problem after r12587. I've fixed it now.

It still doesn't work on windows vista 64 bits:

...
make.exe[3]: Leaving directory `c:/Lazarus/source/fpc/2.3/packages/fpmkunit' make.exe[2]: *** No rule to make target `iconvenc_all', needed by `fcl-xml_all'.
Stop.
make.exe[2]: Leaving directory `c:/Lazarus/source/fpc/2.3/packages' make.exe[1]: *** [packages_all] Error 2
make.exe[1]: Leaving directory `c:/Lazarus/source/fpc/2.3' c:\fpc\2.2.2\bin\x86_64-win64\make.exe: *** [build-stamp.x86_64-win64] Error 2

Is this a known problem, should I report it as a bug, or am I doing something wrong?

Vincent

Michael Van Canneyt
to Vincent Snijders
Vincent Snijders wrote 33 lines
Jonas Maebe schreef: > > On 25 Jan 2009, at 11:43, Chris Kirkpatrick wrote: > > > I have recently been getting the following error when tring to compile fpc > > using the standard sequence: > > svn update fpc > > make clean > > make all > > I tried deleting my complete fpc repository and checking out again; same > > thing happened. > > Currently using SVN r12590. > > Is this a known problem, should I report it as a bug, or am I doing > > something wrong? > > It was a known problem after r12587. I've fixed it now. > > It still doesn't work on windows vista 64 bits: ... make.exe[3]: Leaving directory `c:/Lazarus/source/fpc/2.3/packages/fpmkunit' make.exe[2]: *** No rule to make target `iconvenc_all', needed by `fcl-xml_all'. Stop. make.exe[2]: Leaving directory `c:/Lazarus/source/fpc/2.3/packages' make.exe[1]: *** [packages_all] Error 2 make.exe[1]: Leaving directory `c:/Lazarus/source/fpc/2.3' c:\fpc\2.2.2\bin\x86_64-win64\make.exe: *** [build-stamp.x86_64-win64] Error 2 Is this a known problem, should I report it as a bug, or am I doing something wrong?

How can this error happen ?
For fcl-xml, there is no dependency on iconvenc_all for windows targets ?

[require]
packages=fcl-base
packages_linux=iconvenc
packages_darwin=iconvenc
packages_freebsd=iconvenc

Michael.

Vincent Snijders
to Michael Van Canneyt
Michael Van Canneyt wrote 42 lines
On Sun, 25 Jan 2009, Vincent Snijders wrote: > Jonas Maebe schreef: >> On 25 Jan 2009, at 11:43, Chris Kirkpatrick wrote: >> >>> I have recently been getting the following error when tring to compile fpc >>> using the standard sequence: >>> svn update fpc >>> make clean >>> make all >>> I tried deleting my complete fpc repository and checking out again; same >>> thing happened. >>> Currently using SVN r12590. >>> Is this a known problem, should I report it as a bug, or am I doing >>> something wrong? >> It was a known problem after r12587. I've fixed it now. >> >> > It still doesn't work on windows vista 64 bits: > > ... > make.exe[3]: Leaving directory `c:/Lazarus/source/fpc/2.3/packages/fpmkunit' > make.exe[2]: *** No rule to make target `iconvenc_all', needed by > `fcl-xml_all'. > Stop. > make.exe[2]: Leaving directory `c:/Lazarus/source/fpc/2.3/packages' > make.exe[1]: *** [packages_all] Error 2 > make.exe[1]: Leaving directory `c:/Lazarus/source/fpc/2.3' > c:\fpc\2.2.2\bin\x86_64-win64\make.exe: *** [build-stamp.x86_64-win64] Error 2 > > Is this a known problem, should I report it as a bug, or am I doing something > wrong? How can this error happen ? For fcl-xml, there is no dependency on iconvenc_all for windows targets ? [require] packages=fcl-base packages_linux=iconvenc packages_darwin=iconvenc packages_freebsd=iconvenc

See makefile.fpc in the packages dir:
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/Makefile.fpc?r1=12591&r2=12590&pathrev=12591

Vincent

Michael Van Canneyt
to Vincent Snijders
Vincent Snijders wrote 51 lines
Michael Van Canneyt schreef: > > On Sun, 25 Jan 2009, Vincent Snijders wrote: > > > Jonas Maebe schreef: > > > On 25 Jan 2009, at 11:43, Chris Kirkpatrick wrote: > > > > > > > I have recently been getting the following error when tring to compile > > > > fpc > > > > using the standard sequence: > > > > svn update fpc > > > > make clean > > > > make all > > > > I tried deleting my complete fpc repository and checking out again; > > > > same > > > > thing happened. > > > > Currently using SVN r12590. > > > > Is this a known problem, should I report it as a bug, or am I doing > > > > something wrong? > > > It was a known problem after r12587. I've fixed it now. > > > > > > > > It still doesn't work on windows vista 64 bits: > > > > ... > > make.exe[3]: Leaving directory > > `c:/Lazarus/source/fpc/2.3/packages/fpmkunit' > > make.exe[2]: *** No rule to make target `iconvenc_all', needed by > > `fcl-xml_all'. > > Stop. > > make.exe[2]: Leaving directory `c:/Lazarus/source/fpc/2.3/packages' > > make.exe[1]: *** [packages_all] Error 2 > > make.exe[1]: Leaving directory `c:/Lazarus/source/fpc/2.3' > > c:\fpc\2.2.2\bin\x86_64-win64\make.exe: *** [build-stamp.x86_64-win64] > > Error 2 > > > > Is this a known problem, should I report it as a bug, or am I doing > > something > > wrong? > > How can this error happen ? For fcl-xml, there is no dependency on > iconvenc_all for windows targets ? > > [require] > packages=fcl-base > packages_linux=iconvenc > packages_darwin=iconvenc > packages_freebsd=iconvenc See makefile.fpc in the packages dir: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/Makefile.fpc?r1=12591&r2=12590&pathrev=12591

Hm. Hopefully fixed in rev. 12594. Please test.

Michael.

Chris Kirkpatrick
to Jonas Maebe: It was a known problem after r12587. I've fixed it now. Jonas
Jonas Maebe wrote 19 lines
On 25 Jan 2009, at 11:43, Chris Kirkpatrick wrote: > I have recently been getting the following error when tring to > compile fpc using the standard sequence: > svn update fpc > make clean > make all > I tried deleting my complete fpc repository and checking out again; > same thing happened. > Currently using SVN r12590. > Is this a known problem, should I report it as a bug, or am I doing > something wrong? It was a known problem after r12587. I've fixed it now. Jonas

Thanks - fine now
Chris

Vincent Snijders
to Michael Van Canneyt: Hm. Hopefully fixed in rev. 12594. Please test. Michael.
Michael Van Canneyt wrote 20 lines
On Sun, 25 Jan 2009, Vincent Snijders wrote: > Michael Van Canneyt schreef: >>> Is this a known problem, should I report it as a bug, or am I doing >>> something >>> wrong? >> How can this error happen ? For fcl-xml, there is no dependency on >> iconvenc_all for windows targets ? >> >> [require] >> packages=fcl-base >> packages_linux=iconvenc >> packages_darwin=iconvenc >> packages_freebsd=iconvenc > See makefile.fpc in the packages dir: > http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/Makefile.fpc?r1=12591&r2=12590&pathrev=12591 Hm. Hopefully fixed in rev. 12594. Please test.

I don't think so:
make.exe[3]: Leaving directory `c:/Lazarus/source/fpc/2.3/packages/fpmkunit' make.exe[2]: *** No rule to make target `iconvenc_all', needed by `fcl-xml_all'.
Stop.
make.exe[2]: Leaving directory `c:/Lazarus/source/fpc/2.3/packages' make.exe[1]: *** [packages_all] Error 2
make.exe[1]: Leaving directory `c:/Lazarus/source/fpc/2.3' c:\fpc\2.2.2\bin\x86_64-win64\make.exe: *** [build-stamp.x86_64-win64] Error 2

c:\Lazarus\source\fpc\2.3>svnversion
12594

Vincent

Ivo Steinmann
to Michael Van Canneyt: Hm. Hopefully fixed in rev. 12594. Please test. Michael.
Show quoted text 69 lines
On Sun, 25 Jan 2009, Vincent Snijders wrote: > Michael Van Canneyt schreef: > >> On Sun, 25 Jan 2009, Vincent Snijders wrote: >> >> >>> Jonas Maebe schreef: >>> >>>> On 25 Jan 2009, at 11:43, Chris Kirkpatrick wrote: >>>> >>>> >>>>> I have recently been getting the following error when tring to compile >>>>> fpc >>>>> using the standard sequence: >>>>> svn update fpc >>>>> make clean >>>>> make all >>>>> I tried deleting my complete fpc repository and checking out again; >>>>> same >>>>> thing happened. >>>>> Currently using SVN r12590. >>>>> Is this a known problem, should I report it as a bug, or am I doing >>>>> something wrong? >>>>> >>>> It was a known problem after r12587. I've fixed it now. >>>> >>>> >>>> >>> It still doesn't work on windows vista 64 bits: >>> >>> ... >>> make.exe[3]: Leaving directory >>> `c:/Lazarus/source/fpc/2.3/packages/fpmkunit' >>> make.exe[2]: *** No rule to make target `iconvenc_all', needed by >>> `fcl-xml_all'. >>> Stop. >>> make.exe[2]: Leaving directory `c:/Lazarus/source/fpc/2.3/packages' >>> make.exe[1]: *** [packages_all] Error 2 >>> make.exe[1]: Leaving directory `c:/Lazarus/source/fpc/2.3' >>> c:\fpc\2.2.2\bin\x86_64-win64\make.exe: *** [build-stamp.x86_64-win64] >>> Error 2 >>> >>> Is this a known problem, should I report it as a bug, or am I doing >>> something >>> wrong? >>> >> How can this error happen ? For fcl-xml, there is no dependency on >> iconvenc_all for windows targets ? >> >> [require] >> packages=fcl-base >> packages_linux=iconvenc >> packages_darwin=iconvenc >> packages_freebsd=iconvenc >> > See makefile.fpc in the packages dir: > http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/Makefile.fpc?r1=12591&r2=12590&pathrev=12591 > Hm. Hopefully fixed in rev. 12594. Please test. Michael. _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Works not on amd64 linux:

/usr/src/fpc/compiler/ppcx64 -g -gv -gl -XX -CX -Ur -Xs -O2 -n -S2h -Fu/usr/src/fpc/rtl/units/x86_64-linux
-Fu/usr/src/fpc/packages/fcl-base/units/x86_64-linux -Fu/usr/src/fpc/packages/iconvenc -FE. -FUunits/x86_64-linux -Cg -Fl/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2 -Fl/usr/local/lib -Fl//usr/lib32/opengl/nvidia/lib -Fl//usr/lib64/opengl/nvidia/lib -Fl/lib -Fl/usr/lib -Fl/lib64 -Fl/usr/lib64 -Fl/usr/local/lib64 -Fl/lib32 -Fl/usr/lib32 -Fl/usr/local/lib32
-Fl/usr/x86_64-pc-linux-gnu/lib
-Fl/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2
-Fl/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/32 -Fl/usr/lib64/nspr -Fl/usr/lib64/nss -Fl/opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/ -Fl/opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/native_threads/ -Fl/opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/classic/ -Fl/opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/server/ -Fl/usr/lib64/qca2 -Fl/usr/lib/qt4 -Fl/usr/lib64/qt4 -Fl/usr/lib32/qt4 -Fl/usr/qt/3/lib -Fl/usr/qt/3/lib64 -Fl/usr/qt/3/lib32 -Fl/usr/games/lib -Fl/usr/games/lib64 -Fl/usr/games/lib32 -Fl/usr/lib32/libstdc++-v3/ -dx86_64 -dRELEASE src/xmliconv.pas
Fatal: Can't find unit iconvenc used by xmliconv
Fatal: Compilation aborted
make[4]: *** [xmliconv.ppu] Fehler 1
make[4]: Leaving directory `/usr/src/fpc/packages/fcl-xml' make[3]: *** [fpc_smart] Fehler 2
make[3]: Leaving directory `/usr/src/fpc/packages/fcl-xml' make[2]: *** [fcl-xml_smart] Fehler 2
make[2]: Leaving directory `/usr/src/fpc/packages' make[1]: *** [packages_smart] Fehler 2
make[1]: Leaving directory `/usr/src/fpc'
make: *** [build-stamp.x86_64-linux] Fehler 2

Vincent Snijders
to Vincent Snijders: I don't think so: make.exe[3]: Leaving directory…
Vincent Snijders wrote 18 lines
Michael Van Canneyt schreef: > Hm. Hopefully fixed in rev. 12594. Please test. > I don't think so: make.exe[3]: Leaving directory `c:/Lazarus/source/fpc/2.3/packages/fpmkunit' make.exe[2]: *** No rule to make target `iconvenc_all', needed by `fcl-xml_all'. Stop. make.exe[2]: Leaving directory `c:/Lazarus/source/fpc/2.3/packages' make.exe[1]: *** [packages_all] Error 2 make.exe[1]: Leaving directory `c:/Lazarus/source/fpc/2.3' c:\fpc\2.2.2\bin\x86_64-win64\make.exe: *** [build-stamp.x86_64-win64] Error 2 c:\Lazarus\source\fpc\2.3>svnversion 12594

Fixed in r12595.

Now on to the next error:
c:/Lazarus/source/fpc/2.3/compiler/ppcx64.exe -Ur -Xs -O2 -n -S2h -Fuc:/Lazarus/source/fpc/2.3/rtl/units/x86_64-win64 -Fuc:/Lazarus/source/fpc/2.3/packages/fcl-base/units/x86_64-win64 -Fuc:/Lazarus/source/fpc/2.3/packages/winunits-base/units/x86_64-win64 -Fuc:/Lazarus/source/fpc/2.3/packages/winunits-jedi/units/x86_64-win64 -FE. -FUunits/x86_64-win64 -dx86_64 -dRELEASE src/xmliconv_windows.pas xmliconv_windows.pas(43,41) Error: Call by var for arg no. 3 has to match exactly: Got "LongWord" expected "QWord"
xmliconv_windows.pas(82) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make.exe[3]: *** [xmliconv_windows.ppu] Error 1
make.exe[3]: Leaving directory `c:/Lazarus/source/fpc/2.3/packages/fcl-xml' make.exe[2]: *** [fcl-xml_all] Error 2
make.exe[2]: Leaving directory `c:/Lazarus/source/fpc/2.3/packages' make.exe[1]: *** [packages_all] Error 2

Apparently the xmliconv_windows is not tested on win64.

Vincent