Daniel Hagen wrote:

> After i installed the SVGALIB without any errors and try
> to compile a programm i get errors like this for example.
> Programm : Fraktal .C from your homepage.
> 
> 
> /tmp/ccAZ0wbr.o: In function `main':
> /tmp/ccAZ0wbr.o(.text+0x92): undefined reference to `vga_init'
> /tmp/ccAZ0wbr.o(.text+0x9c): undefined reference to `vga_setmode'
> /tmp/ccAZ0wbr.o(.text+0xa9): undefined reference to `vga_setcolor'
> /tmp/ccAZ0wbr.o(.text+0x353): undefined reference to `vga_drawpixel'
> /tmp/ccAZ0wbr.o(.text+0x371): undefined reference to `vga_getch'
> /tmp/ccAZ0wbr.o(.text+0x37b): undefined reference to `vga_setmode'
> collect2: ld returned 1 exit status

You need to link against svgalib at the compiling time, using -lvga in the gcc syntax.
        
        Augusto

------------------------------------------------------------------
Unsubscribe:  To:   [EMAIL PROTECTED]
              Body: unsubscribe linux-svgalib

Reply via email to