jailkit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-dev] jailkit-2.5 compilation problem on Solaris 10 using gc


From: Olivier Sessink
Subject: Re: [Jailkit-dev] jailkit-2.5 compilation problem on Solaris 10 using gcc
Date: Fri, 30 May 2008 07:31:18 +0200
User-agent: Thunderbird 2.0.0.14 (X11/20080502)

Mohan Tafat wrote:
I have no problem compiling jailkit-2.5 on linux (CentOS 4.4).
However I have problem with Solaris 10 on intel platform. I made sure all gnu utilities were installed.
Configure works make does not. I am getting the following:

bash-3.00$ make
make[1]: Entering directory `/export/home/mtafat/jailkit-2.5/src'
gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\" -c -o jk_socketd.o jk_socketd.c
jk_socketd.c: In function `main':
jk_socketd.c:437: warning: int format, uid_t arg (arg 2)
jk_socketd.c:437: warning: int format, gid_t arg (arg 3)
jk_socketd.c:456: warning: int format, pid_t arg (arg 4)
gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\" -c -o jk_lib.o jk_lib.c
gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\"   -c -o utils.o utils.c
gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\" -c -o iniparser.o iniparser.c gcc -lpthread -liberty -o jk_socketd jk_socketd.o jk_lib.o utils.o iniparser.o
Undefined                       first referenced
 symbol                             in file
bind                                jk_socketd.o
send                                jk_socketd.o
nanosleep                           jk_socketd.o
socket                              jk_socketd.o
connect                             jk_socketd.o
recvfrom                            jk_socketd.o
shutdown                            jk_socketd.o
ld: fatal: Symbol referencing errors. No output written to jk_socketd
collect2: ld returned 1 exit status

most of these symbols are pretty standard (posix) so I guess solaris needs to link to an extra library. Does 'man recvfrom' mention anything if a library is needed?

Olivier





reply via email to

[Prev in Thread] Current Thread [Next in Thread]