[lazarus] fpc1.9.0 beta and lazarus problem!
C Western
mftq75 at dsl.pipex.com
Sun Nov 9 06:44:24 EST 2003
It seems to be an error in the run time library.
I can fix this by changing AssignPipe in rtl/linux/unixsysc.inc
Function AssignPipe(var pipe_in,pipe_out:longint):boolean; [public,
alias : 'FPC_SYSC_ASSIGNPIPE'];
{
Sets up a pair of file variables, which act as a pipe. The first one can
be read from, the second one can be written to.
If the operation was unsuccesful, linuxerror is set.
}
var
pip : tpipe;
begin
AssignPipe := do_SysCall(SysCall_nr_pipe,longint(@pip)) = 0;
if AssignPipe then begin
pipe_in:=pip[1];
pipe_out:=pip[2];
end else
linuxerror:=fpgeterrno;
end;
though there seems to be other problems (with text boxes?) so I have
gone back to 1.0.10
Colin
Mattias Gaertner wrote:
>On Sun, 9 Nov 2003 19:19:56 -0800
>"GongYu" <425009 at sina.com> wrote:
>
>
>
>>I installed the fpc1.9.0 beta and compiled lazarus under fpc1.9.0,
>>it can sucessful build.
>>
>>I start lazarus and create new project,
>>but when I run the project, the lazarus IDE said "can not create pipe "
>>can anyone tell me how to avoid this error?
>>
>>
>
>Avoid 1.9. ;)
>
>I'm also interested in the solution. Is this a bug in the fcl or in the
>compiler?
>
>
>Mattias
>
>_________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
> archives at http://www.lazarus.freepascal.org/mailarchives
>
>
More information about the Lazarus
mailing list