[Lazarus] Compile error on ubuntu jaunty

Vincent Snijders vsnijders at vodafonevast.nl
Fri Aug 14 12:05:45 CEST 2009


Michael Van Canneyt schreef:
>>> /usr/lib/lazarus/components/fpweb/cgiapp.pp(229,22) Error: Identifier
>>> not found "FileExistsUTF8"
>>>
>>
>> Guys,
>>
>> Please help with any hints on this, I'm still stuck on this error.
>>
>> Anyone who using ubuntu with lazarus please give me some clues.
> 
> The function is in the fileutil.pas unit of lazarus. Please add fileutil 
> to the uses clause of the cgiapp.pp file.

I tried to compile that unit with fpc 2.2.4 using Lazarus -> Run -> Build file:
C:\lazarus\source\git\lazarus\components\fpweb\cgiapp.pp(416,28) Error: Wrong number 
of parameters specified for call to "ProcessMultiPart"
C:\lazarus\source\git\lazarus\components\fpweb\cgiapp.pp(418,26) Error: Wrong number 
of parameters specified for call to "ProcessURLEncoded"
C:\lazarus\source\git\lazarus\components\fpweb\cgiapp.pp(445,36) Error: Wrong number 
of parameters specified for call to "ProcessQueryString"
C:\lazarus\source\git\lazarus\components\fpweb\cgiapp.pp(599) Fatal: There were 3 
errors compiling module, stopping

So, to me it seems this unit is more broken than a missing uses FileUtil.

Vincent




More information about the Lazarus mailing list