commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Rowley <c.s.row...@staffs.ac.uk>
Subject [Daemon] make on Cobalt Qube 3 Linux - fails
Date Tue, 24 Aug 2004 14:31:45 GMT
Hi,

I've been trying to build jsvc on a Cobalt Qube 3 server
(Linux 2.2.16C37_III, GNU Autoconf 2.59, gcc 2.95.3, GNU Make 3.78.1,
j2sdk1.4.2_04). Autoconf and configure run without errors but it 
produces this error when I run make:

jsvc-unix.c: In function `linuxset_user_group':
jsvc-unix.c:141: `PR_SET_KEEPCAPS' undeclared (first use in this function)
jsvc-unix.c:141: (Each undeclared identifier is reported only once
jsvc-unix.c:141: for each function it appears in.)

The same error occurs for
jakarta-tomcat-5.0.27
jakarta-tomcat-5.0.19
commons-daemon-1.0
commons-daemon-1.0-Alpha

I've been reading around the subject enough to know that 
`PR_SET_KEEPCAPS' is associated with Linux capabilities but I confess 
I'm no expert so I'm having trouble seeing where the source of the 
problem is. I've not found any other examples of this problem despite 
extensive newsgroup and web searches.

Has anyone come across this? If so, or if you know what the problem 
might be, I'd be most grateful for any advice.

Regards,
Sam


Full build session reproduced below:
[root jsvc-src]# autoconf
[root jsvc-src]# ./configure
*** Current host ***
checking build system type... i586-pc-linux-gnu
checking host system type... i586-pc-linux-gnu
checking cached host system type... ok
*** C-Language compilation tools ***
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
*** Java compilation tools ***
checking for javac... /usr/java/java/bin/javac
checking wether the Java compiler (/usr/java/java/bin/javac) works... yes
checking for jar... /usr/java/java/bin/jar
*** Host support ***
checking C flags dependant on host system type... ok
gcc flags added
*** Writing output files ***
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makedefs
config.status: creating native/Makefile
*** All done ***
Now you can issue "make"
[root jsvc-src]# make
make -C native all
make[1]: Entering directory 
`/usr/java/jakarta-tomcat-5.0.27/bin/jsvc-src/native'
gcc -g -O2 -DCPU=\"i386\" -DOS_LINUX -DDSO_DLFCN 
-I/usr/java/java/include -I/usr/java/java/include/linux -Wall 
-Wstrict-prototypes -
c jsvc-unix.c -o jsvc-unix.o
jsvc-unix.c: In function `linuxset_user_group':
jsvc-unix.c:141: `PR_SET_KEEPCAPS' undeclared (first use in this function)
jsvc-unix.c:141: (Each undeclared identifier is reported only once
jsvc-unix.c:141: for each function it appears in.)
make[1]: *** [jsvc-unix.o] Error 1
make[1]: Leaving directory 
`/usr/java/jakarta-tomcat-5.0.27/bin/jsvc-src/native'
make: *** [native/all] Error 2


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message