1832891 Members
2440 Online
110048 Solutions
New Discussion

Compilation problems

 
SOLVED
Go to solution
Chartier Jerome
Frequent Advisor

Compilation problems

Hi,

I have an executable which should connect to database Oracle 9i. I am trying to compile and
run the file on HP UX 11.11. On running the executable it gives bus
error(core dump). I tried debugging the executable through gdb, it says:
Program received signal SIGBUS, Bus error.
0x000000000100588 in pthread_default_stacksize_np ()
??????from /lib/pa20_64/libpthread.1
I am compiling the program with +DD64 flag.
Could you please tell me the possible reasons for this error

Thanks in advance for your help

J??r??me
J@Y
1 REPLY 1
Alex Glennie
Honored Contributor
Solution

Re: Compilation problems

export LD_PRELOAD=/usr/lib/pa20_64/libpthread.1
maybe worth a try see http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x8721b941255cd71190080090279cd0f9,00.html
and to patches : PHCO_29109 maybe worth a look at.