From: Alan W. I. <ir...@be...> - 2002-02-26 23:51:20
|
On Tue, 26 Feb 2002, Geoffrey Furnish wrote: > Hello all, > > Driven by desperation, I've begun to implement automatic dependency > generation for PLplot. I've just committed some files, and I figure I > should give people a heads up. > > I hope my changes today don't mess anyone up. If anyone sees builds > failing as a result of these changes, please let me know ASAP so I can > work on repairing things. > Will do....;-) I made a clean checkout, then my usual ./configure --prefix=/usr/local/plplot --with-double --enable-dyndrivers --enable-java --enable-gnome --enable-ntk > & ! configure.out Could see no problems in configure.out so I then tried make make >&! make.out. Here is that file with the error. cd tmp; make default make[1]: Entering directory `/home/software/plplot_cvs/HEAD/plplot/tmp' gcc -c -O -I. -I/home/software/java/jdk1.2.2//include -I/home/software/java/jdk1.2.2//include/linux -I/usr/include/tcl8.3 -I/usr/include/tcl8.3/itcl-private/generic -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-1.0 -I/usr/lib/gnome-libs/include -I/usr/include/orbit-1.0 -MD -MF .d.pdfutils -MP -c pdfutils.c -o pdfutils.o gcc: cannot specify -o with -c or -S and multiple compilations make[1]: *** [pdfutils.o] Error 1 make[1]: Leaving directory `/home/software/plplot_cvs/HEAD/plplot/tmp' make: *** [all] Error 2 For your convenience here is a wrapped version of that gcc line gcc -c -O -I. -I/home/software/java/jdk1.2.2//include -I/home/software/java/jdk1.2.2//include/linux -I/usr/include/tcl8.3 -I/usr/include/tcl8.3/itcl-private/generic -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-1.0 -I/usr/lib/gnome-libs/include -I/usr/include/orbit-1.0 -MD -MF .d.pdfutils -MP -c pdfutils.c -o pdfutils.o On my system the gcc version is as follows: gcc -dumpversion 2.95.4 The working compile I did yesterday with the old plplot didn't have the "-MD -MF .d.pdfutils -MP -c" part of the command so I assume it is some aspect of that string of parameters that is causing the problem for my gcc version 2.95.4. As you alluded to in your message the configuration seems to be adding these gcc-3.0 parameters to the gcc command line when my system only has 2.95.4. Good luck in getting this problem straightened out. Alan |