Mailinglist Archive: opensuse (3104 mails)

< Previous Next >
Re: [SLE] static linking trouble
  • From: pthomas@xxxxxxx (Philipp Thomas)
  • Date: Sun, 2 Apr 2000 16:10:07 +0200
  • Message-id: <20000402161007.A11867@xxxxxxxxxxxxxxxx>



* Christophe Le Cannellier (christophe.le-cannellier@xxxxxxxxxx) [20000402 11:22]:

> XpmRdFToI.o(.text+0x159): undefined reference to `_IO_stdin_'
> XpmRdFToI.o(.text+0x254): undefined reference to `_IO_stdin_'

These look like symbols from the C libraray, libc. Try putting an explicit
-lc in front of -lXt.

> Shell.o(.text+0x35d0): undefined reference to `IceConnectionNumber'
> Shell.o(.text+0x3b08): undefined reference to `SmcSetProperties'
> Shell.o(.text+0x3b71): undefined reference to `SmcDeleteProperties'

All the Smc* symbols come from libSM. See if you have the static version
installed ( 'locate libSM.a' ).

> Shell.o(.text+0x3bac): undefined reference to `IceProcessMessages'

And this comes from libICE, again, check if you have the static version
installed.

AFAIR, the static libs are part of the xdevel.rpm.

Philipp


--
Philipp Thomas <pthomas@xxxxxxx>
SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany

#define NINODE 50 /* number of in core inodes */
#define NPROC 30 /* max number of processes */
-- Version 7 UNIX fuer PDP 11, /usr/include/sys/param.h

--
To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/


< Previous Next >