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.

fix

Old posts that have not been replied to for several years.
Locked
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

fix

Post by caesar »

Linking eggdrop...

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 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 -L/usr/lib -ltcl -lm -ldl -lnsl md5/md5c.o compat/*.o `cat mod/mod.xlibs`
tcl.o: In function `tcl_eggstr':
/home/moo/eggdrop1.6.13/src/tcl.c:292: undefined reference to `Tcl_GetVar2Ex'
/home/moo/eggdrop1.6.13/src/tcl.c:295: undefined reference to `Tcl_GetByteArrayFromObj'
tcl.o: In function `utf_converter':
/home/moo/eggdrop1.6.13/src/tcl.c:352: undefined reference to `Tcl_GetByteArrayFromObj'
tcl.o: In function `init_tcl':
/home/moo/eggdrop1.6.13/src/tcl.c:643: undefined reference to `Tcl_UtfToLower'
/home/moo/eggdrop1.6.13/src/tcl.c:644: undefined reference to `Tcl_SetSystemEncoding'
/home/moo/eggdrop1.6.13/src/tcl.c:658: undefined reference to `Tcl_SetSystemEncoding'
/home/moo/eggdrop1.6.13/src/tcl.c:671: undefined reference to `Tcl_GetEncoding'
tclmisc.o: In function `tcl_md5':
/home/moo/eggdrop1.6.13/src/tclmisc.c:608: undefined reference to `Tcl_GetByteArrayFromObj'
collect2: ld returned 1 exit status
make[1]: *** [../eggdrop] Error 1
make[1]: Leaving directory `/home/moo/eggdrop1.6.13/src'
make: *** [modegg] Error 2
How can I fix this?
Once the game is over, the king and the pawn go back in the same box.
User avatar
gumbydammit
Master
Posts: 311
Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:

Post by gumbydammit »

what version of tcl is this?
a.k.a. hellios
User avatar
gumbydammit
Master
Posts: 311
Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:

Post by gumbydammit »

oh on second glance caesar ..

collect2: ld returned 1 exit status
make[1]: *** [../eggdrop] Error 1

it seems its looking for functions it cant find.. so either your shared libs are hosed.. ( edit ld.so.conf and run ldconfig) or the function names perhaps have changed.. ermm old tcl version?
a.k.a. hellios
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Well.. I've allready had in that file a"/usr/local/lib" line.. now I'm getting this error: /sbin/ldconfig: warning: can't read header from /lib/libext-2.so.7, skipping
Once the game is over, the king and the pawn go back in the same box.
Locked