[Top][All Lists]

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

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

From: Olivier Sessink
Subject: Re: [Jailkit-users] Error compiling jailkit on Sun Solaris 5.10
Date: Sat, 07 Aug 2010 15:52:45 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100713 Thunderbird/3.0.6

On 08/06/2010 11:54 AM, Michel * wrote:
> 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

it seems that Solaris 5.10 doesn't support asprintf. The source needs to
be updated to use a different function. I fixed this in CVS. Can you try
the cvs version?


reply via email to

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