Re: Error compiling!

Search this archive.

From: Matan Ziv-Av (matan@svgalib.org)
Date: Wed 17 May 2000 - 09:34:15 IDT


On Tue, 16 May 2000, TheZulk wrote:

> make[1]: Entering directory `/root/svgalib-1.4.1/utils'
> cc -Wall -Wstrict-prototypes -fomit-frame-pointer -O2
> -fno-strength-reduce -pipe -g -I../include -s -o restorefont
> restorefont.o -lvga -lm
> /lib/libvga.so: undefined reference to `__global_cli'
> /lib/libvga.so: undefined reference to `__global_sti'
> collect2: ld returned 1 exit status
> make[1]: *** [restorefont] Error 1
> make[1]: Leaving directory `/root/svgalib-1.4.1/utils'
> make: *** [textutils] Error 2

You need to give a lot more information (distribution, what changes you
did relating to gcc, libc).
I suspect the problem is in your compiling system (gcc, libc, headers),
since svgalib never references global_sti or global_cli directly.

-- 
Matan Ziv-Av.                         matan@svgalib.org


This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:23 IST