From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 5A98B2F77E for ; Thu, 21 Dec 2000 03:55:39 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id eBL8tdG27383 for axp-list@listman.redhat.com; Thu, 21 Dec 2000 03:55:39 -0500 Received: from relay1.teleport.com (relay1.teleport.com [192.108.254.28]) by mail.redhat.com (8.11.0/8.8.7) with SMTP id eBL8tcD27376 for ; Thu, 21 Dec 2000 03:55:38 -0500 Received: (qmail 7564 invoked by uid 5); 21 Dec 2000 08:55:34 -0000 Received: from evrtwa1-ar4-233-089.dsl.gtei.net(4.41.233.89), claiming to be "teleport.com" via SMTP by relay1.teleport.com, id smtpdAAA0iY57w; Thu Dec 21 00:55:24 2000 Message-ID: <3A41C593.CCE4DEAB@teleport.com> Date: Thu, 21 Dec 2000 00:55:47 -0800 From: Alan Young X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.18 alpha) X-Accept-Language: en, en-US, en-GB MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: librep compile error References: <00122023324800.00677@a1> <3A415741.97C2DEC8@alphalinux.org> <00122103175904.00677@a1> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors 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-----