View Issue Details

IDProjectCategoryView StatusLast Update
0000916unrealinstallingpublic2003-04-27 00:35
Reporterxsr Assigned To 
PrioritynormalSeveritytrivialReproducibilityN/A
Status closedResolutionopen 
Summary0000916: function init_random in random.c
Descriptioni 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 Informationuname -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

Activities

syzop

2003-04-25 01:27

administrator   ~0002483

Looks to me like you already understood your own problem :P.
The include files are newer than your libs (or paths problem so include files get priority but with libs it's reversed).

Issue History

Date Modified Username Field Change
2003-04-24 23:11 xsr New Issue
2003-04-25 01:27 syzop Note Added: 0002483
2003-04-27 00:35 syzop Status new => closed