FAQ
hi, everybody,

I have some question on make jsvc on centos 5.3 linux.

and need your help.

thanks

my step is :

1. install centos
chosed: a)server, b)Server-GUI


2. install tomcat.

3. compile jsvc and failed.




[root@hcrm jsvc-src]# make
make -C native all
make[1]: Entering directory `/usr/local/tomcat/bin/jsvc-src/native'

gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU=3D\"i386\"

-I/usr/java/jdk1.5.0_22/include -I/usr/java/jdk1.5.0_22/include/linux
-Wall -Wstrict-prototypes -c jsvc-unix.c -o jsvc-unix.o
In file included from /usr/include/signal.h:333,
from jsvc-unix.c:19:
/usr/include/bits/sigcontext.h:28:29: error: asm/sigcontext.h: No such
file or directory
In file included from jsvc-unix.c:29:

/usr/include/sys/prctl.h:23:66: error: linux/prctl.h: No such file or direc=

tory
In file included from jsvc-unix.c:30:

/usr/include/sys/syscall.h:25:24: error: asm/unistd.h: No such file or dire=

ctory
jsvc-unix.c:32:30: error: linux/capability.h: No such file or directory

jsvc-unix.c: In function =E2set_caps?
jsvc-unix.c:126: error: storage size of =E2caphead?isn=E2t known
jsvc-unix.c:127: error: storage size of =E2cap?isn=E2t known
jsvc-unix.c:130: error: =E2_LINUX_CAPABILITY_VERSION?undeclared (first

use in this function)
jsvc-unix.c:130: error: (Each undeclared identifier is reported only once
jsvc-unix.c:130: error: for each function it appears in.)

jsvc-unix.c:136: error: =E2__NR_capset?undeclared (first use in this functi=
on)
jsvc-unix.c:127: warning: unused variable =E2cap?
jsvc-unix.c:126: warning: unused variable =E2caphead?
jsvc-unix.c: In function =E2linuxset_user_group?
jsvc-unix.c:145: error: =E2CAP_NET_BIND_SERVICE?undeclared (first use in
this function)
jsvc-unix.c:145: error: =E2CAP_SETUID?undeclared (first use in this functio=
n)
jsvc-unix.c:145: error: =E2CAP_SETGID?undeclared (first use in this functio=
n)
jsvc-unix.c:154: error: =E2PR_SET_KEEPCAPS?undeclared (first use in
this function)
make[1]: *** [jsvc-unix.o] Error 1
make[1]: Leaving directory `/usr/local/tomcat/bin/jsvc-src/native'
make: *** [native/all] Error 2
[root@hcrm jsvc-src]#

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupusers @
categoriestomcat
postedJan 26, '10 at 7:32a
activeJan 26, '10 at 7:32a
posts1
users1
websitetomcat.apache.org
irc#tomcat

1 user in discussion

Sam wong: 1 post

People

Translate

site design / logo © 2021 Grokbase