Subject: Help needed compiling 3dom
To: None <netbsd-users@netbsd.org>
From: Torsten Sadowski <moehl@akaflieg.extern.tu-berlin.de>
List: netbsd-users
Date: 06/16/2001 13:42:15
Hi,
I am trying to compile 3dom under NetBSD 1.4.2. and I have a problem with
the following error:

apollo% make
gmake -C input_device
gmake: Entering directory `/home/totty/3dom/input_device'
gcc -O2 -Wall -DDEBUG -I/usr/X11R6/include
/usr/X11R6/LessTif/Motif1.2/include -I/usr/X11R6/include/Mesa
-I.. -I../POOLS -I../GDT   -c -o input_device.o input_device.c
gcc: cannot specify -o with -c or -S and multiple compilations
gmake: *** [input_device.o] Error 1
gmake: Leaving directory `/home/totty/3dom/input_device'
*** Error code 2

Stop.

The trouble is the -c option which maybe comes from sys.mk?
Does anyone have an idea how I can override this? The other solution would
be to rewrite the Makefile which I don't want to contemplate.
Any help would be appreciated.

-Torsten