Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: upgraded to gcc-2.95.2 --> gcc: cannot specify -o with -c or -S and  multiple compilations
@ 2000-01-09 21:30 Designer Seven
  2000-01-09 23:41 ` Michal Jaegermann
  0 siblings, 1 reply; 8+ messages in thread
From: Designer Seven @ 2000-01-09 21:30 UTC (permalink / raw)
  To: axp-list

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


^ permalink raw reply	[flat|nested] 8+ messages in thread
* upgraded to gcc-2.95.2 --> gcc: cannot specify -o with -c or -S and  multiple compilations
@ 2000-01-09 21:10 Stefan van der Eijk
  2000-01-10  8:33 ` Christian Iseli
  2000-01-10 11:43 ` Craig P Prescott
  0 siblings, 2 replies; 8+ messages in thread
From: Stefan van der Eijk @ 2000-01-09 21:10 UTC (permalink / raw)
  To: axp-list@redhat.com, cooker@linux-mandrake.com

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2000-01-11 12:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-09 21:30 upgraded to gcc-2.95.2 --> gcc: cannot specify -o with -c or -S and multiple compilations Designer Seven
2000-01-09 23:41 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox