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.

Weird error

Old posts that have not been replied to for several years.
Locked
G
Guest

Post by Guest »

Anyone know how to fix this??

/home/g/gamenet/eggdrop1.6.4/src/misc.c:386: undefined reference to `Tcl_SaveRes
ult'
/home/g/gamenet/eggdrop1.6.4/src/misc.c:392: undefined reference to `Tcl_UtfToEx
ternalDString'
/home/g/gamenet/eggdrop1.6.4/src/misc.c:397: undefined reference to `Tcl_Restore
Result'
tcl.o: In function `init_tcl':
/home/g/gamenet/eggdrop1.6.4/src/tcl.c:574: undefined reference to `Tcl_UtfToLow
er'
/home/g/gamenet/eggdrop1.6.4/src/tcl.c:575: undefined reference to `Tcl_SetSyste
mEncoding'
/home/g/gamenet/eggdrop1.6.4/src/tcl.c:589: undefined reference to `Tcl_SetSyste
mEncoding'
/home/g/gamenet/eggdrop1.6.4/src/tcl.c:602: undefined reference to `Tcl_GetEncod
ing'
make[1]: *** [../eggdrop] Error 1
make[1]: Leaving directory `/home/g/gamenet/eggdrop1.6.4/src'
make: *** [modegg] Error 2
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

what version of tcl are you using?
G
Guest

Post by Guest »

/hdb1/usr/lib/tcl8.3

if that says anything to you
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

try compiling it statically (type make static instead of make)
M
Mikee

Post by Mikee »

Most likely the problem here is you're including a TCL header file who's version does not match that of the TCL library you are linking, or you're not linking a TCL library at all. Make sure you are using the correct (matching) files.
Locked