From: Alan Young <ayoung@teleport.com>
To: axp-list@redhat.com
Subject: Re: librep compile error
Date: Thu, 21 Dec 2000 00:55:47 -0800 [thread overview]
Message-ID: <3A41C593.CCE4DEAB@teleport.com> (raw)
In-Reply-To: 00122103175904.00677@a1
You can also resolve the issue by telling the linker to add a reference
to libots.so shared library. (That is where the _Ots prefixed symbols
come from.) To do that you will need to edit the makefile that is doing
the linking and add a -lots to the linker flags. Prolly the best place
to put it is with the other libraries it's linking with like libm (-lm).
Alan
Lukas Pustina wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
>
> Am Donnerstag, 21. Dezember 2000 02:05 schriebst Du:
>
> Hm, I think I got it.
> The problem is that I compiled gpm ( you need this for librep ) with CCC and
> librep with gcc.
> Stupid mistake!
>
> THX Lukas
>
> > Why not just use the prebuilt rpms from alphalinux's helix gnome build?
> >
> > ftp://ftp.alphalinux.org/pub/gnome/helix-gnome/distributions/RedHat-6/
> >
> >
> > Peter
> >
> > Lukas Pustina wrote:
> > > Hola!
> > >
> > > While trying to compile the recent librep for sawfish I get follwing
> > > compile error:
> > > [root@a1 /usr/src/sawfish/librep-0.13.3]# make
> > > set -e; for dir in intl src lisp man; do \
> > > [ -d $dir ] && ( cd $dir && make all ); \
> > > done
> > > make[1]: Entering directory `/usr/src/sawfish/librep-0.13.3/intl'
> > > make[1]: Nothing to be done for `all'.
> > > make[1]: Leaving directory `/usr/src/sawfish/librep-0.13.3/intl'
> > > make[1]: Entering directory `/usr/src/sawfish/librep-0.13.3/src'
> > > /bin/sh ../libtool --mode=link gcc -export-dynamic -DHAVE_CONFIG_H -I.
> > > -I../src -I.. -g -O2 -Wall -Wpointer-arith -Wmissing-prototypes -o rep \
> > > rep.o librep.la -ldl -lgmp -lm
> > > gcc -DHAVE_CONFIG_H -I. -I../src -I.. -g -O2 -Wall -Wpointer-arith
> > > -Wmissing-prototypes -o .libs/rep rep.o .libs/librep.so -ldl -lgmp -lm
> > > -ldl -lgmp -lm -Wl,--export-dynamic -Wl,--rpath -Wl,/usr/local/lib
> > > .libs/librep.so: undefined reference to `_OtsRemainder32'
> > > .libs/librep.so: undefined reference to `_OtsRemainder64Unsigned'
> > > .libs/librep.so: undefined reference to `_OtsDivide64Unsigned'
> > > .libs/librep.so: undefined reference to `_OtsDivide64'
> > > .libs/librep.so: undefined reference to `_OtsDivide32'
> > > collect2: ld returned 1 exit status
> > > make[1]: *** [rep] Error 1
> > > make[1]: Leaving directory `/usr/src/sawfish/librep-0.13.3/src'
> > > make[1]: Entering directory `/usr/src/sawfish/librep-0.13.3/lisp'
> > > REPLISPDIR=../lisp REP_DL_LOAD_PATH=../src/.libexec REPDOCFILE=../DOC
> > > ../libtool --mode=execute ../src/rep --batch --no-rc \
> > > -l rep.vm.compiler -f compile-assembler
> > > ../libtool: /usr/src/sawfish/librep-0.13.3/lisp/../src/rep: Datei oder
> > > Verzeichnis nicht gefunden
> > > exec: /usr/src/sawfish/librep-0.13.3/lisp/../src/rep: cannot execute:
> > > Datei oder Verzeichnis nicht gefunden
> > > make[1]: *** [lisp] Error 126
> > > make[1]: Leaving directory `/usr/src/sawfish/librep-0.13.3/lisp'
> > > make[1]: Entering directory `/usr/src/sawfish/librep-0.13.3/man'
> > > make[1]: Nothing to be done for `all'.
> > > make[1]: Leaving directory `/usr/src/sawfish/librep-0.13.3/man'
> > > [root@a1 /usr/src/sawfish/librep-0.13.3]#
> > >
> > > Does anybody know this problem?
> > >
> > > cu Lukas
> > >
> > > PS I'm using RH 6.2
> > >
> > > --
> > >
> > > Image ist nichts - Durst ist alles!
> > >
> > > ********************************************************
> > > * Lukas Pustina - student of computer science
> > > *
> > > * Privat: lukas@pustina.net
> > > * WWW: www.pustina.net/lukas/
> > > ********************************************************
> > >
> > > *** PGP Public Key on KeyServer ***
> > >
> > > _______________________________________________
> > > Axp-list mailing list
> > > Axp-list@redhat.com
> > > https://listman.redhat.com/mailman/listinfo/axp-list
>
> --
>
> Image ist nichts - Durst ist alles!
>
> ********************************************************
> * Lukas Pustina - student of computer science
> *
> * Privat: lukas@pustina.net
> * WWW: www.pustina.net/lukas/
> ********************************************************
>
> *** PGP Public Key on KeyServer ***
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 5.0i for non-commercial use
> MessageID: fsC+Xw8Iye4/A/QWbCA+Ofrc3X1dmWe6
>
> iQA/AwUBOkFuSKtipWx0C0VaEQLP9wCbBpEn54lAyb40s4iKn2fijnUzudwAn3Pl
> b0exztEQTE2MHMAnvkMeipx0
> =Zq+P
> -----END PGP SIGNATURE-----
prev parent reply other threads:[~2000-12-21 8:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-20 22:32 librep compile error Lukas Pustina
2000-12-21 1:05 ` Peter Petrakis
2000-12-21 1:31 ` SRM blue screen / can't set console graphics clc31
2000-12-21 1:37 ` Rich Payne
2000-12-21 2:21 ` librep compile error Lukas Pustina
2000-12-21 2:43 ` Lukas Pustina
[not found] ` <00122103175904.00677@a1>
2000-12-21 8:55 ` Alan Young [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox