[fpc-pascal]fpc and MySQL

Fernando Lozano fsl at centroin.com.br
Tue Aug 6 21:26:35 CEST 2002


Hi Michael,

> > > > > > `my_compress_alloc':
> > > > > > my_compress.o(.text+0x13c): undefined reference to `compress'
> > > > > > testemysql.pas(55) Error: Error while linking
> > >
> > > Maybe zlib is missing, some distro's have zlib in libc, some not.
> >
> > But adding -lz to the command line don't solve the problem. :-(
> 
> Adding -lz to the compiler command-line is useless. This will only
> display the logo of the compiler.

So there's no to add a library to the linking phase on the command line? I must use compiler directives?


[]s, Fernando Lozano




More information about the fpc-pascal mailing list