In <94kmgj$q3b$1@news.inet.tele.dk> "Peter Gade Jensen" <rhazn@hillbilly.dk> writes:
>Prøvede lige at compile dit program, men får følgende fejl!! fatter det ik??
>[root@Server
/kode]# make simple
>cc simple.c -o simple
>/tmp/cc8Lgtoi.o: In function `main':
>/tmp/cc8Lgtoi.o(.text+0x4): undefined reference to `vga_init'
>/tmp/cc8Lgtoi.o(.text+0xb): undefined reference to `vga_setmode'
>/tmp/cc8Lgtoi.o(.text+0x15): undefined reference to `vga_setcolor'
>/tmp/cc8Lgtoi.o(.text+0x21): undefined reference to `vga_drawpixel'
>/tmp/cc8Lgtoi.o(.text+0x35): undefined reference to `vga_setmode'
>collect2: ld returned 1 exit status
>make: *** [simple] Error 1
>Jeg har svga libs installeret. Man skal ikke have X installeret vel??
du skal linke med vga dvs.
gcc -o simple simple.c -lvga
Mvh
Martin