Creating Build for Corba code using jamfiles
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Chetan_Urade
Posted On:   Tuesday, August 14, 2007 07:21 AM

I want to build my CORBA code which is written in with the help of jamfile.. it compiles but gives linking error pls help me out of these... netmanager is the name of folder. after giving "jam -a" command on command prompt..following things happens... /user3/local/sbtvcabo/sdk/sdk/sbea/netmanager>jam -a ------------------------------------- Build Options ------------------------------------- Target DB: oracle (library linkage: dynamic ) SB binaries linkage: static RW libraries linkage: static Compiler version: 7 Oracle version: 920 SBROKER_SDK = /user3/local/sbtvcabo/sdk/sdk SRC_ROOT = /user3/local/sbtvcabo/   More>>

I want to build my CORBA code which is written in with the help of jamfile..

it compiles but gives linking error pls help me out of these...

netmanager is the name of folder.

after giving "jam -a" command on command prompt..following things happens...



/user3/local/sbtvcabo/sdk/sdk/sbea/netmanager>jam -a
------------------------------------- Build Options -------------------------------------
Target DB: oracle (library linkage: dynamic )
SB binaries linkage: static
RW libraries linkage: static
Compiler version: 7
Oracle version: 920
SBROKER_SDK = /user3/local/sbtvcabo/sdk/sdk
SRC_ROOT = /user3/local/sbtvcabo/sdk/sdk
LIBDIR = /user3/local/sbtvcabo/sdk/sdk/lib (default)
ORACLE_HOME = /user1/oracle9i2
XERCESCROOT = /opt/xml/xerces-c-src1_7_0
XALANCROOT = /opt/xml/xalan-c-src1_3_0
ODBC_HOME = /nfs/tools/merant (default)
LDAP_HOME = /user3/local/sbtvcabo/sdk/sdk/sb6/adpt/shelf/sbealdap/sdk (default)
ACE_HOME = /user3/local/sbtvcabo/src/ACE_wrappers (default)
INCOGNITO_HOME = /user3/local/sbtvcabo/sdk/sdk/sb6/adpt/shelf/sbeaincognito/incognito (default)
INCOGNITODHCP_HOME = (default)
NETMANAGER_HOME = (default)
SNMP_HOME = /nfs/tools/snmp++/v322 (default)
JAVA_HOME = /opt/weblogic/bea/jdk141_05
J2EE_HOME = /opt/j2sdk1.4.2_05
LOG4J_LIB = /nfs/tools/extjars/log4j-1.2.7.jar (default)
OPENSSL_HOME = /user3/local/sbtvcabo/sdk/sdk/ssl
PYTHON_HOME = /opt/local/python
ANT_HOME = /nfs/tools/extjars (default)
CPS_HOME = (default)
VBROKER_HOME = /opt/inprise/vbroker
------------------------------------- ------------ -------------------------------------
...found 412 target(s)...
...updating 6 target(s)...
C++ NetManagerORB.o
C++ FileParser.o
C++ MassUpdate.o
C++ XercesString.o
C++ XmlHandler.o
Link netmanager
Undefined first referenced
symbol in file
TAO::TypeCode::Objref ::__vtbl /user3/local/sbtvcabo/sdk/sdk/lib/libnetmanager.a(NetMFOSIfC.o) (symbol belongs to implicit dependency /user3/local/sbtvcabo/src/ACE_wrappers/lib/libTAO_AnyTypeCode.so.1.5.0)
[Hint: try checking whether the first non-inlined, non-pure virtual function of class TAO::TypeCode::Objref is defined]

TAO::__RTTI__1nDTAOQUnknown_IDL_Type_ /user3/local/sbtvcabo/sdk/sdk/lib/libnetmanager.a(NetMFOSIfC.o) (symbol belongs to implicit dependency /user3/local/sbtvcabo/src/ACE_wrappers/lib/libTAO_AnyTypeCode.so.1.5.0)
[Hint: static member TAO::__RTTI__1nDTAOQUnknown_IDL_Type_ must be defined in the program]

bool TAO::Any_Impl::to_abstract_base(CORBA::AbstractBase*&)const /user3/local/sbtvcabo/sdk/sdk/lib/libnetmanager.a(NetMFOSIfC.o) (symbol belongs to implicit dependency /user3/local/sbtvcabo/src/ACE_wrappers/lib/libTAO_AnyTypeCode.so.1.5.0)
TAO::TypeCode::Struct *,TAO::Null_RefCount_Policy>::__vtbl /user3/local/sbtvcabo/sdk/sdk/lib/libnetmanager.a(NetMFOSIfC.o) (symbol belongs to implicit dependency /user3/local/sbtvcabo/src/ACE_wrappers/lib/libTAO_AnyTypeCode.so.1.5.0)
[Hint: try checking whether the first non-inlined, non-pure virtual function of class TAO::TypeCode::Struct *,TAO::Null_RefCount_Policy> is defined]

int TAO::Any_Impl::_tao_byte_order()const /user3/local/sbtvcabo/sdk/sdk/lib/libnetmanager.a(NetMFOSIfC.o) (symbol belongs to implicit dependency /user3/local/sbtvcabo/src/ACE_wrappers/lib/libTAO_AnyTypeCode.so.1.5.0)
CORBA::TypeCode::~TypeCode #Nvariant 1() /user3/local/sbtvcabo/sdk/sdk/lib/libnetmanager.a(NetMFOSIfC.o) (symbol belongs to implicit dependency /user3/local/sbtvcabo/src/ACE_wrappers/lib/libTAO_AnyTypeCode.so.1.5.0)
TAO::__RTTI__1nDTAOIAny_Impl_ /user3/local/sbtvcabo/sdk/sdk/lib/libnetmanager.a(NetMFOSIfC.o) (symbol belongs to implicit dependency /user3/local/sbtvcabo/src/ACE_wrappers/lib/libTAO_AnyTypeCode.so.1.5.0)
[Hint: static member TAO::__RTTI__1nDTAOIAny_Impl_ must be defined in the program]

TAO::Any_Impl::~Any_Impl #Nvariant 1() /user3/local/sbtvcabo/sdk/sdk/lib/libnetmanager.a(NetMFOSIfC.o) (symbol belongs to implicit dependency /user3/local/sbtvcabo/src/ACE_wrappers/lib/libTAO_AnyTypeCode.so.1.5.0)
void TAO::Any_Impl::_remove_ref() /user3/local/sbtvcabo/sdk/sdk/lib/libnetmanager.a(NetMFOSIfC.o) (symbol belongs to implicit dependency /user3/local/sbtvcabo/src/ACE_wrappers/lib/libTAO_AnyTypeCode.so.1.5.0)
TAO::Any_Impl::Any_Impl #Nvariant 1(void(*)(void*),CORBA::TypeCode*,bool) /user3/local/sbtvcabo/sdk/sdk/lib/libnetmanager.a(NetMFOSIfC.o) (symbol belongs to implicit dependency /user3/local/sbtvcabo/src/ACE_wrappers/lib/libTAO_AnyTypeCode.so.1.5.0)
bool TAO::Any_Impl::to_value(CORBA::ValueBase*&)const /user3/local/sbtvcabo/sdk/sdk/lib/libnetmanager.a(NetMFOSIfC.o) (symbol belongs to implicit dependency /user3/local/sbtvcabo/src/ACE_wrappers/lib/libTAO_AnyTypeCode.so.1.5.0)
void CORBA::Any::replace(TAO::Any_Impl*) /user3/local/sbtvcabo/sdk/sdk/lib/libnetmanager.a(NetMFOSIfC.o) (symbol belongs to implicit dependency /user3/local/sbtvcabo/src/ACE_wrappers/lib/libTAO_AnyTypeCode.so.1.5.0)
CORBA::_tc_string /user3/local/sbtvcabo/sdk/sdk/lib/libnetmanager.a(NetMFOSIfC.o) (symbol belongs to implicit dependency /user3/local/sbtvcabo/src/ACE_wrappers/lib/libTAO_AnyTypeCode.so.1.5.0)
[Hint: static member CORBA::_tc_string must be defined in the program]

bool CORBA::TypeCode::equivalent(CORBA::TypeCode*)const /user3/local/sbtvcabo/sdk/sdk/lib/libnetmanager.a(NetMFOSIfC.o) (symbol belongs to implicit dependency /user3/local/sbtvcabo/src/ACE_wrappers/lib/libTAO_AnyTypeCode.so.1.5.0)
void TAO::Any_Impl::_add_ref() /user3/local/sbtvcabo/sdk/sdk/lib/libnetmanager.a(NetMFOSIfC.o) (symbol belongs to implicit dependency /user3/local/sbtvcabo/src/ACE_wrappers/lib/libTAO_AnyTypeCode.so.1.5.0)
bool TAO::Any_Impl::to_object(CORBA::Object*&)const /user3/local/sbtvcabo/sdk/sdk/lib/libnetmanager.a(NetMFOSIfC.o) (symbol belongs to implicit dependency /user3/local/sbtvcabo/src/ACE_wrappers/lib/libTAO_AnyTypeCode.so.1.5.0)
CORBA::TypeCode*CORBA::Any::_tao_get_typecode()const /user3/local/sbtvcabo/sdk/sdk/lib/libnetmanager.a(NetMFOSIfC.o) (symbol belongs to implicit dependency /user3/local/sbtvcabo/src/ACE_wrappers/lib/libTAO_AnyTypeCode.so.1.5.0)
CORBA::_tc_long /user3/local/sbtvcabo/sdk/sdk/lib/libnetmanager.a(NetMFOSIfC.o) (symbol belongs to implicit dependency /user3/local/sbtvcabo/src/ACE_wrappers/lib/libTAO_AnyTypeCode.so.1.5.0)
[Hint: static member CORBA::_tc_long must be defined in the program]

bool TAO::Any_Impl::encoded()const /user3/local/sbtvcabo/sdk/sdk/lib/libnetmanager.a(NetMFOSIfC.o) (symbol belongs to implicit dependency /user3/local/sbtvcabo/src/ACE_wrappers/lib/libTAO_AnyTypeCode.so.1.5.0)
CORBA::TypeCode::__vtbl /user3/local/sbtvcabo/sdk/sdk/lib/libnetmanager.a(NetMFOSIfC.o) (symbol belongs to implicit dependency /user3/local/sbtvcabo/src/ACE_wrappers/lib/libTAO_AnyTypeCode.so.1.5.0)
[Hint: try checking whether the first non-inlined, non-pure virtual function of class CORBA::TypeCode is defined]

ld: fatal: Symbol referencing errors. No output written to netmanager

/opt/forte7/SUNWspro/bin/CC -library=rwtools7,iostream -ldemangle -mt -L/user3/local/sbtvcabo/sdk/sdk/ssl/lib -staticlib=rwtools7,iostream,Cstd -Bdynamic -L/user3/local/sbtvcabo/src/ACE_wrappers/ace -lTAO_PortableServer -lTAO_Valuetype -lTAO_IORInterceptor -lTAO_IORTable -lTAO_CosNaming -lTAO -lACE -lTAO_ObjRefTemplate -Bstatic -o netmanager NetManagerORB.o FileParser.o MassUpdate.o XercesString.o XmlHandler.o /user3/local/sbtvcabo/sdk/sdk/lib/libnetmanager.a -Bstatic -L/user3/local/sbtvcabo/sdk/sdk/lib -Bstatic -L/user3/local/sbtvcabo/sdk/sdk/lib -lSb6AdptEa -lSb6AdptCmn -lSb6AdptCmnDboracle -lSb6AdptCmnDb -lSb6Call -lSb6Lsnr -lSb6LsnrDboracle -lSb6LsnrDb -lSb6ConnXml -lSb6Conn -lSb6AdptEa -lSb6ConnDboracle -lSb6ConnDb -L/user3/local/sbtvcabo/sdk/sdk/lib -lSb6Cfg -lSb6CfgDboracle -lSb6CfgDb -lSb6Cmn -lSb6CmnDboracle -lSb6CmnDb -lSb6Mf -lSb6Wrapper -L/user3/local/sbtvcabo/sdk/sdk/lib -lVframeMdClient -lVframeMdDboracle -lVframeMdDb -lVframeCmpnt -L/user3/local/sbtvcabo/sdk/sdk/lib -lHframeoracle -lHframeXml -lHframe -lboost -Bstatic -lssl -lcrypto -Bdynamic -lpthread -lposix4 -Bdynamic -L/user1/oracle9i2/lib -lclntsh -lnsl -lsocket -lgen -ldl -lsched -laio -lm -lthread -Bdynamic -L/opt/xml/xerces-c-src1_7_0/lib -lxerces-c -L/opt/xml/xalan-c-src1_3_0/lib -lxalan-c

...failed Link netmanager ...
...failed updating 1 target(s)...
...updated 5 target(s)...

   <<Less
About | Sitemap | Contact