From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 16628 invoked from network); 9 Jan 2000 21:30:09 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 9 Jan 2000 21:30:09 -0000 Received: from web113.yahoomail.com (web113.yahoomail.com [205.180.60.84]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id QAA09727 for ; Sun, 9 Jan 2000 16:30:08 -0500 Received: (qmail 25443 invoked by uid 60001); 9 Jan 2000 21:30:08 -0000 Message-ID: <20000109213008.25442.qmail@web113.yahoomail.com> Received: from [24.0.139.66] by web113.yahoomail.com; Sun, 09 Jan 2000 13:30:08 PST Date: Sun, 9 Jan 2000 13:30:08 -0800 (PST) From: Designer Seven Subject: Re: upgraded to gcc-2.95.2 --> gcc: cannot specify -o with -c or -S and multiple compilations To: axp-list@redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Yeah.. I had this problem a few times too. The problem is that 'LinuxMachineDefines' isn't getting defined. I think the compiler then thinks it's source or something.. hence it thinks you're compiling xditview.c and LinuxMachineDefines... so I think. (I'm clueless, so don't believe everything I write) You need to track down where LinuxMachineDefines is suppose to get defined and find out why it isn't. Usually it was something the preprocessor was suppose to define but for whatever reason, didn't. Check: /lib/cpp -dM /dev/null I'm sure Michal J. will have something more intelligent to say about this... D. --- Stefan van der Eijk wrote: > Hello, > > I hope this isn't a FAQ question... I just upgraded > from ecgs-1.1.2 > to gcc 2.95.2: > > Reading specs from > /usr/lib/gcc-lib/alpha-mandrake-linux/2.95.2/specs > gcc version 2.95.2 19991024 (release) > > on my alpha system (running linux), and now I get > the following error > when compiling a lot of packages: > > make[2]: Leaving directory > `/usr/src/RPM/BUILD/groff-1.11/mm' > make[2]: Entering directory > `/usr/src/RPM/BUILD/groff-1.11' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory > `/usr/src/RPM/BUILD/groff-1.11' > make[1]: Leaving directory > `/usr/src/RPM/BUILD/groff-1.11' > + cd xditview > + xmkmf > mv -f Makefile Makefile.bak > imake -DUseInstalled -I/usr/X11R6/lib/X11/config > + make > gcc -O -I./lib/Xt -I. -I/usr/X11R6/include > -Dlinux > LinuxMachineDefines -D_POSIX_C_SOURCE=199309L > -D_POSIX_SOURCE > -D_XOPEN_SOURCE=500L -D_BSD_SOURCE -D_SVID_SOURCE > -DFUNCPROTO=15 > -DNARROWPROTO > -DFONTPATH=\".:/usr/lib/groff/font:/usr/local/lib/font:/usr/lib/font\" > > -c xditview.c -o xditview.o > gcc: cannot specify -o with -c or -S and multiple > compilations > make: *** [xditview.o] Error 1 > > Any idea what it is & how I can fix it?? > > Thanks, > > Stefan van der Eijk > s.vandereijk@chello.nl > > -- > To unsubscribe: send e-mail to > axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to > axp-list@redhat.com > > __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com