Re: Problem with compiling sample program

Search this archive.

From: Matan Ziv-Av (matan@svgalib.org)
Date: Tue 11 Sep 2001 - 19:51:50 IDT


On Tue, 11 Sep 2001, Michael Nielsen wrote:

> I have a problem with compiling the sample program at your website. I have
> installed the RPM-packages svgalib-devel-1.4.1-9.i386.rpm and
> svgalib-1.4.1-9.i386.rpm on my Redhat 7.1 distribution. When I compile i
> get this message.
> 
> [root@dong svgalib]# gcc -O3 -o samle sample.c -lvga
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libvga.so: undefined reference to `__global_cli'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libvga.so: undefined reference to `__global_sti'
> collect2: ld returned 1 exit status
> [root@dong svgalib]#

This has been reported a few times, but a definite answer has not been
found. This seems to be specific to RH7, and might be solved if you'll
install svgalib from source (if you do, you might need to edit
/etc/ld.so.conf, to add /usr/local/lib to it).


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



------------------------------------------------------------------
Unsubscribe:  To:   listbot@svgalib.org
              Body: unsubscribe linux-svgalib


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