can't make svgalib (unresolved syms)

Search this archive.

From: Ned Konz (ned@bike-nomad.com)
Date: Tue 13 Jun 2000 - 03:30:40 IDT


I'm having problems making svgalib 1.4.1 or 1.4.2 on my machine.
I have a linux SMP Pentium box running the 2.4.0-test1-ac9 kernel.
I've recompiled my kernel and modules and rebooted, but there is no
improvement.

The libraries compile OK, but when it comes to making restorefont, I get
this:

make[1]: Entering directory `/usr/local/src/svgalib-1.4.2/utils'
cc -Wall -Wstrict-prototypes -fomit-frame-pointer -O2
-fno-strength-reduce -pipe -g -I../include -s -o restorefont
restorefont.o -lvga -lm
/usr/local/lib/libvga.so: undefined reference to `__global_cli'
/usr/local/lib/libvga.so: undefined reference to `__global_sti'
collect2: ld returned 1 exit status

Both symbols show up in the System.map:
$ grep __global_..i /boot/System.map
c010cc30 T __global_cli
c010cd5c T __global_sti

but in ksyms they have version ID's:
$ grep __global_..i /proc/ksyms
c010cc30 __global_cli_Rsmp_64576b05
c010cd5c __global_sti_Rsmp_da4456dd

This is probably a well-known problem (sorry for asking), but how
do I get this to link correctly?

depmod -a runs fine (no unresolved symbols).

Please email me, as I'm not on the list...
Thanks!
-- 
Ned Konz
currently: Stanwood, WA
email:     ned@bike-nomad.com
homepage:  http://bike-nomad.com, Perl homepage:
http://bike-nomad.com/perl


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