That's quite a troll topic name, but the idea is here:
Wanted to create my server, and didn't have anything to host it; then i thought I had a raspberry pi available, so I started wondering if it could work.
So I installed Raspbian (Debian customised for raspberry pi's ARM); which comes with gcc, make pre-installed..
Downloaded rathena's last sources from svn with subversion.
Configure doesn't work, it doesn't recognize my libgzip-dev. So i tried with cmake that I installed.
makefile works.
make install gave me these errors:
1 - incompatible va_list in nullpo.c
I searched on the web to understand that depending on the architecture and the implementation of C compilers, va_list can be either an array or a pointer. Here, that couldn't work so I just had to correct it in nullpo.c.
2 - After that, i relaunch make install
[ 1%] Building C object src/common/CMakeFiles/common_base.dir/mempool.c.o
In file included from /home/pi/trunk/src/common/mempool.c:27:0:
/home/pi/trunk/src/common/../common/atomic.h:86:2: error: #error Your Target Pla tfrom is not supported
make[2]: *** [src/common/CMakeFiles/common_base.dir/mempool.c.o] Error 1
make[1]: *** [src/common/CMakeFiles/common_base.dir/all] Error 2
make: *** [all] Error 2
So this time, no idea how to resolve this, but guys how awesome it could be to host it from a raspberry; Have to try! Help please ^^
Question
Cherryblue
Hi guys!
That's quite a troll topic name, but the idea is here:
Wanted to create my server, and didn't have anything to host it; then i thought I had a raspberry pi available, so I started wondering if it could work.
So I installed Raspbian (Debian customised for raspberry pi's ARM); which comes with gcc, make pre-installed..
Downloaded rathena's last sources from svn with subversion.
Configure doesn't work, it doesn't recognize my libgzip-dev. So i tried with cmake that I installed.
makefile works.
make install gave me these errors:
1 - incompatible va_list in nullpo.c
I searched on the web to understand that depending on the architecture and the implementation of C compilers, va_list can be either an array or a pointer. Here, that couldn't work so I just had to correct it in nullpo.c.
2 - After that, i relaunch make install
So this time, no idea how to resolve this, but guys how awesome it could be to host it from a raspberry; Have to try! Help please ^^
btw, it's not an old gcc, it's 4.6.3.
See ya
Edited by Cherryblue6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.