Active Topics

 



Notices


Reply
Thread Tools
Posts: 1 | Thanked: 1 time | Joined on Apr 2013
#1
Heya!

Since Maemo has available tcl8.5 and build-essential package I decided to try install eggdrop on my n900. I managed to compile installation but when I launch eggdrop I got these:

Code:
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$
These is how I did it:

tools I used: putty winscp

1. Install openssh-server
2. install build-essential
3. install grep
4. install tcl8.5 (NOT 8.6 It sucks! and these way you can skip one error message)
5. Prepare some files
6. Download and edit eggdrop files
7. Compile

1. I like to do these on my pc so first I always do is open phone, connect it to wlan with static ip address and install openssh-server.

2 while you have phone on hand install build-essential aswell.

add new source:

Catalog name: maemo sdk
Web address: http://repository.maemo.org
Distribution: fremantle/sdk
Components: free non-free

now on you don't need your phone

now on putty type:

Code:
apt-get install build-essential
4. Install tcl8.5
Code:
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

5.
Copy your libtcl8.5.so file from /usr/local/lib/ to /lib/
Run ldconfig (/sbin/ldconfig)

6.
Download eggdrop here: link

unpack :
Code:
tar -zxf eggdrop .tar.gz
open the file "src/md5/md5c.c" in text
editor (vi or use winscp to edit) and do this:

Change this line:
Code:
(unsigned char *)data += free; <------------line208
To this:
Code:
data = ((unsigned char *)data) + free;
configure eggdrop and fallow instructions:

Code:
./configure --with-tcllib=/user/local/lib/libtcl8.5.so --with-tclinc=/user/local/include/tcl.h
edit your eggdrop config and launch it first time by command eggdrop -m yourconfig.conf (do these as user so chmod your eggdrop and su user before even try)

Last edited by samsunix; 2013-04-14 at 14:44.
 

The Following User Says Thank You to samsunix For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 14:06.