View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000916 | unreal | installing | public | 2003-04-24 23:11 | 2003-04-27 00:35 |
| Reporter | xsr | Assigned To | |||
| Priority | normal | Severity | trivial | Reproducibility | N/A |
| Status | closed | Resolution | open | ||
| Summary | 0000916: function init_random in random.c | ||||
| Description | i know something similar is posted elsewhere in this tracking system, but this is not about the same linenumbers. make (after choosing Yes to ssl in ./Config) random.o: In function `init_random': /usr/src/snx/Unreal3.2/src/random.c:126: undefined reference to `RAND_query_egd_bytes' *** Error code 1 Stop in /usr/src/snx/Unreal3.2/src. *** Error code 1 | ||||
| Additional Information | uname -a: FreeBSD berkeley.stealth.net 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Jan 16 22:16:53 GMT 2003 [email protected]:/usr/obj/usr/src/sys/GENERIC i386 openssl version: OpenSSL 0.9.7a Feb 19 2003 ######################## quickfix: I commented line 123 - 131 out in random.c. I figured: what if i had installed a lower version of openssl? Then the code wouldn't be used. And newer versions of openssl would support the same things as the previous version. I know this isn't always true, but hey, it compiled great afterwards =D. example: pico src/random.c 123#ifdef USE_SSL 124 #if OPENSSL_VERSION_NUMBER >= 0x000907000 125 if (EGD_PATH) { 126 n = RAND_query_egd_bytes(EGD_PATH, (unsigned char *)&egd, sizeof(egd)); 127 Debug((DEBUG_INFO, 128 "init_random: RAND_query_egd_bytes() ret=%d, val=%.8x", n, egd)); 129 } 130 #endif 131#endif | ||||
| 3rd party modules | |||||