I followed the "Building the WebApp module" exactly and cannot build the
webapp module for Solaris 2.8 using gcc 2.95. After a successful
./configure ... , I get the following errors on the make:

 

wcarweb1:/export/spare/home/web/apache_1.3.26/webapp-module-1.0-tc40 #
make

 

make[1]: Entering directory "lib"

make[1]: Invoking "make  build"

/opt/sfw/bin//gcc -g -O2    -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS
-D_REENTRANT
-I/export/spare/home/web/apache_1.3.26/webapp-module-1.0-tc40/apr/includ
e -I/export/spare/home/web/apache_1.3.26/webapp-module-1.0-tc40/include
-c "wa_main.c" -o "wa_main.o"

In file included from
/export/spare/home/web/apache_1.3.26/webapp-module-1.0-tc40/apr/include/
apr_general.h:61,

                 from
/export/spare/home/web/apache_1.3.26/webapp-module-1.0-tc40/include/wa.h
:77,

                 from wa_main.c:59:

/export/spare/home/web/apache_1.3.26/webapp-module-1.0-tc40/apr/include/
apr.h:198: #error Can not determine the proper size for apr_int64_t

/export/spare/home/web/apache_1.3.26/webapp-module-1.0-tc40/apr/include/
apr.h:253: #error Can not determine the proper size for ssize_t

/export/spare/home/web/apache_1.3.26/webapp-module-1.0-tc40/apr/include/
apr.h:256: #error Can not determine the proper size for size_t

/export/spare/home/web/apache_1.3.26/webapp-module-1.0-tc40/apr/include/
apr.h:265: #error Can not determine the proper size for apr_int64_t

*** Error code 1

make: Fatal error: Command failed for target `wa_main.o'

Current working directory
/export/spare/home/web/apache_1.3.26/webapp-module-1.0-tc40/lib

*** Error code 1

make: Fatal error: Command failed for target `template'

Current working directory
/export/spare/home/web/apache_1.3.26/webapp-module-1.0-tc40

*** Error code 1

make: Fatal error: Command failed for target `lib-build'

Reply via email to