This is a discussion on Problem of C++ program in hp Unix within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi All I am working for porting across unix flavours. A shared library program using dlopen, dlsym etc worked ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi All I am working for porting across unix flavours. A shared library program using dlopen, dlsym etc worked on linux. But when I tried it on hp Unix 64 bit; it did not work. mytest.pcè pro c program whose shared library is required. prog.cè c program in which I am calling function of mytest.pc(using dlopen,dlsym etc) Following is my build script for the programs. proc iname=mytest.pc sqlcheck=full code=cpp user=ml/ml@base35db aCC -g -c mytest.c -o mytest.o +DD64 -D_ARCH_PARISC -D_COMPILER_ACC -D_BITS_64 +Z -I/oracle/precomp/public -I/oracle/rdbms/demo -I/oracle/rdbms/public -L/oracle/lib /oracle/precomp/lib/cobsqlintf.o -lclntsh `cat /oracle/lib/sysliblist` -lm aCC +DD64 -b -o mytest.sl mytest.o -L/oracle/lib /oracle/precomp/lib/cobsqlintf.o -lclntsh `cat /oracle/lib/sysliblist` -lm aCC +DD64 -g -o run prog.c -lpthread It compiled correctly but gave segmentation fault. When I tried it with gdb it gave following error :- Version of shared library /lib/pa20_64/libpthread.1 not understood. Please help me to solve the problem if possible for anyone. Thanks in Advance. |
| ||||
| "chets" <gautamchetana1982@gmail.com> writes: > I am working for porting across unix flavours. A shared library > program using dlopen, dlsym etc worked on linux. But when I tried it on > hp Unix 64 bit; it did not work. Please stop multi-posting (learn to cross-post instead), and please stop posting to groups where this is completely off-topic. What does your problem have to do with AIX??? Cheers, -- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email. |
| Thread Tools | |
| Display Modes | |
|
|