[fpc-pascal] Compiler error

Ivo Steinmann ivo_steinmann at gmx.net
Sun Jan 25 17:33:17 CET 2009


Michael Van Canneyt schrieb:
> 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  -  fpc-pascal at lists.freepascal.org
> 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




More information about the fpc-pascal mailing list