При попытке скомпилировать бибилиотеку (модуль для апача) вызывается libtool, которая вроде успешно завершается (без ошибок), хотя выдает варнинги. В итоге объектные и библиотечные файлы не создаются.
Компилирую mod_tile.
Вот что выдает libtool:
~/dev/cpp/mod_tile$ /usr/share/apr-1.0/build/libtool --no-silent --mode=compile --tag=disable-static i686-linux-gnu-gcc -prefer-pic -DLINUX=2 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/xmltok -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -c -o ./mod_tile.lo ./mod_tile.c && touch ./mod_tile.slo
libtool: compile: i686-linux-gnu-gcc -DLINUX=2 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/xmltok -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -c ./mod_tile.c -fPIC -DPIC -o ./.libs/mod_tile.o
In file included from ./mod_tile.c:51:0:
./mod_tile.h:98:1: warning: useless storage class specifier in empty declaration [enabled by default]
./mod_tile.c: In function 'add_expiry':
./mod_tile.c:365:22: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long int' [-Wformat]
./mod_tile.c: In function 'tile_handler_mod_stats':
./mod_tile.c:804:5: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'apr_uint64_t' [-Wformat]
./mod_tile.c:805:5: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'apr_uint64_t' [-Wformat]
./mod_tile.c:806:5: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'apr_uint64_t' [-Wformat]
./mod_tile.c:807:2: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'apr_uint64_t' [-Wformat]
./mod_tile.c:808:5: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'apr_uint64_t' [-Wformat]
./mod_tile.c:809:5: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'apr_uint64_t' [-Wformat]
./mod_tile.c:810:5: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'apr_uint64_t' [-Wformat]
./mod_tile.c:811:5: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'apr_uint64_t' [-Wformat]
./mod_tile.c:812:5: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'apr_uint64_t' [-Wformat]
./mod_tile.c:813:5: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'apr_uint64_t' [-Wformat]
./mod_tile.c:815:3: warning: format '%li' expects argument of type 'long int', but argument 4 has type 'apr_uint64_t' [-Wformat]
./mod_tile.c:819:4: warning: format '%li' expects argument of type 'long int', but argument 4 has type 'apr_uint64_t' [-Wformat]
./mod_tile.c:820:4: warning: format '%li' expects argument of type 'long int', but argument 4 has type 'apr_uint64_t' [-Wformat]