[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: upgraded to gcc-2.95.2 --> gcc: cannot specify -o with -c or -S and multiple compilations
- 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)
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]