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.

Error on "make"

General support and discussion of Eggdrop bots.
Post Reply
A
Atte
Voice
Posts: 4
Joined: Sat Mar 31, 2007 4:36 pm

Error on "make"

Post by Atte »

Hi, i'm from finland and my english is so poor. But i try:
If I run make i get this error:


server@SERVER111:~/eggdrop1.6.15$ make
make[1]: Entering directory `/home/server/eggdrop1.6.15/src'
(This may take a while. Go get some runts.)
make[2]: Entering directory `/home/server/eggdrop1.6.15/src/md5'
gcc -pipe -g -O2 -Wall -I. -I../.. -I../.. -I../../src -DHAVE_CONFIG_H -c md5c.c
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/server/eggdrop1.6.15/src/md5'
make[1]: *** [compile_md5] Error 2
make[1]: Leaving directory `/home/server/eggdrop1.6.15/src'
make: *** [modegg] Error 2
server@SERVER111:~/eggdrop1.6.15$



:cry:

EDIT: I use Ubuntu linux 6.06 :l
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Think you could provide some info on the system you're compiling it on, such as version of gcc, etc?

Also worth noting, 1.6.15 is really old, and got a few nasty bugs in it. I'd strongly advise you to upgrade to 1.6.18. If the problem persists, send a bugreport to eggheads aswell.
NML_375
A
Atte
Voice
Posts: 4
Joined: Sat Mar 31, 2007 4:36 pm

Post by Atte »

gcc version is 4.0.3 and I try 1.6.18 :)
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Check out this thread.
A
Atte
Voice
Posts: 4
Joined: Sat Mar 31, 2007 4:36 pm

Post by Atte »

Works! \o/
d
dappem
Voice
Posts: 3
Joined: Tue Feb 13, 2007 3:57 pm

Post by dappem »

having problem with Make...
this is the output

system is 64bit debian

any help would be a help :-)


---------- Yeah! That's the compiling, now the linking! ----------

Linking eggdrop (static version).

gcc -pipe -o ../eggdrop bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o dccutil.o dns.o flags.o language.o match.o main.o mem.o misc.o misc_file.o modules.o net.o rfc1459.o tcl.o tcldcc.o tclhash.o tclmisc.o tcluser.o userent.o userrec.o users.o mod/*.o /home/chief/tcl8.4.13/unix/libtcl8.4.a -lm -ldl -lnsl md5/md5c.o compat/*.o `cat mod/mod.xlibs`
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclBasic.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclBinary.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclCkalloc.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclClock.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclCmdAH.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclCmdIL.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclCmdMZ.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclCompCmds.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclCompile.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclDate.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclEncoding.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclEnv.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclEvent.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclExecute.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclFCmd.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclFileName.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclGet.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclHash.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclIndexObj.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclInterp.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclIO.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclIOCmd.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclIOSock.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclIOUtil.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclListObj.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclLiteral.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclLoad.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclNamesp.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclNotify.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclObj.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclPanic.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclParse.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclPipe.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclPkg.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclPosixStr.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclPreserve.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclProc.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclRegexp.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclResult.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclScan.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclStringObj.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclThread.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclStubInit.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclStubLib.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclTimer.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclUtf.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclUtil.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclVar.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclUnixChan.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclUnixEvent.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclUnixFCmd.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclUnixFile.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclUnixPipe.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclUnixSock.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclUnixTime.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclUnixInit.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclUnixThrd.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclUnixNotfy.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclLoadDl.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(regcomp.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(regexec.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(regfree.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(regerror.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclAlloc.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclAsync.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclCompExpr.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclHistory.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclIOGT.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclLink.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclMain.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclParseExpr.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclResolve.o)' is incompatible with i386:x86-64 output
/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclExecute.o)(.text+0x3d79): In function `.L1496':
: undefined reference to `__divdi3'
/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclExecute.o)(.text+0x3da5): In function `.L1496':
: undefined reference to `__moddi3'
/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclExecute.o)(.text+0x44b6): In function `.L1376':
: undefined reference to `__moddi3'
collect2: ld returned 1 exit status
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Are you using a precompiled tcl-library?
NML_375
d
dappem
Voice
Posts: 3
Joined: Tue Feb 13, 2007 3:57 pm

Post by dappem »

i installed tcl myself

had to use

./configure --with-tcllib=$HOME/tcl8.4.13/unix/libtcl8.4.a --with-tclinc=$HOME/tcl8.4.13/generic/tcl.h

because of the error not finding tcl bla bla
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Yes, but did you compile that tcl-library yourself or was it a precompiled one?
NML_375
d
dappem
Voice
Posts: 3
Joined: Tue Feb 13, 2007 3:57 pm

Post by dappem »

dowloaded tcl8.4.13
and just did a ./configure


sorry but i'm new 2 linux
A
Atte
Voice
Posts: 4
Joined: Sat Mar 31, 2007 4:36 pm

Post by Atte »

u need 64bit version of tcl.

/usr/bin/ld: warning: i386 architecture of input file `/home/chief/tcl8.4.13/unix/libtcl8.4.a(tclCompCmds.o)' is incompatible with i386:x86-64 output :)
Post Reply