From: Designer Seven <designer_7@yahoo.com>
To: axp-list@redhat.com
Subject: Re: upgraded to gcc-2.95.2 --> gcc: cannot specify -o with -c or -S and multiple compilations
Date: Sun, 9 Jan 2000 13:30:08 -0800 (PST) [thread overview]
Message-ID: <20000109213008.25442.qmail@web113.yahoomail.com> (raw)
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 <s.vandereijk@chello.nl>
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
next reply other threads:[~2000-01-09 21:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-09 21:30 Designer Seven [this message]
2000-01-09 23:41 ` upgraded to gcc-2.95.2 --> gcc: cannot specify -o with -c or -S and multiple compilations Michal Jaegermann
-- strict thread matches above, loose matches on Subject: below --
2000-01-09 21:10 Stefan van der Eijk
2000-01-10 8:33 ` Christian Iseli
2000-01-10 11:43 ` Craig P Prescott
2000-01-10 17:38 ` Stefan van der Eijk
2000-01-11 6:34 ` Stefan van der Eijk
2000-01-11 12:42 ` Ivan Kokshaysky
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox