Nicolas,
Try compiling your program with the '-lvga' switch.
Eg.:
cc -o myprogram myprogram.c -lvga
Best of luck,
Richard Hills
List Moderator
P2P
Wrox Press
richardhills@w...
On 08/21/00, ""Nicolas Lechugas" <new_world@r...>" wrote:
> Hi to all: I have a problem using the vga_drawpixel function. I have the
following program:
#include <stdio.h>
#include <stdlib.h>
#include <vga.h>
int main (void)
{
vga_drawpixel(50,50);
exit(EXIT_SUCCESS);
}
When I try to compile the program (gcc pixel.c -o pixel) I get the
following
error message
undefined reference to vga_drawpixel
collect2: ld returned 1 exit status
<snipped>