jailkit-users
[Top][All Lists]
Advanced

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

[Jailkit-users] Error compiling jailkit on Sun Solaris 5.10


From: Michel *
Subject: [Jailkit-users] Error compiling jailkit on Sun Solaris 5.10
Date: Fri, 6 Aug 2010 11:54:29 +0200

Hello,

When I do the "make" command on a Sun Solaris 5.10 I get the below error. Does anyone know how I can fix this? Or what the problem can be?

uname -a
SunOS gclftp01 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire-V215

Thanks.

Michel
 
LOG:
gclftp01 > make
gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\"  -c  jk_socketd.c
jk_socketd.c: In function `main':
jk_socketd.c:446: warning: int format, uid_t arg (arg 2)
jk_socketd.c:446: warning: int format, gid_t arg (arg 3)
jk_socketd.c:465: warning: int format, pid_t arg (arg 4)
gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\"  -c  jk_lib.c
gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\"  -c  utils.c
gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\"  -c  iniparser.c
gcc   -lposix4 -lxnet -lpthread -liberty -o jk_socketd jk_socketd.o jk_lib.o utils.o iniparser.o
gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\"  -c  jk_lsh.c
jk_lsh.c: In function `main':
jk_lsh.c:257: warning: implicit declaration of function `asprintf'
gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\"  -c  wordexp.c
gcc   -lposix4 -lxnet -lpthread -liberty -o jk_lsh jk_lsh.o iniparser.o jk_lib.o utils.o wordexp.o
Undefined                       first referenced
 symbol                             in file
asprintf                            jk_lsh.o
ld: fatal: Symbol referencing errors. No output written to jk_lsh
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `jk_lsh'
Current working directory /export/home/mmansens/JAILKIT/jailkit-2.11/src
*** Error code 1
The following command caused the error:
cd src/ && make all
make: Fatal error: Command failed for target `all'


reply via email to

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