[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Compiling on hp-ux 10.20



Okay....


So.. I'm using gcc 2.95.

I'm using the configure statement of:
CC=gcc /configure --disable-ldbm --disable-slapd

And I get the following error:
gcc -O2 -I../../include -I../../include -c util-int.c  -fPIC -DPIC -o
.libs/util
-int.lo
util-int.c: In function `ldap_pvt_gethostbyname_a':
util-int.c:177: `h_errno' undeclared (first use in this function)
util-int.c:177: (Each undeclared identifier is reported only once
util-int.c:177: for each function it appears in.)
make[2]: *** [util-int.lo] Error 1
make[2]: Leaving directory
`/ctron/datatech/comp/openldap-2.0.7/libraries/liblda
p'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/ctron/datatech/comp/openldap-2.0.7/libraries'
make: *** [all-common] Error 1


Something about gethostbyname...

Anyideas?

Ugh.

-----

> You might try the HP-UX Devtools mailing list archive at,
> http://h21007.www2.hp.com/hpux-devtools/CXX/hpux-devtools.0009/0006.html
> 
> If you are using HP-UX 11.0 or later, you can get a gcc compiler
> from HP's "Developer & Solution Partner Portal".
> 
> Go to http://www.hp.com/go/dspp and search for gcc or try directly at
> http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,5
> 47,00.html
> 
> -- Barbara
> 
>> -----Original Message-----
>> From: Mudry, Robert (N-aerotek) [mailto:robert.mudry@lmco.com]
>> Sent: Wednesday, March 20, 2002 12:39 PM
>> To: 'Mark McCray'; openldap-software@OpenLDAP.org
>> Subject: RE: Compiling on hp-ux 10.20
>> 
>> 
>> HP does not ship with a "real" compiler. You're going to need
>> to download
>> and install GCC. A pre-compiled version is available at the
>> following URL if
>> you don't want to deal with the pain of compiling it yourself:
>> 
>> http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-3.0.1/
>> 
>> I've had mixed luck with this stuff on this archive, and I've
>> never tried
>> installing their GCC. I did try, without success, to install
>> their compiled
>> version of OpenLDAP, but I did get their GDBM installed.
>> 
>> -Robert
>> 
>>> -----Original Message-----
>>> From:    Mark McCray [SMTP:mm@tbwachiat.com]
>>> Sent:    Wednesday, March 20, 2002 10:24 AM
>>> To:    openldap-software@OpenLDAP.org
>>> Subject:    Compiling on hp-ux 10.20
>>> 
>>> Hey there,
>>> I'm having a really hard time compiling 2.0.23 ldap on my
>> hp-ux machine. I
>>> get the following error:
>>> 
>>> checking for cc option to accept ANSI C... no
>>> configure: error: OpenLDAP requires compiler to support
>> STDC constructs.
>>> 
>>> 
>>> Anyone have any ideas?
>>> Thanks,
>>> Marky
>> 
>