Date: Sun, 27 Mar 2005 12:53:28 +0200 From: Dick Hoogendijk <dick@nagual.st> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: gcc error Message-ID: <20050327105328.GA99072@lothlorien.nagual.st> In-Reply-To: <20050326230005.GB96971@xor.obsecurity.org> References: <20050326152442.GA11610@pooh.nagual.st> <20050326230005.GB96971@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 26 Mar Kris Kennaway wrote: > On Sat, Mar 26, 2005 at 04:24:42PM +0100, Dick Hoogendijk wrote: > > Hi, > > > > I'm getting desperate. First I couldn't compile just a gnome > > package. OK, it could be missed.. But now I want to compile the new > > KDE-3.4 and it does not work :-( Compiling kdelibs3 I get (again) > > this annoying error. Googling learned it shows up quit often, but I > > found no solution. So, what is this and waht can be done about it? > > I guess it's a gcc compiler error. I deleted all gcc packages that > > were installed (back to the systems's version - FreeBSD-4.11R). It > > did not help. > > > > The error I get: > > > > "c++: cannot specify -o with -c or -S and multiple compilations" > > The same error happens sometimes with 'cc' > > Show us the full error, not a context-free excerpt. OK, probably too much, but here it is.. =-=-= Making all in http gmake[3]: Entering directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.4.0/kioslave/http' Making all in kcookiejar gmake[4]: Entering directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.4.0/kioslave/http/kcookiejar' Making all in tests gmake[5]: Entering directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.4.0/kioslave/http/kcookiejar/tests' gmake[5]: Nothing to be done for `all'. gmake[5]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.4.0/kioslave/http/kcookiejar/tests' gmake[5]: Entering directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.4.0/kioslave/http/kcookiejar' source='kcookiejar.cpp' object='kcookiejar.lo' libtool=yes \ DEPDIR=.deps depmode=gcc /bin/sh ../../../admin/depcomp \ /bin/sh ../../../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o kcookiejar.lo kcookiejar.cpp /usr/X11R6/bin/moc ./kcookieserver.h -o kcookieserver.moc source='kcookieserver.cpp' object='kcookieserver.lo' libtool=yes \ DEPDIR=.deps depmode=gcc /bin/sh ../../../admin/depcomp \ /bin/sh ../../../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o kcookieserver.lo kcookieserver.cpp /usr/X11R6/bin/moc ./kcookiewin.h -o kcookiewin.moc source='kcookiewin.cpp' object='kcookiewin.lo' libtool=yes \ DEPDIR=.deps depmode=gcc /bin/sh ../../../admin/depcomp \ /bin/sh ../../../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o kcookiewin.lo kcookiewin.cpp ../../../dcop/dcopidl/dcopidl ./kcookieserver.h > kcookieserver.kidl || ( rm -f kcookieserver.kidl ; false ) ../../../dcop/dcopidl2cpp/dcopidl2cpp --c++-suffix cpp --no-signals --no-stub kcookieserver.kidl source='kcookieserver_skel.cpp' object='kcookieserver_skel.lo' libtool=yes \ DEPDIR=.deps depmode=gcc /bin/sh ../../../admin/depcomp \ /bin/sh ../../../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o kcookieserver_skel.lo kcookieserver_skel.cpp /bin/sh ../../../libtool --silent --mode=link --tag=CXX c++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -rpath=/usr/lib:/usr/local/lib -o kded_kcookiejar.la -rpath /usr/local/lib/kde3 -L/usr/local/lib -L/usr/X11R6/lib -D_THREAD_SAFE -pthread -L/usr/local/lib -module -avoid-version kcookiejar.lo kcookieserver.lo kcookiewin.lo kcookieserver_skel.lo ../../../kio/libkio.la -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib echo 'extern "C" int kdemain(int argc, char* argv[]);' > kcookiejar_dummy.cpp; \ echo 'extern "C" int kdeinitmain(int argc, char* argv[]) { return kdemain(argc,argv); }' >> kcookiejar_dummy.cpp source='kcookiejar_dummy.cpp' object='kcookiejar_dummy.lo' libtool=yes \ DEPDIR=.deps depmode=gcc /bin/sh ../../../admin/depcomp \ /bin/sh ../../../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o kcookiejar_dummy.lo kcookiejar_dummy.cpp source='main.cpp' object='main.lo' libtool=yes \ DEPDIR=.deps depmode=gcc /bin/sh ../../../admin/depcomp \ /bin/sh ../../../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o main.lo main.cpp /bin/sh ../../../libtool --silent --mode=link --tag=CXX c++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -rpath=/usr/lib:/usr/local/lib -o libkdeinit_kcookiejar.la -rpath /usr/local/lib -no-undefined -avoid-version -L/usr/local/lib -L/usr/X11R6/lib -D_THREAD_SAFE -pthread -L/usr/local/lib main.lo ../../../kdecore/libkdecore.la -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib /bin/sh ../../../libtool --silent --mode=link --tag=CXX c++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -rpath=/usr/lib:/usr/local/lib -o kcookiejar.la -rpath /usr/local/lib/kde3 -L/usr/local/lib -L/usr/X11R6/lib -D_THREAD_SAFE -pthread -L/usr/local/lib -module -avoid-version kcookiejar_dummy.lo libkdeinit_kcookiejar.la -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib echo 'extern "C" int kdemain(int argc, char* argv[]);' > kcookiejar.la.cpp; \ echo 'int main(int argc, char* argv[]) { return kdemain(argc,argv); }' >> kcookiejar.la.cpp source='kcookiejar.la.cpp' object='kcookiejar.la.o' libtool=no \ DEPDIR=.deps depmode=gcc /bin/sh ../../../admin/depcomp \ c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o kcookiejar.la.o kcookiejar.la.cpp /bin/sh ../../../libtool --silent --mode=link --tag=CXX c++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -rpath=/usr/lib:/usr/local/lib -o kcookiejar -R /usr/local/lib -R /usr/local/lib -R /usr/X11R6/lib -R /usr/X11R6/lib -R /usr/local/lib -no-undefined -L/usr/local/lib -L/usr/X11R6/lib -D_THREAD_SAFE -pthread -L/usr/local/lib kcookiejar.la.o libkdeinit_kcookiejar.la -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib gmake[5]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.4.0/kioslave/http/kcookiejar' gmake[4]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.4.0/kioslave/http/kcookiejar' gmake[4]: Entering directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.4.0/kioslave/http' /usr/X11R6/bin/moc ./http.h -o http.moc source='http.cc' object='http.lo' libtool=yes \ DEPDIR=.deps depmode=gcc /bin/sh ../../admin/depcomp \ /bin/sh ../../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kdecore -I../../kio/kssl -I../../interfaces -I../../kio/httpfilter -I../../dcop -I../../libltdl -I../../kdefx -I../../kdecore -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -I/usr/include @INCLUDE_des@ -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o http.lo http.cc c++: cannot specify -o with -c or -S and multiple compilations gmake[4]: *** [http.lo] Error 1 gmake[4]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.4.0/kioslave/http' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.4.0/kioslave/http' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.4.0/kioslave' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.4.0' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/x11/kdelibs3. lothlorien# exit exit Script done on Sun Mar 27 12:28:46 2005 -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11 ++ FreeBSD 5.3 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050327105328.GA99072>