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? > > Hmm. Having this said, e_os.h already seems to include <sys/param.h>, > doesn't it???
you are right e_os.h -> sys/param.h -> linux/param.h -> asm/param.h -> MAXHOSTNAMELEN but compiling ssltest.c fail: # gcc -I.. -I../include -I/usr/kerberos/include -fPIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DKRB5_MIT -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -mcpu=athlon -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -c -o ssltest.o ssltest.c -Wall ssltest.c: In function `main': ssltest.c:693: `MAXHOSTNAMELEN' undeclared (first use in this function) ssltest.c:693: (Each undeclared identifier is reported only once ssltest.c:693: for each function it appears in.) ssltest.c:693: warning: unused variable `localhost' I don't know why, but USE_SOCKETS is undefined (tested with #error in e_os.h) and it appears to be becouse e_os.h don't include sys/param.h. to get this error, you need to build with krb5 Thanks, Ricardo. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]