Operating System - HP-UX
1748182 Members
3577 Online
108759 Solutions
New Discussion юеВ

C++ compiler errors with Oracle libs

 
Ramesh Makkena
New Member

C++ compiler errors with Oracle libs

I am getting the following error message when I used gdb with my code. I had this code running on Solaris and I am planning to use it on HP-UX PA-RISC 2 system.

*******************************************
Detected 64-bit executable.
Invoking /opt/langtools/bin/gdb64.
HP gdb 3.1 for PA-RISC 2.0 (wide), HP-UX 11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 3.1 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
..
Core was generated by `afmsrv'.
Program terminated with signal 6, Aborted.

warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.
*******************************************

warning: section .data not found in /opt/oracle/Client/9.2.0.5/lib/libwtc9.sl
#0 0xc0000000011fa55c in kill+0x2c () from /usr/lib/pa20_64/libc.2
3 REPLIES 3
ranganath ramachandra
Esteemed Contributor

Re: C++ compiler errors with Oracle libs

can you post the complete stack trace ?
use the gdb 'bt' command
 
--
ranga
[i work for hpe]

Accept or Kudo

Eric Antunes
Honored Contributor

Re: C++ compiler errors with Oracle libs

Hi Ramesh,

See this Metalink Note:

http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=273345.1

Hope this'll solve your issue,

Eric Antunes
Each and every day is a good day to learn.
Ramesh Makkena
New Member

Re: C++ compiler errors with Oracle libs

I had to include pa20_64 lib path in the make file