[fpc-pascal]linker error
Georgi Georgiev
skelet_bg at yahoo.com
Fri Aug 3 15:42:19 CEST 2001
--- Matti Hamalainen <mhamalai at ratol.fi> wrote: > On
Wed, 1 Aug 2001, Georgi Georgiev wrote:
>
> > > > program ld_test;
> > > >
> > > > function sys_call(str:pchar):longint;
> > > > external 'libc' name 'system';
> > > >
> > > > begin
> > > > sys_call('ls');
> > > > end.
> > > >
> > > > --------------------------------
> > >
> > > Add a {$linklib c} at the top.
> >
> > This line don't change anything !
>
> You probably don't have the paths set right in the
> configuration file.
>
> It should be in /etc/ppc386.cfg.
I solved the problem - it was dependency problem.
On Debian 2.2 the package libc6-dev must be installed
!
=====
Skelet
====== http://skelet.hit.bg
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
More information about the fpc-pascal
mailing list