Re: [Evolution] can't compile, libtool freak out



On Sun, 2002-01-13 at 23:10, Mathew Yeates wrote:

Something bizarre is happening when I try and compile.
I see the line 

Entering directory `/hsgi/mathew/src/evolution-1.0/shell'
/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall -Wunused  
-L/hsgi/mathew/root/gnome/lib -L/hsgi/mathew/root/gnu/lib 
-L/gdps/hqs0/build1_8/common/sgi/lib  -o evolution  e-activity-handler.o 
e-component-registry.o e-corba-shortcuts.o etc, etc, etc.

But then libtool creates a totally whacked out link line the causes gcc
to fail because its arg list is too long. 

Here is some of the link line
gcc -g -O2 -Wall -Wunused -o .libs/evolution e ......
.....
.....
lm -lXext -lX11 -lm -lXext -lX11 -lm -lm -lm -laudio -laudio -lm -laudio -lm 
-lm -laudio -laudio -lm -laudio -lm -lm -lXext -lX11 -lm -lXext -lX11 -lm 
-lXext -lX11 -lm -lXext -lX11 -lm -lXext -lX11 -lm -lXext -lX11 -lm -lz -lm 
-lSM -lICE -lm -lz -lm -lz -lm -lm -lm -laudio -laudio -laudio -lm -laudio -lm 
-ldb -lXext -lX11 -lm -lXext -lX11 -lm -lXext -lX11 -lm -lXext -lX11 -lm -lm 
-lz -lz -lz -lm -lm -laudio -laudio -lm -laudio -lm -lm -laudio -laudio -lm 
-laudio -lm -lm -lXext -lX11 -lm -lXext -lX11 -lm -lXext -lX11 -lm -lXext 
-lX11 -l

This only PART of it. -lX11 alone is being linked in literally hundreds of 
times!

Anybody every seen this? I'm using nm and ld from binutils 2.11.2

This has been reported to the list a few times.  It's basically a
problem with libtool 1.4.  There is a patch available to help this, but
unfortunately it breaks the compile of things like conduits.  I have no
idea why libtool 1.4 needs to do things this way, or if there is any
other solution.  But I sure wish that it would get fixed either way,
because it makes compile times several times longer than they need to
be.

Dan



Thx
Mathew



_______________________________________________
evolution maillist  -  evolution ximian com
http://lists.ximian.com/mailman/listinfo/evolution






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]