tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Gomez <henri.go...@gmail.com>
Subject Re: [ANN] Apache Tomcat Native 1.1.27 released
Date Thu, 14 Feb 2013 09:17:54 GMT
Note, CentOS 5 came with an old APR (1.2) :

* apr-util-1.2.7-11.el5_5.2
* apr-1.2.7-11.el5_6.5
* apr-devel-1.2.7-11.el5_6.5



2013/2/14 Henri Gomez <henri.gomez@gmail.com>

> I build Tomcat Native on various machine, CentOS 5/6, openSUSE/SLES and
> notice this error on CentOS 5.9 :
>
> /bin/sh /usr/lib/apr-1/build/libtool --silent --mode=compile gcc -pthread
>  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT
> -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -g -O2 -DHAVE_OPENSSL
> -I/home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/BUILD/tomcat-native-1.1.27-src/jni/native/include
> -I/opt/axway/jvm/java-1.6.0-sun-i586/include
> -I/opt/axway/jvm/java-1.6.0-sun-i586/include/linux  -I/usr/include/apr-1
> -o src/network.lo -c src/network.c && touch src/network.lo
> /bin/sh /usr/lib/apr-1/build/libtool --silent --mode=compile gcc -pthread
>  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT
> -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -g -O2 -DHAVE_OPENSSL
> -I/home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/BUILD/tomcat-native-1.1.27-src/jni/native/include
> -I/opt/axway/jvm/java-1.6.0-sun-i586/include
> -I/opt/axway/jvm/java-1.6.0-sun-i586/include/linux  -I/usr/include/apr-1
> -o src/os.lo -c src/os.c && touch src/os.lo
> /bin/sh /usr/lib/apr-1/build/libtool --silent --mode=compile gcc -pthread
>  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
> -fasynchronous-unwind-tables -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT
> -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -g -O2 -DHAVE_OPENSSL
> -I/home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/BUILD/tomcat-native-1.1.27-src/jni/native/include
> -I/opt/axway/jvm/java-1.6.0-sun-i586/include
> -I/opt/axway/jvm/java-1.6.0-sun-i586/include/linux  -I/usr/include/apr-1
> -o src/poll.lo -c src/poll.c && touch src/poll.lo
> src/poll.c: In function 'Java_org_apache_tomcat_jni_Poll_create':
> src/poll.c:112: error: 'APR_POLLSET_NOCOPY' undeclared (first use in this
> function)
> src/poll.c:112: error: (Each undeclared identifier is reported only once
> src/poll.c:112: error: for each function it appears in.)
> src/poll.c: In function 'Java_org_apache_tomcat_jni_Poll_poll':
> src/poll.c:306: warning: implicit declaration of function
> 'APR_RING_FOREACH'
> src/poll.c:306: error: expected expression before 'tcn_pfde_t'
> src/poll.c:307: error: expected ';' before '{' token
> src/poll.c: In function 'Java_org_apache_tomcat_jni_Poll_maintain':
> src/poll.c:399: warning: implicit declaration of function
> 'APR_RING_FOREACH_SAFE'
> src/poll.c:399: error: expected expression before 'tcn_pfde_t'
> src/poll.c:400: error: expected ';' before '{' token
> src/poll.c:392: warning: unused variable 'now'
> src/poll.c:391: warning: unused variable 'num'
> src/poll.c:391: warning: unused variable 'i'
> src/poll.c: In function 'Java_org_apache_tomcat_jni_Poll_pollset':
> src/poll.c:471: error: expected expression before 'tcn_pfde_t'
> src/poll.c:472: error: expected ';' before '{' token
> make[1]: *** [src/poll.lo] Error 1
> make[1]: Leaving directory
> `/home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/BUILD/tomcat-native-1.1.27-src/jni/native'
> make: *** [all-recursive] Error 1
> error: Bad exit status from
> /home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/TEMP/rpm-tmp.58191
> (%build)
>
>
> RPM build errors:
>     Bad exit status from
> /home/cijenka/workspace/cilibtcnative/noarch/centos5-i386-builder/TEMP/rpm-tmp.58191
> (%build)
> Build step 'Execute shell' marked build as failure
> Finished: FAILURE
>
>
> Any ideas ?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message