On Fri, Feb 26, 2010, Brad House wrote:

>> Hi All,
>> When I compile fips-1.2 of the openssl-0.9.8m in hpux platform, I have
>> encounter some errors when bulding the
>> fips. I have traced the problem to the Makefile in fips dir.
>
> <snip>
>
>> if [ -z $(HOSTCC) ] ; then \
>> $(CC) $(CFLAGS) -DFIPSCANISTER_O -o $@ sha/fips_standalone_sha1.c
>> $(FIPSLIBDIR)fipscanister.
>> o $(EX_LIBS) ; \
>> else \
>> $(HOSTCC) $(HOSTCFLAGS) -o $ $@ -I../include -I../crypto
>> sha/fips_standalone_sha1.c ../crypt
>> o/sha/sha1dgst.c ; \
>> So could you give me some ideas? Thanks!
>
> I saw this yesterday as well when building on SCO, Solaris, and AIX.
>
> The fix is pretty simple.  See the `if [ -z $(HOSTCC) ] ; then` line in 
> fips/Makefile?
> Just change it to `if [ -z "$(HOSTCC)" ] ; then`, basically just adding 
> quotes
> around "$(HOSTCC)".  I hadn't yet had a chance to file a bug report
> on it.
>

Fixed now. Setting HOSTCC to an empty value should be a workaround too.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to