- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Run dlopen error“Unsatisfied code symbol '_mcount'...
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
Discussions
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
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
04-25-2008 07:30 PM
04-25-2008 07:30 PM
When I run dlopen a “*.sl”,there happens a error,dlerror function’s result is :
“Unsatisfied code symbol '_mcount' in load module '/billing/dll/libC04.sl'.
------it’s makefile for *.sl--------------
LLIBTHREAD=-lpthread
CCFLAGSCC= +DSblended +O2 +Z -AA +DD64 -mt -D_RWSTD_MULTI_THREAD -DPTHREAD_FORCE_SCOPE_SYSTEM $(LLIBTHREAD)
INCLUDE= -I$(ORACLE_HOME)/rdbms/demo \
-I$(ORACLE_HOME)/rdbms/public \
-I$(ORACLE_HOME)/plsql/public \
-I$(ORACLE_HOME)/network/public \
-I./
HP_UX_ACC_COMPILE=aCC -D$(UNIX_VER) +z -ldl -g $(CCFLAGSCC) -I- $(INCLUDE) -I ./ -c
SLLD=aCC -b $(CCFLAGSCC)
so:$(OBJ)$(SO).o
$(SLLD) -G -o lib$(SO).sl $(OBJ)$(SO).o -lpthread -L$(ORACLE_HOME)/lib -lclntsh
$(OBJ)$(SO).o:$(SO).cpp $(DIR)base.h
$(CC) -I$(DIR) $(SO).cpp $(DIR)base.h
------it’s main program’s codes-----------
void *hndl = dlopen( dllname, RTLD_NOW|RTLD_GLOBAL );
char *dl = dlerror();
cout<<"kkdk"<
- ---------------------------------------
When I run the program,error haved happened.
MY Program’s Environment:
machine : ia64 hp server rx4640
OS info:
sysname = HP-UX
release = B.11.23
I hope somebody can help me.
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2008 07:45 PM
04-25-2008 07:45 PM
SolutionThis means you compiled with -G. To use gprof you must link your executable with -G.
Why are you using -G to use the obsolete gprof?
Instead you should be using caliper to collect this info.
- Tags:
- -G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2008 07:48 PM
04-25-2008 07:48 PM
Re: Run dlopen error“Unsatisfied code symbol '_mcount' in load module '/billing/dll/libC04.sl'
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1165000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2008 11:24 PM
12-21-2008 11:24 PM
Re: Run dlopen error“Unsatisfied code symbol '_mcount' in load module '/billing/dll/libC04.sl'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2008 11:26 PM
12-21-2008 11:26 PM