Jump to content
SubSpace Forum Network

Recommended Posts

Posted

I've updated the Discretion server to be based on the newest asss server from mercurial, and updated it to use a linux build process rather than what I had before. You can download the server and run it using mercurial:

 

hg clone http://hg.code.sf.net/p/ss-discretion/server ss-discretion-server

 

Go into the disc-asss-3.24.2013/src folder, run make, then cd to disc-asss-3.24.2013, then run bin/asss

 

Let me know if you try it and succeed or fail.

 

 

Also, I'm in the process of getting a permanent server up.

Posted
Would it not be possible to just recompile it on my own from a packaged source? I admittedly still use Debian Etch (4) -- EDIT: Debian Lenny (5)*.
Posted
I realize that, I just don't want to install Mercurial for one project. But anyways, sorry if my post was ambiguous, I just meant the source-as-is packaged in a zip or whatever.
  • 9 months later...
Posted

I'm having trouble building on FreeBSD 9.2 (x64).

 

I had to modify some of the #includes to add the full path of the header. The default paths were correct but for some reason it could not find some of the headers. Anyway..

gcc -std=gnu99 -pipe -pthread -fPIC  -shared -o ../build/discretion.so ../build/disc_audit.o ../build/disc_audit_serverside.o ../build/AuditHelper.o ../build/LittleEndian.o ../build/util.o ../build/disc_main.o ../build/enc_disc.o  -lz -lm -lpthread -Wl,-Bstatic `sdl-config --static-libs` -lSDL_net -Wl,-Bdynamic
/usr/bin/ld: /usr/local/lib/libSDL.a(SDL_error.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libSDL.a: could not read symbols: Bad value
gmake: *** [../build/discretion.so] Error 1

Note that the Makefile already adds -fPIC parameter.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...