After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 132234 - Libraries included in CFLAGS ....
Libraries included in CFLAGS ....
Status: RESOLVED DUPLICATE of bug 134332
Product: at-spi
Classification: Platform
Component: build
1.3.x
Other opensolaris
: Normal minor
: ---
Assigned To: bill.haneman
bill.haneman
Depends on:
Blocks:
 
 
Reported: 2004-01-22 20:25 UTC by Jonas Jonsson
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
The config.log file (74.77 KB, text/plain)
2004-01-28 21:14 UTC, Jonas Jonsson
Details

Description Jonas Jonsson 2004-01-22 20:26:00 UTC
Compiling at-spi-1.3.9, I notice that the CFLAGS are clobbered with
link-directives, thus libtool borks ...
Comment 1 bill.haneman 2004-01-23 10:05:33 UTC
more detail on 'b0rks' needed.  you are the first reporter, and this
has not changed recently.
Comment 2 Jonas Jonsson 2004-01-28 21:14:40 UTC
Created attachment 23850 [details]
The config.log file
Comment 3 Jonas Jonsson 2004-01-28 21:16:56 UTC
An example of a bork:

/bin/bash ../libtool --mode=compile gnu-gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -I.. -DORBIT2=1 -I/opt/gnome-2.6/include/libbonobo-2.0
-I/opt/gnome-2.6/include/glib-2.0
-I/opt/gnome-2.6/lib/glib-2.0/include
-I/opt/gnome-2.6/include/orbit-2.0
-I/opt/gnome-2.6/include/bonobo-activation-2.0
-I/opt/gnome-2.6/include/atk-1.0 -I/opt/gnome-2.6/include/gtk-2.0
-I/opt/gnome-2.6/lib/gtk-2.0/include -I/opt/gnome-2.6/include
-I/usr/X11R6/include -I/opt/gnome-2.6/include/pango-1.0
-I/opt/gnome-2.6/include/freetype2 -I/opt/gnome-2.6/include/gail-1.0
-I/opt/gnome-2.6/include/libgnomecanvas-2.0
-I/opt/gnome-2.6/include/libart-2.0    -I/opt/gnome-2.6/include
-I/usr/X11R6/include -I/usr/local/include -I/opt/csw/include
-I/opt/sfw/include  -g -O2 -pipe -mcpu=pentium3 -falign-functions=4
-fomit-frame-pointer -funroll-loops -mfancy-math-387 -D_REENTRANT -g
-I/opt/gnome-2.6/include -I/usr/X11R6/include -I/usr/local/include
-I/opt/csw/include -I/opt/sfw/include -L/opt/gnome-2.6/lib
-L/usr/X11R6/lib -L/opt/gnu/gnu-gcc-3.3/lib -L/usr/local/lib
-L/opt/csw/lib -L/opt/sfw/lib -O2 -pipe  -L/usr/X11R6/lib
-R/usr/X11R6/lib  -lSM -lICE -lX11 -lsocket  -lnsl  -c action.c
 gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DORBIT2=1
-I/opt/gnome-2.6/include/libbonobo-2.0
-I/opt/gnome-2.6/include/glib-2.0
-I/opt/gnome-2.6/lib/glib-2.0/include
-I/opt/gnome-2.6/include/orbit-2.0
-I/opt/gnome-2.6/include/bonobo-activation-2.0
-I/opt/gnome-2.6/include/atk-1.0 -I/opt/gnome-2.6/include/gtk-2.0
-I/opt/gnome-2.6/lib/gtk-2.0/include -I/opt/gnome-2.6/include
-I/usr/X11R6/include -I/opt/gnome-2.6/include/pango-1.0
-I/opt/gnome-2.6/include/freetype2 -I/opt/gnome-2.6/include/gail-1.0
-I/opt/gnome-2.6/include/libgnomecanvas-2.0
-I/opt/gnome-2.6/include/libart-2.0 -I/opt/gnome-2.6/include
-I/usr/X11R6/include -I/usr/local/include -I/opt/csw/include
-I/opt/sfw/include -g -O2 -pipe -mcpu=pentium3 -falign-functions=4
-fomit-frame-pointer -funroll-loops -mfancy-math-387 -D_REENTRANT -g
-I/opt/gnome-2.6/include -I/usr/X11R6/include -I/usr/local/include
-I/opt/csw/include -I/opt/sfw/include -L/opt/gnome-2.6/lib
-L/usr/X11R6/lib -L/opt/gnu/gnu-gcc-3.3/lib -L/usr/local/lib
-L/opt/csw/lib -L/opt/sfw/lib -O2 -pipe -L/usr/X11R6/lib
-R/usr/X11R6/lib -lSM -lICE -lX11 -lsocket -lnsl -c action.c  -fPIC
-DPIC -o .libs/action.o
gnu-gcc: -lSM: linker input file unused because linking not done
gnu-gcc: -lICE: linker input file unused because linking not done
gnu-gcc: -lX11: linker input file unused because linking not done
gnu-gcc: -lsocket: linker input file unused because linking not done
gnu-gcc: -lnsl: linker input file unused because linking not done

I don't understand why this happens!?!?!?!  Something obvious is
lurking around here, but ......
Comment 4 bill.haneman 2004-03-01 18:47:32 UTC
I believe these messages are harmless.
Comment 5 padraig.obriain 2004-03-16 14:52:27 UTC
Is this a duplicate of bug #134332?
Comment 6 Jonas Jonsson 2004-03-16 15:19:15 UTC
One could say that the warnings are harmless, but as stated in 134332,
some versions of libtool crash when libs enters the realms of cflags ...

The problem is that the libs required for linking X11-stuff gets into
the CFLAGS.  I'm not a good enough autoconf-hacker to figure out how
to do this right.  

In a way this bug is a dup of 134332. 

But:
I use XFree 4.3 on my Solaris x86 machine at home.
Configuring at-spi always fail when testing for Xi and Xtst, since
they both require Xext. (That in it's turn requires X11, nsl &
socket).  The fix would be to rewrite the part that looks for Xi and
Xtst so that it handles these dependencies, but I'm afraid I can't do it.

I haven't tried the last version of at-spi, but I guess it will fail.
I usually have to do some carving in the Makefiles, then it'll work. 
Comment 7 bill.haneman 2004-03-24 14:32:10 UTC

*** This bug has been marked as a duplicate of 134332 ***