Synology Notes

From Simson Garfinkel
Jump to navigationJump to search

=Once you have Terminal Access

Install ipkg:

  mkdir /volume1/pub
  cd /volume1/pub
  wget http://wizjos.endofinternet.net/synology/archief/syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh
  sh syno-mvkw-bootstrap_1.2-7_arm-ds111.xsh

Install ocaml and unison:

  ipkg update
  ipkg install ocaml
  wget http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/native/unstable/unison_2.27.57-2_arm.ipk
  ipkg install unison_2.27.57-2_arm.ipk

Unfortunately, that gives me the wrong version.

To fix this error:

/opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/lib/libpthread.so: undefined reference to `__default_sa_restorer_v2@GLIBC_PRIVATE'
/opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/lib/libpthread.so: undefined reference to `__default_rt_sa_restorer_v2@GLIBC_PRIVATE'
/opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/lib/libpthread.so: undefined reference to `__default_rt_sa_restorer_v1@GLIBC_PRIVATE'
/opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/lib/libpthread.so: undefined reference to `__default_sa_restorer_v1@GLIBC_PRIVATE'
collect2: ld returned 1 exit status

Fix the library installed according to http://www.oscam.to/wbb3/index.php?page=Thread&threadID=10315

mkdir /opt/arm-none-linux-gnueabi/lib_disabled
mv /opt/arm-none-linux-gnueabi/lib/libpthread* /opt/arm-none-linux-gnueabi/lib_disabled

cp /lib/libpthread.so.0 /opt/arm-none-linux-gnueabi/lib/
cd /opt/arm-none-linux-gnueabi/lib/
ln -s libpthread.so.0 libpthread.so
ln -s libpthread.so.0 libpthread-2.5.so