| View previous topic :: View next topic |
| Author |
Message |
Ofloo Owner
Joined: 13 May 2003 Posts: 953 Location: Belguim
|
Posted: Sun May 04, 2008 8:39 am Post subject: Compile problem eggdrop |
|
|
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 |
|
 |
Ofloo Owner
Joined: 13 May 2003 Posts: 953 Location: Belguim
|
Posted: Sun May 04, 2008 8:59 am Post subject: |
|
|
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 |
|
 |
guest Halfop
Joined: 19 Jan 2004 Posts: 52
|
Posted: Sun Jul 27, 2008 6:39 pm Post subject: SOLVED |
|
|
| this fixed solved my problem as well, thanks |
|
| Back to top |
|
 |
pags Voice
Joined: 12 Mar 2005 Posts: 13
|
Posted: Sat Apr 30, 2011 8:57 am Post subject: |
|
|
Hiya,
What file do i need to edit to compile the bot? |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sat Apr 30, 2011 10:50 am Post subject: |
|
|
@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 |
|
 |
pags Voice
Joined: 12 Mar 2005 Posts: 13
|
Posted: Wed May 04, 2011 4:24 am Post subject: |
|
|
| This is the bot i am trying to compile.. ie ipv6 support |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Wed May 04, 2011 5:40 am Post subject: |
|
|
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 |
|
 |
simple Voice

Joined: 04 Oct 2009 Posts: 3
|
Posted: Wed May 04, 2011 12:26 pm Post subject: |
|
|
| 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 |
|
 |
pags Voice
Joined: 12 Mar 2005 Posts: 13
|
Posted: Thu May 05, 2011 10:46 pm Post subject: |
|
|
| thanks, advice taken, was only running that older version cause i coudent find a version to support ipv6 |
|
| Back to top |
|
 |
|