I would not suggest using oldlinux just for shell. There is a replacement shell implementation in the Unix unit which works.
A.J. On 9/24/07, 12 12 <[EMAIL PROTECTED]> wrote: > I have moved 'oldlinux.pp' in directory which is visible from 'Compiler > options'. > Now Lazarus barks: > > /home/user/Library/vfp/preprocessed/oldlinux.pp(1334,11) Error: Function > is already declared Public/Forward "CreateShellArgV(const > AnsiString):^PChar" > /home/user/Library/vfp/preprocessed/oldlinux.pp(1343,11) Error: Function > is already declared Public/Forward "Execl(const AnsiString)" > /home/user/Library/vfp/preprocessed/oldlinux.pp(1345,11) Error: Function > is already declared Public/Forward "Execle(AnsiString, PPChar)" > /home/user/Library/vfp/preprocessed/oldlinux.pp(1347,11) Error: Function > is already declared Public/Forward "Execlp(AnsiString, PPChar)" > /home/user/Library/vfp/preprocessed/oldlinux.pp(1349,11) Error: Function > is already declared Public/Forward "Shell(const AnsiString):LongInt" > /home/user/Library/vfp/preprocessed/oldlinux.pp(1589,11) Error: Function > is already declared Public/Forward "StringToPPChar(var > AnsiString):^PChar" > /home/user/Library/vfp/preprocessed/oldlinux.pp(1613,1) Fatal: There > were 6 errors compiling module, stopping > > Some piece of 'oldlinux.pp': > > function CreateShellArgV(const prog:string):ppchar; > function CreateShellArgV(const prog:Ansistring):ppchar; > > _________________________________________________________________ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives > -- A.J. Venter Director of Product Development Tel.: +27 21 554 5059 Fax: +27 21 413 2800 Outkast Solutions IT www.outkastsolutions.co.za A division of Global Pact Trading Pty Ltd. www.silentcoder.co.za - Blog scartoonz.silentcoder.co.za - ScarToonz webcomic _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
