- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Facing problem with M3UA library
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 02:03 AM
тАО01-14-2009 02:03 AM
Facing problem with M3UA library
I am facing problem with OAMM3UA API.
This is my sample code:
//Test.c
#include
#include
#include
#include "ss7errors.h"
#include "m3uaOamDefs.h"
#include "ss7_if.h"
int main(){
int ret_val;
int m3uaCnxId=0;
ret_val=SS7_ifclose(m3uaCnxId);
printf("%d",ret_val);
return 0;
}
When I am trying to make binary for this code with the help of OAMM3UA shared library Then I am facing these errors:
==========
For making Binary of these sample code.
bash-2.05b# /opt/aCC/bin/aCC -g -AA -z -v +z -I. -L/opt/OC/lib/hpux64/libM3UAOamAPIWBB.so test.c -o tested
These error I am getting:
bash-2.05b# /opt/aCC/bin/aCC -g -AA -z -v +z -I. -L/opt/OC/lib/hpux64/libM3UAOamAPIWBB.so test.c -o tested
/opt/aCC/lbin/ecom -architecture 32 -ia64abi all -inst compiletime -sysdir /usr/include -test namespaces -koenig_lookup on -ansi_for_scope on -inline_power 1 -link_type dynamic -fpeval float -fpevaldec _Decimal32 -tls_dyn on -target_os 11.23 -I. --sys_include /opt/aCC/include_std --sys_include /opt/aCC/include_std/iostream_compat --sys_include /usr/include --sys_include /usr -D_HP_IA64ABI -D_BIND_LIBCALLS -D_Math_errhandling=MATH_ERREXCEPT -D__hpux -D__unix -D__ia64=1 -D__ia64__=1 -D_BIG_ENDIAN=1 -D__STDCPP__ -D_HP_NAMESPACE_STD -D_ILP32 -D__cplusplus=199711L -D_INCLUDE__STDC_A1_SOURCE -D__HP_aCC=62000 -D_HP_INSTANTIATE_T_IN_LIB -D_INLINE_ASM -D_FLT_EVAL_METHOD=0 -D_DEC_EVAL_METHOD=0 -debug debugG1 -ucode hdriver=optlevel%1% -plusolistoption -Ol06all! -plusolistoption -Ol13moderate! -plusooption -Oq01,al,ag,cn,sz,ic,vo,Mf,Po,es,rs,Rf,Pr,sp,in,cl,om,vc,pi,fa,pe,rr,pa,pv,nf,cp,lx,Pg,ug,lu,lb,uj,dn,sg,pt,kt,em,np,ar,rp,dl,fs,bp,wp,pc,mp,lr,cx,cr,pi,so,Rc,fa,ft,fe,ap,st,lc,Bl,sr,Qs,do,ib,pl,sd,ll,rl,dl,Lt,ol,fl,lm,ts,rd,dp,If! test.c
LPATH=/usr/lib/hpux32:/opt/langtools/lib/hpux32
/usr/ccs/bin/ld -z -o tested -u___exit -umain -L/opt/aCC/lib/hpux32 -L /opt/OC/lib/hpux64/libM3UAOamAPIWBB.so test.o -lstd_v2 -lCsup -lm -lunwind -lCsup -lc -ldl >/var/tmp/AAAa01604 2>&1
/opt/aCC/bin/c++filt &2
ld: Unsatisfied symbol "SS7_ifclose" in file test.o
1 errors.
removing /var/tmp/AAAa01604
I also checked libM3UAOamAPIWBB.so file and I got that SS7_ifclose() function is present in that shared library.
Expert, Could yoy tell me why this problem is comming and what would be the resoultion of this problem.
TIA
-Amit
- Tags:
- unsat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 03:43 AM
тАО01-14-2009 03:43 AM
Re: Facing problem with M3UA library
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 04:18 AM
тАО01-14-2009 04:18 AM
Re: Facing problem with M3UA library
Thanks for your quick reply.
but my exact question is for SS7_ifclose()api which library file would be include. As I mentioned in my mail I used libM3UAWBB.so library but I can not able to link that library . For verify that which shared file is using this library i checked by using nm command in /opt/oc/lib folder but i did not get the definition of this function.
have you have any idea which of the so file I should used.
Regards,
Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 04:22 AM
тАО01-14-2009 04:22 AM
Re: Facing problem with M3UA library
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 08:22 PM
тАО01-14-2009 08:22 PM
Re: Facing problem with M3UA library
First of all, I don't know about OAMM3UA.
Looking at your link line, you are using 64-bit library without -DD64
option. I'm sure /opt/OC/lib/hpux64/libM3UAOamAPIWBB.so is 64-bit, not 32-bit.
Does the folloging works ?
% /opt/aCC/bin/aCC +DD64 -g -AA -z -v +z -I. \
-L/opt/OC/lib/hpux64 -lM3UAOamAPIWBB test.c -o tested
Shinji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 05:08 AM
тАО01-15-2009 05:08 AM
Re: Facing problem with M3UA library
Thanks for all your support.
Finally I resloved that issue.
Regards,
Amit