Forum OpenACS Q&A: Makefile error, Please help!!!!

Collapse
Posted by H. shefaat on
Hi, I want to compile th pgdriver2.0.1 an the Suse 7.1. I get the 
following error during the compliation (I changed the appropraite 
data). The error message is:

cc -DFOR_ACS_USE -DBIND_EMULATION -
I/usr/local/aolserver         /include -Wall -fpic -shared -
I/usr/local/pgsql/shared  -I/usr/local/aolserver/include -I-
/usr/include   -c -o postgres.o postgres.c
cc: cannot specify -o with -c or -S and multiple compilations
make: *** [postgres.o] Error 1


Someone an idea how to remove this error? 
It is really important to solve the problem, because I am fighting 
with the system since 10 dayes and this seems to be the last problem.
Thanks in advance for any help! 
Collapse
Posted by Jade Rubick on
I'm not sure what the -c option does. Have you read the man pages for make?  I.e. man make? Perhaps you can remove the -c option from the Makefile?