[fpc-pascal]Problems with the GRAPH Unit

Michael Van Canneyt michael.vancanneyt at wisa.be
Mon Feb 4 12:53:46 CET 2002


On Mon, 4 Feb 2002, Jonas Maebe wrote:

>
> On zondag, februari 3, 2002, at 02:40 , Daniel Grün wrote:
>
> > Assembling inigraph1
> > Linking inigraph1
> > /usr/lib/libvga.a(mouse.o): In function `ms_init':
> > mouse.o(.text+0x6b5): undefined reference to `pow'
> > inigraph1.pas(33) Warning: Error while linking
> > Closing script ppas.sh
> > 32 Lines compiled, 0.1 sec
>
> This looks like a bug in the svgalib you are using. Can you successfully
> compile C programs that use svgalib?

Pow is in the math library, which should be linked in:

add

{$linklib m}

To your program file.

Michael.





More information about the fpc-pascal mailing list