View Single Post
Old 04-19-2002, 11:50 AM   #3
Eagleon
Member
 
Join Date: Apr 2002
Location: Milwaukee, WI
Posts: 147
Eagleon is on a distinguished road
Send a message via ICQ to Eagleon Send a message via Yahoo to Eagleon
Okay, that got rid of some of the errors, but others popped up from later in the makefile.
Heres the messages:

[code] $ make
Makefile;83; warning; overriding commands for target `all'
Makefile;2; warning; ignoring old commands for target `all'
make ../bin/circle
make[1]; Entering directory `/circle-dg/src'
Makefile;83; warning; overriding commands for target `all'
Makefile;2; warning; ignoring old commands for target `all'
gcc @CFLAGS@ @MYFLAGS@ -c -o comm.o comm.c
gcc; cannot specify -o with -c or -S and multiple compilations
make[1]; *** [comm.o] Error 1
make[1]; Leaving directory `/circle-dg/src'
make; *** [all] Error 2
[/quote]

And heres the parts of the makefile that I think is causing the problem.

[code] #compiler name and flags
CC = gcc
DGFLAGS = $(DEBUGFLAGS)
MYFLAGS = @MYFLAGS@
[/quote]

then later in it:

[code] CFLAGS = @CFLAGS@ $(MYFLAGS) $(DGFLAGS) $(PROFILE)
LIBS = @LIBS@ $(DEBUGLIBS)
[/quote]

This comes right before it lists a bunch of *.o files.
Eagleon is offline   Reply With Quote