From: Jolyon White (jolyon@innovonics.com.au)
Date: Wed 12 Jul 2000 - 05:21:15 IDT
I'm new to SVGALib, I am trying to compile the following simple example program from one of the faqs: #include <stdlib.h> #include <vga.h> int main(void) { vga_init(); vga_setmode(G320x200x256); vga_setcolor(4); vga_drawpixel(10, 10); sleep(5); vga_setmode(TEXT); return 0; } I use the -lvga option to gcc and I get the following from the linker: gcc -lvga -o svgatest svgatest.c /lib/libvga.so: undefined reference to `_xstat' /lib/libvga.so: undefined reference to `_fxstat' collect2: ld returned 1 exit status I am using SVGAlib version 1.4.1 and glibc version 2 (libc.so.6). Can anyone tell me how to resolve these references? Thanks, Jolyon White Innovonics Pty Ltd jolyon@innovonics.com.au
This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:23 IST