Re: still no change

Date view Thread view Subject view Author view

From: Alexandre Oliva (oliva@dcc.unicamp.br)
Date: Mon Jan 18 1999 - 04:11:19 EST


On Jan 17, 1999, Godmar Back <gback@marker.cs.utah.edu> wrote:

> /n/marker/q/gback/kaffe/configure --prefix=/q/gback/install --with-staticlib --with-engine=intrp

Try without `--with-staticlib', that should work.

> gcc -g -O2 -Wall -Wstrict-prototypes -o Kaffe .libs/KaffeS.o ../../libraries/clib/native/.libs/libnative.a -lm ../../libraries/clib/net/.libs/libnet.a -lm ../../libraries/clib/io/.libs/libio.a -lm ../../libraries/clib/zip/.libs/libzip.a -lz -lm ../../libraries/clib/math/.libs/libmath.a -lgmp -lm ../../libraries/clib/management/.libs/libmanagement.a -lm ../../libraries/clib/awt/X/.libs/libawt.a -L/usr/X11R6/lib -lSM -lICE -lX11 -lm main.o ../kaffevm/.libs/libkaffevm.a -lm -lm -lgcc -lm -lm
> ld: symbol __GLOBAL_OFFSET_TABLE_ remains undefined

`-lm' appears multiple times because each of the libraries is linked
with -lm. If we could remove `-lm -lmw' from LIBS and add them to,
say, MLIBS, then LDADD $(MLIBS) to only those libraries that actually
needed -lm, we'd probably minimize the problem. I'll followup your
other message to libtool with a full explaination of why we can't just
throw those additional `-lm's away.

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:44 EDT