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.

1.6.8 make problem

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

Post by caesar »

I got the following errors after I instaled Tcl 8.4 and then eggdrop 1.6.8:

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 `utf_converter':
/home/irc/eggdrop1.6.8/src/tcl.c:310: undefined reference to `Tcl_GetByteArrayFromObj'
tcl.o: In function `init_tcl':
/home/irc/eggdrop1.6.8/src/tcl.c:601: undefined reference to `Tcl_UtfToLower'
/home/irc/eggdrop1.6.8/src/tcl.c:602: undefined reference to `Tcl_SetSystemEncoding'
/home/irc/eggdrop1.6.8/src/tcl.c:616: undefined reference to `Tcl_SetSystemEncoding'
/home/irc/eggdrop1.6.8/src/tcl.c:629: undefined reference to `Tcl_GetEncoding'
tclmisc.o: In function `tcl_md5':
/home/irc/eggdrop1.6.8/src/tclmisc.c:598: undefined reference to `Tcl_GetByteArrayFromObj'
collect2: ld returned 1 exit status
make[1]: *** [../eggdrop] Error 1
make[1]: Leaving directory `/home/irc/eggdrop1.6.8/src'
make: *** [modegg] Error 2

Any sugestions to fix this? Thx!
g
guppy
eggdrop engineer
Posts: 199
Joined: Mon Sep 24, 2001 8:00 pm
Location: Canada
Contact:

Post by guppy »

Your tcl.h is probably tcl8.4 but your library isn't .. looks like the Tcl install is screwy .. please paste the output from configure where it says what it detects for Tcl, should be like 5 or 6 lines

Jeff
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

All lines about Tcl library on ./configure proces are:

checking for Tcl library... found /usr/lib/libtcl.so
checking for Tcl header... found /usr/local/include/tcl.h
checking whether the Tcl system has changed... yes
checking for Tcl version... 8.4
checking for Tcl patch level... 8.4a3
checking for Tcl_Free in -ltcl... yes
checking for TclpFinalizeThreadData in -ltcl... no

Any sugestions for this? Thx guppy :smile:
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Btw where can I find a precompiled version of Tcl 8.4+ ? Anyone? Thx!
g
guppy
eggdrop engineer
Posts: 199
Joined: Mon Sep 24, 2001 8:00 pm
Location: Canada
Contact:

Post by guppy »

On 2002-01-04 05:41, caesar wrote:

checking for Tcl library... found /usr/lib/libtcl.so
checking for Tcl header... found /usr/local/include/tcl.h
<snip>
checking for Tcl version... 8.4
checking for Tcl patch level... 8.4a3
no
<snip>
Look in /usr/lib/ for libtcl8.4.so or something to that effect, i.e.. find /usr/lib -name "libtcl*.so"

Then when running ./configure use ./configure --with-tcllib=/usr/lib/<name of that file>, i.e.. ./configure --with-tcllib=/usr/lib/libtcl8.4.so

If you have the 8.4 header file, you _most_ likely have the shared lib also. I bet libtcl.so is a symlink to libtcl8.0 or something also.

Jeff
f
forbid

Post by forbid »

I have a problem during the make process of eggdrop1.6.8, here is the error.

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

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/local/lib -ltcl8.3 -lm -ldl -lnsl -lsocket md5/md5c.o compat/*.o `cat mod/mod.xlibs`
strip ../eggdrop
Successful compile: eggdrop


ld.so.1: ./eggdrop: fatal: libtcl8.3.so: open failed: No such file or directory
*** Error code 137
make: Fatal error: Command failed for target `modegg'

i have solaris UNIX
g
guppy
eggdrop engineer
Posts: 199
Joined: Mon Sep 24, 2001 8:00 pm
Location: Canada
Contact:

Post by guppy »

On 2002-01-04 18:49, forbid wrote:

ld.so.1: ./eggdrop: fatal: libtcl8.3.so: open failed: No such file or directory
*** Error code 137
make: Fatal error: Command failed for target `modegg'

i have solaris UNIX
You need to set LD_LIBRARY_PATH to the location of your lib since Tcl wasn't installed properly, either way, this should have been posted in a new topic.
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

What to do gruppy? I din't understand you at all.. Can you be more specific pls? Thx!
S
Sphinx

Post by Sphinx »

Hi guys, I had the same problem on Solaris 7 and changed LD_LIBRARY_PATH to /usr/local/lib

I no longer get the

d.so.1: ./eggdrop: fatal: libtcl8.3.so: open failed: No such file or directory
*** Error code 137

but instead get a massive list with referenced in file column filled with ../assoc.c and:

ld: fatal: relocations remain against allocatable but non-writable sections
*** Error code 1
make: Fatal error: Command failed for target `../../../assoc.so'
Current working directory /export/home/mark/bots/eggdrop1.6.0/src/mod/assoc.mod
*** Error code 1
make: Fatal error: Command failed for target `assoc.mod_so'
Current working directory /export/home/mark/bots/eggdrop1.6.0/src/mod
*** Error code 1
make: Fatal error: Command failed for target `modules'

Please help as this is driving me mental... has anyone else successfully compiled eggdrop 1.6.0 or 1.6.8 on Solaris 7? If so any chance of help?

Many thanks...






<font size=-1>[ This Message was edited by: Sphinx on 2002-01-13 21:56 ]</font>
S
Sphinx

Post by Sphinx »

well... now i got it compiled ok, but i get this in logs after trying eggdrop -m [conf]

[04:27] * Last context: net.c/798 []
[04:27] * Please REPORT this BUG!
[04:27] * Check doc/BUG-REPORT on how to do so.
[04:27] * Wrote DEBUG
[04:27] * SEGMENT VIOLATION -- CRASHING!

eggdrop 1.6.0 - maybe I will try 1.6.8 but any idea why this is happening?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

I sugest you upgrade to 1.6.8.

eggdrop has come a long way since 1.6.0, and there have been many bug fixes, some related to specific OS's.

For a more up-to-date list of what has been fixed, added and removed, download the updates list from HeRe

S
Sphinx

Post by Sphinx »

Hi mate,

Yeah I did try 1.6.8 and am getting this same problem, which is what I don't understand :sad:

Like I say I can't find any instance of -O2 in the Makefiles so I'm stumped... is there anything else I can do to stop this crash?

I did try searching the net for fixes before coming on these forums and it seems lots of people have problems with solaris & eggdrop... does anyone know if are there any plans to iron these out in the future?

Thanks


<font size=-1>[ This Message was edited by: Sphinx on 2002-01-14 12:14 ]</font>
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Bugs like these are getting ironed out all the time.

The eggdrop developers do not have access to every type of OS & machine architecture available, thus they can't say "This is 100% gurenteed to work".

As sugested on another thread, use the "--disable-cc-optimization" option with configure. This will automaticaly remove the -O2 options for you.
Locked