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 

Error on "make"

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


Joined: 31 Mar 2007
Posts: 4

PostPosted: Sat Mar 31, 2007 4:41 pm    Post subject: Error on "make" Reply with quote

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$



Crying or Very sad

EDIT: I use Ubuntu linux 6.06 :l
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Mar 31, 2007 4:46 pm    Post subject: Reply with quote

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


Joined: 31 Mar 2007
Posts: 4

PostPosted: Sat Mar 31, 2007 4:49 pm    Post subject: Reply with quote

gcc version is 4.0.3 and I try 1.6.18 Smile
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sat Mar 31, 2007 5:42 pm    Post subject: Reply with quote

Check out this thread.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Atte
Voice


Joined: 31 Mar 2007
Posts: 4

PostPosted: Sat Mar 31, 2007 6:34 pm    Post subject: Reply with quote

Works! \o/
Back to top
View user's profile Send private message
dappem
Voice


Joined: 13 Feb 2007
Posts: 3

PostPosted: Mon Apr 02, 2007 12:03 pm    Post subject: Reply with quote

having problem with Make...
this is the output

system is 64bit debian

any help would be a help Smile


---------- 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
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Mon Apr 02, 2007 12:54 pm    Post subject: Reply with quote

Are you using a precompiled tcl-library?
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
dappem
Voice


Joined: 13 Feb 2007
Posts: 3

PostPosted: Mon Apr 02, 2007 1:03 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Mon Apr 02, 2007 1:08 pm    Post subject: Reply with quote

Yes, but did you compile that tcl-library yourself or was it a precompiled one?
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
dappem
Voice


Joined: 13 Feb 2007
Posts: 3

PostPosted: Mon Apr 02, 2007 1:16 pm    Post subject: Reply with quote

dowloaded tcl8.4.13
and just did a ./configure


sorry but i'm new 2 linux
Back to top
View user's profile Send private message
Atte
Voice


Joined: 31 Mar 2007
Posts: 4

PostPosted: Mon Apr 02, 2007 3:40 pm    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message
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