cURL / Mailing Lists / curl-library / Single Mail

curl-library

Curl build on HP-UX failed

From: Arunav Sanyal <arunav.sanyal91_at_gmail.com>
Date: Thu, 5 Sep 2013 20:06:31 +0530

Hi

I was trying to build cURL in a 64 bit HP-UX machine

The curl configure script failed at:-

checking if compiler is DEC/Compaq/HP C... no
checking if compiler is HP-UX C... yes
checking if compiler is IBM C... no
checking if compiler is Intel C... no
checking if compiler is clang... no
checking if compiler is GNU C... no
checking if compiler is LCC... no
checking if compiler is SGI MIPSpro C... no
checking if compiler is SGI MIPS C... no
checking if compiler is SunPro C... no
checking if compiler is Tiny C... no
checking if compiler is Watcom C... no
checking if compiler accepts some basic options... yes
configure: compiler options added: -z +W 4227,4255
checking if compiler accepts debug disabling options... yes
configure: compiler options added: -s
checking if compiler optimizer assumed setting might be used... yes
checking if compiler accepts optimizer enabling options... yes
configure: compiler options added: +O2
checking if compiler halts on compilation errors... yes
checking if compiler halts on negative sized arrays... yes
checking if compiler halts on function prototype mismatch... no
configure: error: compiler does not halt on function prototype mismatch.

and then it broke

The output for config.log at the end is as the follows:-

configure:17721: checking if compiler halts on function prototype mismatch
configure:17750: cc -c -z +W 4227,4255 -s +O2 +DD64
-I/nfs/infainstaller/installer/tpl/OpenSSL/1.0.1e/HP-UX.IPF.64.r/install/include
-I/nfs/infainstaller/installer/tpl/zlib/1.2.8/HP-UX.IPF.64.r/ins
tall/include
-I/nfs/infainstaller/installer/tpl/FBOpenSSL/0.0.4/HP-UX.IPF.64.r/install/include
-I/nfs/infainstaller/installer/tpl/mitkerberos/1.11.1/HP-UX.IPF.64.r/install/include
-I/nfs/infainstal
ler/installer/tpl/mitkerberos/1.11.1/HP-UX.IPF.64.r/install/include/gssapi
conftest.c >&5
"conftest.c", line 59: warning #2549-D: variable "i" is used before its
value is set
        int j = rand(i[0]);
                     ^
configure:17750: $? = 0
configure:17752: result: no
configure:17754: error: compiler does not halt on function prototype
mismatch.

also the compiler version is :-

cc: HP C/aC++ B3910B A.06.23

Anyone has any idea what is wrong?

-- 
Arunav Sanyal
4th year undergraduate student
B.E (Hons) Computer Science
BITS Pilani K.K Birla Goa Campus

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-09-05