Author
|
Topic: cc: cannot specify -o with -c or -S and multiple compilations
|
pkishor
Junior Member
Member # 408
|
posted April 20, 2002 11:04 PM
That's the summary of the message... I am trying to compile a program. The program compiles fine, but it also has another sub-program, actually a PHP module sitting in a sub-directory. That's the one that croaks with the above message. The full message is like so...cd mapscript/php3; make; cd ../.. cc cc -I. -I.. -O2 -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_WMS -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_EPPL -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_JPEG -I/Users/pkishor/Projects/mapserver_3.5 -I/usr/local/include -I/Users/pkishor/Projects/php-4.0.6 -I/Users/pkishor/Projects/php-4.0.6/dl -I/Users/pkishor/Projects/php-4.0.6/main -I/Users/pkishor/Projects/php-4.0.6/Zend -I/Users/pkishor/Projects/php-4.0.6/include -I/Users/pkishor/Projects/php-4.0.6/TSRM -I/usr/local/apache/include -c -o php_mapscript_util.o php_mapscript_util.c cc: cannot specify -o with -c or -S and multiple compilations make[1]: *** [php_mapscript_util.o] Error 1 What to do? Tia.
Posts: 1 | Registered: Apr 2002
| IP: Logged
|
|
|
|