[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

hpux export stub.

Posted on 2002-03-27
1
Medium Priority
?
631 Views
Last Modified: 2013-12-26
Hi,
  In a program that i am developing, i am linking with a third party software. Now when i call a function asctime in my program i get a core dump. When i debug the core i found that there was a call to a function __eprintf and this functions type was "hpux export stub". What is this hp ux export stub? This is the case when i am linking with the shared library. However when i am linking with the static library i am not getting any core dump and the program is working fine. Now when i did nm on the libraries(shared and static) for asctime functions i found the following thing:

In shared library:
asctime             |          |undef |code   |
asctime             |   1398712|uext  |stub   |

In static library:
asctime             |          |undef |code   |


Now you can see the differnece between the libraries as far the function asctime is concerned.
Do you have any clue why i am not getting core dump in calling asctime using static library, and i am getting a core dump when i use the shared library.

Thanks,

-Prabhakar.
0
Comment
Question by:pandey5
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
elfie earned 1200 total points
ID: 6916450
How is your program linked together. Try using immediate binding ( ld option).

Thsi way you see at startup time if some functions are missings in the shared libraries.

If it works with static libraries, it's also possible that the order in which the shared libraries are specified is not correct.

Which version of HPUX are u using?
0

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question