egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compile problem eggdrop

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Ofloo
Owner


Joined: 13 May 2003
Posts: 953
Location: Belguim

PostPosted: Sun May 04, 2008 8:39 am    Post subject: Compile problem eggdrop Reply with quote

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

Code:
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:
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
Back to top
View user's profile Send private message Visit poster's website
Ofloo
Owner


Joined: 13 May 2003
Posts: 953
Location: Belguim

PostPosted: Sun May 04, 2008 8:59 am    Post subject: Reply with quote

i replaced this line

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

with:
Code:
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
Back to top
View user's profile Send private message Visit poster's website
guest
Halfop


Joined: 19 Jan 2004
Posts: 52

PostPosted: Sun Jul 27, 2008 6:39 pm    Post subject: SOLVED Reply with quote

this fixed solved my problem as well, thanks
Back to top
View user's profile Send private message
pags
Voice


Joined: 12 Mar 2005
Posts: 13

PostPosted: Sat Apr 30, 2011 8:57 am    Post subject: Reply with quote

Hiya,

What file do i need to edit to compile the bot?
Back to top
View user's profile Send private message MSN Messenger
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Apr 30, 2011 10:50 am    Post subject: Reply with quote

@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, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
pags
Voice


Joined: 12 Mar 2005
Posts: 13

PostPosted: Wed May 04, 2011 4:24 am    Post subject: Reply with quote

This is the bot i am trying to compile.. ie ipv6 support
Back to top
View user's profile Send private message MSN Messenger
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Wed May 04, 2011 5:40 am    Post subject: Reply with quote

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:
./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, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
simple
Voice


Joined: 04 Oct 2009
Posts: 3

PostPosted: Wed May 04, 2011 12:26 pm    Post subject: Reply with quote

I suggest you download the 1.8 CVS version, which supports ipv6 and ssl without any patching from http://eggheads.org/devel/
Back to top
View user's profile Send private message
pags
Voice


Joined: 12 Mar 2005
Posts: 13

PostPosted: Thu May 05, 2011 10:46 pm    Post subject: Reply with quote

thanks, advice taken, was only running that older version cause i coudent find a version to support ipv6
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber