jailkit-dev
[Top][All Lists]
Advanced

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

[Jailkit-dev] jailkit-2.5 compilation problem on Solaris 10 using gcc


From: Mohan Tafat
Subject: [Jailkit-dev] jailkit-2.5 compilation problem on Solaris 10 using gcc
Date: Thu, 29 May 2008 15:43:48 -0700

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
make[1]: *** [jk_socketd] Error 1
make[1]: Leaving directory `/export/home/mtafat/jailkit-2.5/src'
make: *** [all] Error 2
-bash-3.00$

Thanks,
Mo

reply via email to

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