Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. rimono

    Dynamic loader taking function from wrong lib

    Problem resolution – for anyone interested. The problem was finally solved by -Bsymbolic, but it was in a roundabout way. We are working on HP and when we ran into the problem we were compiling with gcc. We tried adding –Bsymbolic to the gcc command but it didn’t help. We then tried adding...
  2. rimono

    Dynamic loader taking function from wrong lib

    Yep. I mean dlopen etc.
  3. rimono

    Dynamic loader taking function from wrong lib

    What I didn't mention is that libB loads libA dynamically at runtime. We used the -Bsymbolic flag when we linked libA from the separate objects. From the documentation it seems that -Bsymbolic should have given us what we want, by forcing libA to use its own functions, but it didn't change...
  4. rimono

    Dynamic loader taking function from wrong lib

    Hi, I have two dynamically loaded libraries (shared objects), both of which include functions of the same name - foo. When I call 'foo' from libA, it takes it from libB, although it is implemented in libA as well. Since we need the function to be called from libA, we tried linking it with the...
  5. rimono

    gdb on HPUX 11.23

    /usr/ccs/bin is in the PATH - I'm afraid it doesn't help.
  6. rimono

    alignment of char array

    Thanks for the insight. The 64bit issue is indeed important, I may need that in the future and should keep it in mind. Structures of course would have prevented this whole problem, but I'm now looking for a quick and easy solution that will save me the need to go through all the code and find...
  7. rimono

    alignment of char array

    Hi, I'm porting code from Windows to HP-UX 11.23, using gcc (I'm begining to suspect this might not be the best choice, but I thought it would be most compatible since we've already compiled on Linux with gcc). I have in my code something similar to the folowing: unsigned char *ch_arr = new...
  8. rimono

    gdb on HPUX 11.23

    Hi, I'm trying to debug my gcc compiled code on my HPUX 11.23 (Itanium). I searched the machine to find something that looks like a compiler, and what I found was : adb (a bit unfriendly for debugging) kwdb (I understand this is a kernel debugger) gdb32 gdb64 gdbpa When I run either gdb32...

Part and Inventory Search

Back
Top