
Hi all I am trying to build boost v 1.30.0 regex library on a hp machine. The 'syname' output is this: PA-RISC2.0_hpux_11.00_v5.1c I go to the "boost-1.30.0/libs/regex/build" directory and issue a 'make -f gcc.mak' command. I get the following errors: ../src/c_regex_traits.cpp:660: call of overloaded `getlocale(int)' is ambiguous /usr/gcc/3.1/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.1/include/locale.h:144: candidates are: locale_data* getlocale(int) ../src/c_regex_traits.cpp:62: const char* <unnamed>::getlocale(int) ../src/c_regex_traits.cpp:663: call of overloaded `getlocale(int)' is ambiguous /usr/gcc/3.1/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.1/include/locale.h:144: candidates are: locale_data* getlocale(int) ../src/c_regex_traits.cpp:62: const char* Here is the gcc version. Its v3.1 =========================================================== [4:00pm: regex/build]gcc -v Reading specs from /usr/intel/pkgs/gcc/3.1/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.1/specs Configured with: ../gcc-3.1/configure --host=hppa2.0w-hp-hpux11.00 --target=hppa2.0w-hp-hpux11.00 --prefix=/usr/gcc/3.1 --enable-languages=c,c++ --enable-threads --with-gnu-as --with-as=/usrgcc/3.1/bin/gas Thread model: single gcc version 3.1 [4:03pm: regex/build] ============================================================= Anyone have any idea how I can fix this problem of the ambiguious getlocale function? Thanks!