I'm on a RedHat 9 trying to compile IMAP for PHP. When i try to run 'make' with the following options, I get the error. Can someone point me in the right direction. I have searched through google, but not been able to get this corrected.
#make slx SPECIALS="SSLDIR=/usr SSLINCLUDE=/usr/include SSLLIB=/usr/lib" ......................................... /usr/local/src/imap-2004a/c-client/osdep.c:267: the use of `tmpnam' is dangerous, better use `mkstemp' mtest.o(.text+0x1ba2): In function `smtptest': /usr/local/src/imap-2004a/mtest/mtest.c:766: the `gets' function is dangerous and should not be used. /usr/lib/libcrypto.a(b_print.o)(.text+0x1b2): In function `_dopr': : undefined reference to `__ctype_b' /usr/lib/libcrypto.a(b_print.o)(.text+0x212): In function `_dopr': : undefined reference to `__ctype_b' /usr/lib/libcrypto.a(obj_dat.o)(.text+0xe60): In function `OBJ_create_objects': : undefined reference to `__ctype_b' /usr/lib/libcrypto.a(obj_dat.o)(.text+0xe95): In function `OBJ_create_objects': : undefined reference to `__ctype_b' /usr/lib/libcrypto.a(obj_dat.o)(.text+0xeb7): In function `OBJ_create_objects': : undefined reference to `__ctype_b' /usr/lib/libcrypto.a(obj_dat.o)(.text+0xee3): more undefined references to `__ctype_b' follow /usr/lib/libcrypto.a(x509_cmp.o)(.text+0x33a): In function `nocase_cmp': : undefined reference to `__ctype_tolower' /usr/lib/libcrypto.a(x509_cmp.o)(.text+0x395): In function `nocase_spacenorm_cmp': : undefined reference to `__ctype_b' /usr/lib/libcrypto.a(x509_cmp.o)(.text+0x3c5): In function `nocase_spacenorm_cmp': : undefined reference to `__ctype_b' /usr/lib/libcrypto.a(x509_cmp.o)(.text+0x3f7): In function `nocase_spacenorm_cmp': : undefined reference to `__ctype_b' /usr/lib/libcrypto.a(x509_cmp.o)(.text+0x42a): In function `nocase_spacenorm_cmp': : undefined reference to `__ctype_b' /usr/lib/libcrypto.a(x509_cmp.o)(.text+0x455): In function `nocase_spacenorm_cmp': : undefined reference to `__ctype_tolower' /usr/lib/libcrypto.a(x509_cmp.o)(.text+0x49e): In function `nocase_spacenorm_cmp': : undefined reference to `__ctype_b' /usr/lib/libcrypto.a(v3_conf.o)(.text+0x532): In function `v3_check_critical': : undefined reference to `__ctype_b' /usr/lib/libcrypto.a(v3_conf.o)(.text+0x5ea): In function `v3_check_generic': : undefined reference to `__ctype_b' /usr/lib/libcrypto.a(v3_utl.o)(.text+0x93c): In function `strip_spaces': : undefined reference to `__ctype_b' /usr/lib/libcrypto.a(v3_utl.o)(.text+0xb82): In function `string_to_hex': : undefined reference to `__ctype_b' /usr/lib/libcrypto.a(v3_utl.o)(.text+0xb99): In function `string_to_hex': : undefined reference to `__ctype_tolower' /usr/lib/libcrypto.a(v3_utl.o)(.text+0xbb3): In function `string_to_hex': : undefined reference to `__ctype_tolower' /usr/lib/libcrypto.a(bn_print.o)(.text+0x356): In function `BN_hex2bn': : undefined reference to `__ctype_b' /usr/lib/libcrypto.a(bn_print.o)(.text+0x542): In function `BN_dec2bn': : undefined reference to `__ctype_b' collect2: ld returned 1 exit status make[2]: *** [mtest] Error 1 make[2]: Leaving directory `/usr/local/src/imap-2004a/mtest' make[1]: *** [bundled] Error 2 make[1]: Leaving directory `/usr/local/src/imap-2004a' make: *** [slx] Error 2 ................................................. I can post the whole output from 'make' . Did not want to make anyone mad. Let me know if anyone needs additional information to lend me a helping hand. T -- ----------------------------------------------------------------- For information about this mailing list, and its archives, see: http://www.washington.edu/imap/imap-list.html -----------------------------------------------------------------