Re: [Stlport-devel] problems compiling on HP-UX hprx02 B.11.31 Uia64
Brought to you by:
complement
|
From: Gubenko, B. <bor...@hp...> - 2008-11-17 20:20:51
|
Meir,
> HP-UX hprx01 B.11.23 U ia64
while subject line says: 11.31, the output of uname says: 11.23.
I could reproduce compilation problem with c_locale.c on a 11.23
system (which is what you're using), but not on a 11.31 system.
On a 11.31 system, I had no problem building STLport 5.1.7 with
aC++ A.06.17. I did not make any changes, I just issued
'gmake -f aCC.mak' command.
I did not run unit tests, but, as you can see from the attached,
"hello world" worked. Also, the output of 'ldd' shows that, as expected,
the executable is linked against STLport library and is not linked against
RW library.
I'm not sure what the problem is. On both systems, I used A.06.17.
It is possible that some change in libc header files between 11.23 and 11.31
allows the program to compile. I'll try to investigate when I have a chance.
Anyway, can you build STLport 5.1.7 on a 11.31 system?
Boris
x.cpp
-----
#include <iostream>
int main() {
std::cout << "hello, world" << std::endl;
}
bash-2.03$ uname -a
HP-UX B.11.31 U ia64 1804391116
bash-2.03$ aCC -V
aCC: HP C/aC++ B3910B A.06.17 [Mar 4 2008]
bash-2.03$ export STLPORT_ROOT="$HOME/STLport-5.1.7/STLport-5.1.7"
bash-2.03$ aCC -c -Aa -mt -I $STLPORT_ROOT/stlport x.cpp
bash-2.03$ aCC x.o -o x.out -mt +nostl -L $STLPORT_ROOT/build/lib/obj/aCC/so/ -lstlport
bash-2.03$ x.out
hello, world
bash-2.03$ ldd x.out
libstlport.so.5.1 => /home/borisg/STLport-5.1.7/STLport-5.1.7/build/lib/obj/aCC/so//libstlport.so.5.1
libCsup.so.1 => /usr/lib/hpux32/libCsup.so.1
libpthread.so.1 => /usr/lib/hpux32/libpthread.so.1
libm.so.1 => /usr/lib/hpux32/libm.so.1
libunwind.so.1 => /usr/lib/hpux32/libunwind.so.1
libc.so.1 => /usr/lib/hpux32/libc.so.1
libdl.so.1 => /usr/lib/hpux32/libdl.so.1
libuca.so.1 => /usr/lib/hpux32/libuca.so.1
bash-2.03$
________________________________
From: Meir Yanovich [mailto:me...@ft...]
Sent: Sunday, November 16, 2008 3:23 PM
To: Gubenko, Boris; stl...@li...
Subject: RE: [Stlport-devel] problems compiling on HP-UX hprx02 B.11.31 Uia64
hi
here is the info :
HP-UX hprx01 B.11.23 U ia64
aCC: HP C/aC++ B3910B A.06.15
im compiling with AA because the application im linking with stlport compiled with AA.
so i guess stlport must be with AA and not Aa
what else can it be ?
|