help with gcc error when compiling sendmail

Ashley_E_Andrews@rush.edu Ashley_E_Andrews@rush.edu
Thu Jul 6 12:40:00 GMT 2000


I am compiling sendmail with gcc and receiving the following error:

gcc: cannot specify -o with -c or -S and multiple compilations
Make [2] *** [debug.o}] Error 1

This error appeared in the line after:

gcc -O -I. -I ../../sendmail  -I../../include /opt/local/BerkeleyDB.3.1/include
-DNEWDB
-DLDAPMAP -DSOLARIS=20600 -DNOT_SENDMAIL    -c -o debug.0 debug.c

A colleague mentioned, from quickly glancing at the make file, it appeared it
was using
the -o and -c and should not have been doing that.  Can a change be made to the
make
file to correct this problem?  If so, what is the suggested change?

Any information would be appreciated.

Thank you,

Ashley Andrews




More information about the Gcc-help mailing list