Operating System - HP-UX
1752808 Members
6148 Online
108789 Solutions
New Discussion юеВ

Compile unixODBC-2.2.12 on HP-UX 11.11

 
Antonio Rodrigues
Occasional Contributor

Compile unixODBC-2.2.12 on HP-UX 11.11

Hi,

I'm trying to install the unixODBC-2.2.12 on a "HP-UX B.11.11 U 9000/800". I did:

$export CFLAGS=+DD64
$export CPPFLAGS=+DD64
$./configure --prefix=/oradata --enable-gui=no --enable-drivers=no
$make

got
.....
(Bundled) cc: "strcasecmp.c", line 58: error 1705: Function prototypes are an AN
SI feature.
*** Error exit code 1

Any help ? Thanks
2 REPLIES 2
Peter Godron
Honored Contributor

Re: Compile unixODBC-2.2.12 on HP-UX 11.11

Hi,
and welcome to the forums.

Looks like you need a ANSI-C compiler,
either buy one from HP or install free gcc.

http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,1857,00.html

http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-4.1.1/

http://mirrors.develooper.com/hpux/downloads.html

The bundled cc compiler is not ANSI-C enabled, and mainly used for kernel compiles.

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
Antonio Rodrigues
Occasional Contributor

Re: Compile unixODBC-2.2.12 on HP-UX 11.11

Thanks for your answer .