Defining USE_SOCKETS before e_os.h is included probably helps :-).
This ticket is now resolved.
[jaenicke - Sun Dec 1 19:02:13 2002]:
[[EMAIL PROTECTED] - Sat Nov 30 23:00:17 2002]:
Building OpenSSL 0.9.7 beta4 and snap 20021129 on RedHat 8.0 (gcc
3.2
glibc 2.3) configured with
[[EMAIL PROTECTED] - Sat Nov 30 23:00:17 2002]:
Building OpenSSL 0.9.7 beta4 and snap 20021129 on RedHat 8.0 (gcc 3.2
glibc 2.3) configured with 'no-asm shared --with-krb5-flavor=MIT'
make
fail with undeclared MAXHOSTNAMELEN in ssltest.c (line 693).
After adding #include asm/param.h
El dom, 01-12-2002 a las 15:02, Lutz Jaenicke via RT escribió:
...
Hmm. asm/param.h seems to be Linux'ish to me. I just checked my
HP-UX 10.20 box and it seems, that sys/param.h would be the way
to go. On Linux this will include asm/param.h via linux/param.h.
Could you please try?
In message [EMAIL PROTECTED] on 02 Dec 2002 00:20:06
-0300, Ricardo Ariel Gorosito [EMAIL PROTECTED] said:
rgorosito I don't know why, but USE_SOCKETS is undefined (tested with
rgorosito #error in e_os.h) and it appears to be becouse e_os.h don't
rgorosito #include sys/param.h.
It seems that
Building OpenSSL 0.9.7 beta4 and snap 20021129 on RedHat 8.0 (gcc 3.2
glibc 2.3) configured with 'no-asm shared --with-krb5-flavor=MIT' make
fail with undeclared MAXHOSTNAMELEN in ssltest.c (line 693).
After adding #include asm/param.h build ok and pass all tests
--
Ricardo Ariel Gorosito