ik heb de directory /usr/local/powerpc-linux/ verwijderd en tot nu toe nog niks ongewoons meegemaakt.
De bot lijkt nu te werken (met hulp van iemand anders).
In het engels uitgelegd zodat het voor meer mensen toegankelijk is (via google ofzo)
Preparations:
* Get the synology toolchain
* Get a computer with linux on it for compiling
* Get TCL source
* Get eggdrop source
* Get the Synology 3rd-party apps integration guide
* Make sure to turn on SSH (or telnet) and use something like putty to put the compiled files on your diskstation later
Note that things may slightly be different. Make sure you get the right files! and use common sense (read manuals first).
(( ON YOUR COMPILE BOX, NOT THE DISKSTATION ))
0) Create directory "/tmp/eee" and cd into it
1) Get "gcc334_glibc233_ppc_2.4.tar.gz"
2) Unpack it in "/tmp/eee"
3) Get "tcl8.5.5-src.tar.gz"
4) In "/tmp/eee", unpack tcl8.5.5-src.tar.gz
5) Go into "/tmp/eee/tcl8.5.5/unix"
6) Create file "makemyday" with following content (do not include "-----"):
-----
CC=/tmp/eee/powerpc-linux/bin/powerpc-linux-gcc
LD=/tmp/eee/powerpc-linux/bin/powerpc-linux-ld
RANLIB=/tmp/eee/powerpc-linux/bin/powerpc-linux-ranlib
CFLAGS="-I/tmp/eee/powerpc-linux/include"
LDFLAGS="-L/tmp/eee/powerpc-linux/lib"
./configure
--host=powerpc-unknown-linux
--target=powerpc-unknown-linux
--build=i686-pc-linux
--prefix=/tmp/eee/dist
-----
7) Run "sh makemyday"
edit Makefile and remove "fixstrtod.o" from the line that begins with "COMPAT_OBJS"
9) Run "make".
10) Run "make install". This will give you an error, but ignore it.
11) Go into "/tmp/eee"
12) Get "eggdrop1.6.19.tar.bz2"
13) Unpack it into "/tmp/eee"
14) Go into /tmp/eee/eggdrop1.6.19"
15) Create file "makemyegg" with following content (do not include "-----"):
-----
CC=/tmp/eee/powerpc-linux/bin/powerpc-linux-gcc
LD=/tmp/eee/powerpc-linux/bin/powerpc-linux-ld
RANLIB=/tmp/eee/powerpc-linux/bin/powerpc-linux-ranlib
CFLAGS="-I/tmp/eee/powerpc-linux/include"
LDFLAGS="-L/tmp/eee/powerpc-linux/lib"
./configure
--host=powerpc-unknown-linux
--target=powerpc-unknown-linux
--build=i686-pc-linux
--prefix=/tmp/eee/dist/eggdrop
--with-tcllib=/tmp/eee/dist/lib/libtcl8.5.so
--with-tclinc=/tmp/eee/tcl8.5.5/generic/tcl.h
-----
16) Run "sh makemyegg"
17) Edit the file "/tmp/eee/eggdrop1.6.19/src/eggdrop.h", find the line "typedef int socklen_t;" and change it to "// typedef int socklen_t;"
18) Run "make config"
19) Edit Makefile and replace "egg_test_run = EGG_LANGDIR=$(top_srcdir)/language ./$(EGGEXEC) -v" with "egg_test_run = echo"
20) Go into "/tmp/eee/dist" and run "tar cvjf eggdist.tar.bz2 eggdrop lib"
21) Copy the file eggdist.tar.bz2 to your Synology Diskstation (put it in "/")
(( ON THE DISKSTATION ))
22) Run "cd /; tar xvjf eggdist.tar.bz2"
23) Go into "/eggdrop/" and edit "eggdrop.conf" so it fits your needs.
24) Run "./eggdrop"
25) DONE!