From: Augusto C�sar Radtke (radtke@conectiva.com)
Date: Thu 15 Mar 2001 - 00:07:37 IST
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: listbot@svgalib.org Body: unsubscribe linux-svgalib
This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:23 IST