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.

eggdrop1.6.21 Compiling (make) error

General support and discussion of Eggdrop bots.
Post Reply
s
scewter
Voice
Posts: 7
Joined: Mon Jul 17, 2017 8:06 pm

eggdrop1.6.21 Compiling (make) error

Post by scewter »

Trying to install eggdrop1.6.21 on Operating System: Linux 6.6.8-arch1-1
Did The Following.
1. ./configure
2. make config
3.while trying to compile the bot, using "make".
Results:
---------- Yeah! That's the compiling, now the linking! ----------

Linking eggdrop (standard build).

gcc -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 -L/usr/lib -ltcl -lm -ldl -lnsl -lpthread md5/md5c.o compat/*.o `cat mod/mod.xlibs`
/usr/bin/ld: main.o: in function `garbage_collect':
/home/scoot/eggdrop1.6.21/src/./main.c:710:(.text+0x18f8): undefined reference to `garbage_collect_tclhash'
/usr/bin/ld: match.o: in function `cron_match':
/home/scoot/eggdrop1.6.21/src/match.c:436:(.text+0xc78): undefined reference to `cron_matchfld'
/usr/bin/ld: /home/scoot/eggdrop1.6.21/src/match.c:437:(.text+0xc9a): undefined reference to `cron_matchfld'
/usr/bin/ld: modules.o:(.data.rel+0x2a0): undefined reference to `open_listen'
/usr/bin/ld: tcldcc.o: in function `tcl_listen':
/home/scoot/eggdrop1.6.21/src/tcldcc.c:942:(.text+0x5e9): undefined reference to `open_listen'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:40: ../eggdrop] Error 1
make[1]: Leaving directory '/home/scoot/eggdrop1.6.21/src'
make: *** [Makefile:203: modegg] Error 2
User avatar
CrazyCat
Revered One
Posts: 1304
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Re: eggdrop1.6.21 Compiling (make) error

Post by CrazyCat »

Why 1.6.21 ? Eggdrop is now in version 1.9.5, the 1.6.xx branch is dead since 2016
User avatar
aslpls
Halfop
Posts: 47
Joined: Mon May 02, 2016 9:41 am

Re: eggdrop1.6.21 Compiling (make) error

Post by aslpls »

scewter wrote: Thu Apr 04, 2024 6:43 pm Trying to install eggdrop1.6.21 on Operating System: Linux 6.6.8-arch1-1
Did The Following.
1. ./configure
2. make config
3.while trying to compile the bot, using "make".
Results:
---------- Yeah! That's the compiling, now the linking! ----------

Linking eggdrop (standard build).

gcc -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 -L/usr/lib -ltcl -lm -ldl -lnsl -lpthread md5/md5c.o compat/*.o `cat mod/mod.xlibs`
/usr/bin/ld: main.o: in function `garbage_collect':
/home/scoot/eggdrop1.6.21/src/./main.c:710:(.text+0x18f8): undefined reference to `garbage_collect_tclhash'
/usr/bin/ld: match.o: in function `cron_match':
/home/scoot/eggdrop1.6.21/src/match.c:436:(.text+0xc78): undefined reference to `cron_matchfld'
/usr/bin/ld: /home/scoot/eggdrop1.6.21/src/match.c:437:(.text+0xc9a): undefined reference to `cron_matchfld'
/usr/bin/ld: modules.o:(.data.rel+0x2a0): undefined reference to `open_listen'
/usr/bin/ld: tcldcc.o: in function `tcl_listen':
/home/scoot/eggdrop1.6.21/src/tcldcc.c:942:(.text+0x5e9): undefined reference to `open_listen'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:40: ../eggdrop] Error 1
make[1]: Leaving directory '/home/scoot/eggdrop1.6.21/src'
make: *** [Makefile:203: modegg] Error 2

try this
CFLAGS="-std=gnu89" ./configure --with-tclinc=/usr/include/tcl8.6/tcl.h --with-tcllib=/usr/lib/x86_64-linux-gnu/libtcl8.6.so
It was FUNNY!
s
scewter
Voice
Posts: 7
Joined: Mon Jul 17, 2017 8:06 pm

Re: eggdrop1.6.21 Compiling (make) error

Post by scewter »

Installation completed.

You MUST ensure that you edit/verify your configuration file.
An example configuration file, eggdrop.conf, is distributed with Eggdrop.

Remember to change directory to /home/scoot/eggdrop before you proceed.

That worked Thank You! :D :D :D
s
scewter
Voice
Posts: 7
Joined: Mon Jul 17, 2017 8:06 pm

Re: eggdrop1.6.21 Compiling (make) error

Post by scewter »

CrazyCat wrote: Fri Apr 05, 2024 1:35 am Why 1.6.21 ? Eggdrop is now in version 1.9.5, the 1.6.xx branch is dead since 2016
a specific .tcl will only work on that version of eggdrop ¯\_(ツ)_/¯
User avatar
CrazyCat
Revered One
Posts: 1304
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Re: eggdrop1.6.21 Compiling (make) error

Post by CrazyCat »

scewter wrote: Sun Apr 07, 2024 11:54 pm a specific .tcl will only work on that version of eggdrop ¯\_(ツ)_/¯
I'm quite surprized, usually scripts working with 1.6.21 works with 1.8.x and 1.9.x, sometime they require a few adaptation but there is no real incompatibility.

Peharps we can help you with the script rather helping you keepin an old version of eggdrop
Post Reply