You need -lsocket -lnsl on Solaris...
oc
On Fri, Jun 12, 2009 at 8:11 PM, Chris Evans<
evans.chris@...> wrote:
> I'm trying to get nailgun running under jruby 1.3, but I can't get it
> to compile on Solaris. Has anybody had any luck, or can point me to a
> compiled binary? I tried using a binary I compiled on linux, but that
> didn't work.
>
> This is the message I get when running "make":
>
> Building ng client. To build a Windows binary, type 'make ng.exe'
> gcc -Wall -pedantic -s -O3 -o ng src/c/ng.c
> Undefined first referenced
> symbol in file
> recv /var/tmp//ccYFECtY.o
> send /var/tmp//ccYFECtY.o
> gethostbyname /var/tmp//ccYFECtY.o
> socket /var/tmp//ccYFECtY.o
> connect /var/tmp//ccYFECtY.o
> ld: fatal: Symbol referencing errors. No output written to ng
> collect2: ld returned 1 exit status
> make: *** [ng] Error 1
>
> --
> Chris
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>
http://xircles.codehaus.org/manage_email>
>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email