Newly introduced Compilation error
Christian Stimming
stimming@tuhh.de
Mon, 18 Nov 2002 09:30:58 +0100
Hi all,
the changes in the autoconf/automake macros have introduced a compilation
error on my installation, in the directory src/gnome-utils:
gcc: cannot specify -o with -c or -S and multiple compilations
This didn't exist 8 hours before now, but now it exists. The full command is
below. I hope somebody finds the bug :-)
Christian
make[1]: Entering directory
`/home/chs/lib/gnucash/gnucash-1.7/src/gnome-utils'
Making all in .
make[2]: Entering directory
`/home/chs/lib/gnucash/gnucash-1.7/src/gnome-utils'
source='cursors.c' object='cursors.lo' libtool=yes \
depfile='.deps/cursors.Plo' tmpdepfile='.deps/cursors.TPlo' \
depmode=gcc /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I../../src/gnc-module -I../../src/engine -I../../src/network-utils
-I../../src/app-utils -I../../src -I/opt/gnome/include
-I/opt/gnome/include/gnome-1.0 -I/opt/gnome/include/gnome-1.0/libguppitank
/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-DNEED_GNOMESUPPORT_H -I/opt/gnome/lib/gnome-libs/include
-I/usr/include/orbit-1.0 -I/usr/include/gnome-xml -I/usr/include/freetype2
-I/opt/gnome/include/gdk-pixbuf-1.0 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/gnome-xml -I/opt/gnome/include
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/opt/gnome/include/gnome-1.0 -I/usr/include/freetype2
-DNEED_GNOMESUPPORT_H -I/opt/gnome/lib/gnome-libs/include
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/opt/gnome/include/gdk-pixbuf-1.0
-I/usr/include/gnome-xml -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -I/opt/gnome/include/gnome-1.0
-DNEED_GNOMESUPPORT_H -I/opt/gnome/lib/gnome-libs/include
-I/usr/include/orbit-1.0 -I/opt/gnome/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/opt/gnome/include -I/opt/gnome/include/gdk-pixbuf-1.0
/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-I/opt/gnome/include/gnome-1.0 -I/usr/include/freetype2 -DNEED_GNOMESUPPORT_H
-I/opt/gnome/lib/gnome-libs/include -I/usr/include/gnome-xml
-I/home/chs/lib/very-unstable/include/g-wrap -g -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations
-Werror-implicit-function-declaration -c -o cursors.lo `test -f cursors.c ||
echo './'`cursors.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/gnc-module -I../../src/engine
-I../../src/network-utils -I../../src/app-utils -I../../src
-I/opt/gnome/include -I/opt/gnome/include/gnome-1.0
-I/opt/gnome/include/gnome-1.0/libguppitank /gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H
-I/opt/gnome/lib/gnome-libs/include -I/usr/include/orbit-1.0
-I/usr/include/gnome-xml -I/usr/include/freetype2
-I/opt/gnome/include/gdk-pixbuf-1.0 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/gnome-xml -I/opt/gnome/include
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/opt/gnome/include/gnome-1.0 -I/usr/include/freetype2
-DNEED_GNOMESUPPORT_H -I/opt/gnome/lib/gnome-libs/include
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/opt/gnome/include/gdk-pixbuf-1.0
-I/usr/include/gnome-xml -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -I/opt/gnome/include/gnome-1.0
-DNEED_GNOMESUPPORT_H -I/opt/gnome/lib/gnome-libs/include
-I/usr/include/orbit-1.0 -I/opt/gnome/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/opt/gnome/include -I/opt/gnome/include/gdk-pixbuf-1.0
/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-I/opt/gnome/include/gnome-1.0 -I/usr/include/freetype2 -DNEED_GNOMESUPPORT_H
-I/opt/gnome/lib/gnome-libs/include -I/usr/include/gnome-xml
-I/home/chs/lib/very-unstable/include/g-wrap -g -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations
-Werror-implicit-function-declaration -c cursors.c -Wp,-MD,.deps/cursors.TPlo
-fPIC -o .libs/cursors.o
gcc: cannot specify -o with -c or -S and multiple compilations
make[2]: *** [cursors.lo] Error 1
make[2]: Leaving directory `/home/chs/lib/gnucash/gnucash-1.7/src/gnome-utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/chs/lib/gnucash/gnucash-1.7/src/gnome-utils'
make: *** [all] Error 2