Nokia-N900:/root/eggdrop$ ./eggdrop -m simple.conf Eggdrop v1.6.9 (C) 1997 Robey Pointer (C) 2002 Eggheads *** glibc detected *** ./eggdrop: free(): invalid next size (fast): 0x00098090 *** ======= Backtrace: ========= /lib/libc.so.6[0x4022c23c] /lib/libc.so.6[0x4022d558] /lib/libc.so.6(cfree+0xb8)[0x4022d7e8] ./eggdrop[0x3af84] [0x0] ======= Memory map: ======== 00008000-00050000 r-xp 00000000 fe:01 26564 /root/eggdrop/eggdrop-1.6.9 00057000-0005b000 rw-p 00047000 fe:01 26564 /root/eggdrop/eggdrop-1.6.9 0005b000-000c2000 rw-p 0005b000 00:00 0 [heap] 40000000-4001c000 r-xp 00000000 fe:01 76 /lib/ld-2.5.so 4001c000-40020000 rw-p 4001c000 00:00 0 40023000-40025000 rw-p 0001b000 fe:01 76 /lib/ld-2.5.so 4002f000-40119000 r-xp 00000000 fe:01 26497 /lib/libtcl8.5.so 40119000-40120000 ---p 000ea000 fe:01 26497 /lib/libtcl8.5.so 40120000-40126000 rw-p 000e9000 fe:01 26497 /lib/libtcl8.5.so 40126000-40127000 rw-p 40126000 00:00 0 40127000-40194000 r-xp 00000000 fe:01 82 /lib/libm-2.5.so 40194000-4019b000 ---p 0006d000 fe:01 82 /lib/libm-2.5.so 4019b000-4019c000 r--p 0006c000 fe:01 82 /lib/libm-2.5.so 4019c000-4019d000 rw-p 0006d000 fe:01 82 /lib/libm-2.5.so 4019d000-4019f000 r-xp 00000000 fe:01 246 /lib/libdl-2.5.so 4019f000-401a6000 ---p 00002000 fe:01 246 /lib/libdl-2.5.so 401a6000-401a7000 r--p 00001000 fe:01 246 /lib/libdl-2.5.so 401a7000-401a8000 rw-p 00002000 fe:01 246 /lib/libdl-2.5.so 401a8000-401b9000 r-xp 00000000 fe:01 253 /lib/libnsl-2.5.so 401b9000-401c0000 ---p 00011000 fe:01 253 /lib/libnsl-2.5.so 401c0000-401c1000 r--p 00010000 fe:01 253 /lib/libnsl-2.5.so 401c1000-401c2000 rw-p 00011000 fe:01 253 /lib/libnsl-2.5.so 401c2000-401c4000 rw-p 401c2000 00:00 0 401c4000-402db000 r-xp 00000000 fe:01 90 /lib/libc-2.5.so 402db000-402e3000 ---p 00117000 fe:01 90 /lib/libc-2.5.so 402e3000-402e4000 r--p 00117000 fe:01 90 /lib/libc-2.5.so 402e4000-402e6000 rw-p 00118000 fe:01 90 /lib/libc-2.5.so 402e6000-402e9000 rw-p 402e6000 00:00 0 402e9000-402fe000 r-xp 00000000 fe:01 81 /lib/libpthread-2.5.so 402fe000-40305000 ---p 00015000 fe:01 81 /lib/libpthread-2.5.so 40305000-40306000 r--p 00014000 fe:01 81 /lib/libpthread-2.5.so 40306000-40307000 rw-p 00015000 fe:01 81 /lib/libpthread-2.5.so 40307000-40309000 rw-p 40307000 00:00 0 40309000-40313000 r-xp 00000000 fe:01 280 /lib/libgcc_s.so.1 40313000-4031a000 ---p 0000a000 fe:01 280 /lib/libgcc_s.so.1 4031a000-4031b000 rw-p 00009000 fe:01 280 /lib/libgcc_s.so.1 4031b000-4051b000 r--p 00000000 fe:01 7851 /usr/lib/locale/locale-archive 4051b000-40609000 r--p 00143000 fe:01 7851 /usr/lib/locale/locale-archive 40609000-4060a000 ---p 40609000 00:00 0 4060a000-40e09000 rw-p 4060a000 00:00 0 40e09000-40e12000 r-xp 00000000 fe:01 70 /lib/libnss_files-2.5.so 40e12000-40e19000 ---p 00009000 fe:01 70 /lib/libnss_files-2.5.so 40e19000-40e1a000 r--p 00008000 fe:01 70 /lib/libnss_files-2.5.so 40e1a000-40e1b000 rw-p 00009000 fe:01 70 /lib/libnss_files-2.5.so be805000-be81a000 rw-p befeb000 00:00 0 [stack] Aborted Nokia-N900:/root/eggdrop$
apt-get install build-essential
apt-get install wget wget http://www.sfr-fresh.com/unix/misc/tcl8.5.11-src.tar.gz tar -zxf tcl8.5.11-src.tar.gz cd tcl8.5.11/unix ./configure --prefix=/usr/local --enable-threads --enable-shared make make test make install
tar -zxf eggdrop .tar.gz
(unsigned char *)data += free; <------------line208
data = ((unsigned char *)data) + free;
./configure --with-tcllib=/user/local/lib/libtcl8.5.so --with-tclinc=/user/local/include/tcl.h