Re: Help for ORB-mt



On Wed, Mar 28, 2001 at 02:12:06AM +0900, sjkang wrote:
> Soon Ju Kang wrote:
[...]
> all : idltargets client server
> 
> client : client.o calculator-common.o calculator-stubs.o
>  $(CC)  -o $(CFLAGS) client client.o calculator-stubs.o calculator-common.o 'orbit-config-mt --multithread --libs client'
> 
> server : server.o calculator-skels.o calculator-common.o
>  $(CC)  -o $(CFLAGS) server server.o calculator-stubs.o calculator-common.o 'orbit-config-mt --multithread --libs server'
> 
[...]
> gcc  -o -I/usr/lib/glib/include -I/usr/local/include/ORBit-mt client client.o calculator-stubs.o calculator-common.o 'orbit-config-mt --multithread --libs client'
> gcc: client: No such file or directory
> gcc: orbit-config-mt --multithread --libs client: No such file or directory
> make: *** [client] Error 1
[...]

"man gcc" would suggest to put the filename to the "-o" directly behind "-o".
I.e.: Reverse the order of "$(CFLAGS)" and "-o" in your Makefile.
Have fun,

	Coren




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]