This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Compile problem eggdrop

General support and discussion of Eggdrop bots.
Post Reply
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

Compile problem eggdrop

Post by Ofloo »

I seem to have a compile issue on 1.6.13 with ipv6 patch

Code: Select all

gcc -pipe -g -O2 -I. -I../.. -I../.. -I../../src -DHAVE_CONFIG_H   -c ./md5c.c
./md5c.c: In function 'MD5_Update':
./md5c.c:208: error: lvalue required as left operand of assignment
*** Error code 1

Stop in /usr/local/src/eggdrop1.6.13-ipv6/src/md5.
*** Error code 1

Stop in /usr/local/src/eggdrop1.6.13-ipv6/src.
*** Error code 1

Stop in /usr/local/src/eggdrop1.6.13-ipv6.
with --enable-ipv6

Code: Select all

gcc -pipe -g -O2 -I. -I../.. -I../.. -I../../src -DHAVE_CONFIG_H   -c ./md5c.c
./md5c.c: In function 'MD5_Update':
./md5c.c:209: error: lvalue required as left operand of assignment
*** Error code 1

Stop in /usr/local/src/eggdrop1.6.15/src/md5.
*** Error code 1

Stop in /usr/local/src/eggdrop1.6.15/src.
*** Error code 1

Stop in /usr/local/src/eggdrop1.6.15.
I just recently installed freebsd7.0p1 and I can't get either compiled, is there a known reason for this?
XplaiN but think of me as stupid
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

Post by Ofloo »

i replaced this line

Code: Select all

(unsigned char *)data += free;
with:

Code: Select all

data = (unsigned char *) data + free;
and it compiled without a problem, I'm assuming the difference in version of compiler mattered, previous version was gcc 3.4 current gcc 4.2
XplaiN but think of me as stupid
g
guest
Halfop
Posts: 52
Joined: Mon Jan 19, 2004 4:15 pm

SOLVED

Post by guest »

this fixed solved my problem as well, thanks
p
pags
Voice
Posts: 13
Joined: Sat Mar 12, 2005 6:11 am

Post by pags »

Hiya,

What file do i need to edit to compile the bot?
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

@pags:
Generally, you shouldn't have to edit any files for a standard build.
If you are having issues building your copy of eggdrop, you'd be best of starting a new thread with a detailed description of the error (this thread was regarding v1.6.13 with a custom patch, which is very, very, very old)
NML_375
p
pags
Voice
Posts: 13
Joined: Sat Mar 12, 2005 6:11 am

Post by pags »

This is the bot i am trying to compile.. ie ipv6 support
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

If you are using 1.6.13, then I would very strongly recommend that you upgrade to a more recent version.

To the case though, without any kind of description of the issues or errors you are encountering, it is impossible for us to provide any assistance.
If you are receiving the exact same error message as the OP, then the location of the error is already posted in the error description, and this would thus be the point where you would make the suggested edit.
Ofloo wrote:...

Code: Select all

./md5c.c: In function 'MD5_Update':
./md5c.c:208: error: lvalue required as left operand of assignment
*** Error code 1

Stop in /usr/local/src/eggdrop1.6.13-ipv6/src/md5. 
In this case, that would be /usr/local/src/eggdrop1.6.13-ipv6/src/md5/md5c.c (though you might have unpacked the source in a different location)
NML_375
User avatar
simple
Voice
Posts: 3
Joined: Sun Oct 04, 2009 12:52 am
Location: Las Vegas, Nevada, USA
Contact:

Post by simple »

I suggest you download the 1.8 CVS version, which supports ipv6 and ssl without any patching from http://eggheads.org/devel/
p
pags
Voice
Posts: 13
Joined: Sat Mar 12, 2005 6:11 am

Post by pags »

thanks, advice taken, was only running that older version cause i coudent find a version to support ipv6
Post Reply