Re: Help for ORB-mt



Soon Ju Kang wrote:
 
Thank you for your quick concern
I deeply appreciate if you point out some problems in the following Makefile with error message.
 
 
###################################### Makefile I used #################################################
CC = gcc
ORBIT_IDL = /usr/local/bin/orbit-idl-mt
ORBIT_CFLAGS = -I/usr/lib/glib/include -I/usr/local/include/ORBit-mt
ORBIT_LIBS = -L/usr/lib -L/usr/local/lib -lORBit-mt -lIIOP-mt -lORBitutil-mt -lglib -lm
CFLAGS = $(ORBIT_CFLAGS)
LFLAGS = $(ORBIT_LIBS)
 
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'
 

clean :
 rm *.[oa] client server
 
real-clean : clean
 rm calculator-stubs.[oc] calculator-skels.[oc] calculator.h calculator-common.[oc]
 
 
#
# IDL compiler rules
#
 
# all in one shot
 
idltargets : calculator.idl
 $(ORBIT_IDL) calculator.idl
 
# individual rules
 
calculator-stubs.c : calculator.idl
 $(ORBIT_IDL) echo.idl
 
calculator-common.c : calculator.idl
 $(ORBIT_IDL) calculator.idl
 
calculator-skels.c : calculator.idl
 $(ORBIT_IDL) calculator.idl
 
client.c : calculator.h
 
server.c : calculator.h
 
calculator.h : calculator.idl
 $(ORBIT_IDL) calculator.idl
 
 
#################################### Error Message ##################################################
 
/usr/local/bin/orbit-idl-mt calculator.idl
calculator.idl:6: Warning: `get_new_calculator' underscores within identifiers are discouraged for use with C-language IDL mappings
gcc -I/usr/lib/glib/include -I/usr/local/include/ORBit-mt   -c -o client.o client.c
client.c: In function `main':
client.c:66: warning: passing arg 1 of `g_thread_create' from incompatible pointer type
gcc -I/usr/lib/glib/include -I/usr/local/include/ORBit-mt   -c -o calculator-common.o calculator-common.c
gcc -I/usr/lib/glib/include -I/usr/local/include/ORBit-mt   -c -o calculator-stubs.o calculator-stubs.c
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
 
----- Original Message -----
Sent: Wednesday, March 28, 2001 12:25 AM
Subject: Re: Help for ORB-mt

sjkang wrote:
Soon Ju Kang wrote: Would you help me how to compile and link the ORB-mt version of CORBA program? I could install the ORBit-mt 0.5.7 on my LINUX computer but I can't compile and run it until now. I am trying to modify the Makefile sample in ORBit version with the little bit hint in ORBit-mt homepage but I haven't got it during couple of days. Please anybody send me a sample Makefile or more detail compile and linking document. Thank you.


Which is the exact problem?



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