Hi Dave, It was +DD64 flag for compiler and linker.
Regards, Alona -----Original Message----- From: David Bertoni [mailto:[email protected]] Sent: January 21, 2010 3:08 PM To: [email protected] Subject: Re: configure fails on HP-UX 11.11 on RISC On 1/21/2010 11:34 AM, Alona Rossen wrote: > Hello, > > I run the following configure command on HP-UX11 on RISC: > > ./configure CXX=aCC CC=aCC CFLAGS=-mt CXXFLAGS=-mt -AA +Z +DA2.0W +DS2.0 > LDFLAGS=-mt -L/usr/lib/pa20_64 It would be better to specify the C compiler as "cc" rather than using aCC. > > checking size of wchar_t... configure: error: cannot compute sizeof > (wchar_t) What does the config.log show? I tried your configure line, and I see the following: configure:21427: aCC -Ae -o conftest -mt -mt -L/usr/lib/pa20_64 conftest.c >&5 /usr/ccs/bin/ld: /usr/lib/pa20_64/libpthread.sl: Mismatched ABI. 64-bit PA shared library found in 32-bit link. So I suspect you need to add both +DA2.0W and +DS2.0 to the LDFLAGS. > In fact, it cannot compute size of any type. Check the config.log. Dave
