View Full Version : Need help compiling eggdrop manually
D0T-C0M
January 11th, 2008, 04:12 PM
I need to install eggdrop1.6.13 which is the same as all the other bots that are in the botnet. I've gotten through the ./configure , make config , and when I get to the "make" step it craps out. Below is a paste of what it says,
md5c.c: In function ‘MD5_Update’:
md5c.c:208: error: invalid lvalue in assignment
make[2]: *** [md5c.o] Error 1
make[2]: Leaving directory `/home/nascar/eggdrop1.6.13/src/md5'
make[1]: *** [compile_md5] Error 2
make[1]: Leaving directory `/home/nascar/eggdrop1.6.13/src'
make: *** [modegg] Error 2
any ideas?
D0T-C0M
January 20th, 2008, 12:35 AM
anybody have any ideas?
D0T-C0M
February 9th, 2008, 11:34 AM
nobody knows?
dholbach
February 11th, 2008, 03:49 AM
What's in the lines around line 208 in /home/nascar/eggdrop1.6.13/src/md5/md5c.c ? Did you check?
D0T-C0M
February 13th, 2008, 06:25 PM
Hey thanks for your reply. I don't understand source code very much here are the line 187 to 219. Maybe you can see a problem? ( I marked line 208 )
void MD5_Update(MD5_CTX *ctx, void *data, unsigned long size)
{
MD5_u32plus saved_lo;
unsigned long used, free;
saved_lo = ctx->lo;
if ((ctx->lo = (saved_lo + size) & 0x1fffffff) < saved_lo)
ctx->hi++;
ctx->hi += size >> 29;
used = saved_lo & 0x3f;
if (used) {
free = 64 - used;
if (size < free) {
memcpy(&ctx->buffer[used], data, size);
return;
}
memcpy(&ctx->buffer[used], data, free);
(unsigned char *)data += free; <------------line208
size -= free;
body(ctx, ctx->buffer, 64);
}
if (size >= 64) {
data = body(ctx, data, size & ~(unsigned long)0x3f);
size &= 0x3f;
}
memcpy(ctx->buffer, data, size);
}
D0T-C0M
February 20th, 2008, 05:11 PM
can anyone help please?
YourFather
February 21st, 2008, 11:12 AM
Hello D0T-C0M,
I want you to open the file "src/md5/md5c.c" in text
editor and do this:
Change this line:
(unsigned char *)data += free; <------------line208
To this:
data = ((unsigned char *)data) + free;
Save and run "make" again.
Should do the trick!
:guitar:
D0T-C0M
March 1st, 2008, 07:50 PM
excellent , just tried it and it worked. Thank you very much
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.