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. [EMAIL PROTECTED]
------------------------------------------------------------------
Unsubscribe: To: [EMAIL PROTECTED]
Body: unsubscribe linux-svgalib