Re: [Stlport-devel] problems compiling on HP-UX hprx02 B.11.31 U ia64
Brought to you by:
complement
|
From: Gubenko, B. <bor...@hp...> - 2008-11-13 14:55:56
|
Hi Meir, it looks like the "native" errno.h header gets included before STLport "jacket": /STLport-5.1.7/stlport/errno.h. I don't know why. You might want to look at preprocessed file to see the order of inclusions. A brute force method would be to disable this check in the jacket. Sorry I cannot help more. Boris From: Meir Yanovich [mailto:me...@ft...] Sent: Thursday, November 13, 2008 3:02 AM To: Gubenko, Boris; stl...@li... Subject: RE: [Stlport-devel] problems compiling on HP-UX hprx02 B.11.31 U ia64 Thanks boris for the fast reply , now im getting new error when compiling my executable : /STLport-5.1.7/stlport/errno.h", line 46: error #2035: #error directive: errno has been defined before inclusion of errno.h header. is there any special flags i need to define when compiling STLport so it will include the errno.h? or what ? ________________________________ From: Gubenko, Boris [mailto:bor...@hp...] Sent: Wednesday, November 12, 2008 7:43 PM To: Meir Yanovich; stl...@li... Subject: RE: [Stlport-devel] problems compiling on HP-UX hprx02 B.11.31 U ia64 /include_std is a standard location of header files on HP-UX, "known" to the compiler. "+nostl" prevents the compiler from looking into this directory. Try to compile without "+nostl", but specify it on the link command. This is what used to work with STLport 5.1 : export STLPORT_ROOT=...../STLport.5_1/STLport.5_1/STLport aCC -c -Aa -mt -I $STLPORT_ROOT/stlport x.cpp aCC x.o -o x.out -mt +nostl -L $STLPORT_ROOT/build/lib/obj/aCC/so/ -lstlport HTH, Boris ________________________________ From: Meir Yanovich [mailto:me...@ft...] Sent: Wednesday, November 12, 2008 7:21 AM To: stl...@li... Subject: [Stlport-devel] problems compiling on HP-UX hprx02 B.11.31 U ia64 hello all i need to switch the rw stl with STLport , and i have some problems first in compilation THE $OSNAME is in upper case so you have to change it when you try to build from source . second when i try to compile the application with STLport 5.1.7 im getting compilation errors that says for example : STLport-5.1.7/stlport/limits.h", line 27: error #2005-D: could not open source file "../include _std/limits.h" #include _STLP_NATIVE_C_HEADER(limits.h) but in the source tar i download there is no include_std dir . do i need to create one ? in my make files i added in the compilation : +nostl -I/../../Path_To_Stl/STLport/STLport-5.1.7/stlport -I/../../Path_To_Stl/STLport/STLport-5.1.7/stlp ort/stl and in the linking i added : +nostl -L//../../Path_To_Stl/STLport/STLport-5.1.7/build/lib/obj/aCC/so_stlg/ -lstlportstlg the stlport file name is libstlportstlg.a Thanks for helping |