[TinyOWS-users] Error compiling tinyows from SVN
Leukert, Boris
boris.leukert at wald-und-holz.nrw.de
Wed Apr 20 03:54:32 EST 2011
Dear Oliver,
comment out line 705 helps. I got some warnings but tinyows is compiled
successfully:
sles-11:/tmp/tinyows/tinyows_440 # make
lex -i -o src/mapfile/mapfile.c src/mapfile/mapfile.l
gcc -g -O2 -ansi -pedantic -Wall -I/opt/pgsql/include -L/opt/pgsql/lib
-lpq -I/usr/include/libxml2 -lxml2 -lz -lm -lfcgi "-D
TINYOWS_SVN_REV=\"exported\"" src/fe/fe_comparison_ops.c
src/fe/fe_error.c src/fe/fe_filter.c src/fe/fe_filter_capabilities.c
src/fe/fe_function.c src/fe/fe_logical_ops.c src/fe/fe_spatial_ops.c
src/mapfile/mapfile.c src/ows/ows_bbox.c src/ows/ows.c
src/ows/ows_config.c src/ows/ows_error.c src/ows/ows_geobbox.c
src/ows/ows_get_capabilities.c src/ows/ows_layer.c
src/ows/ows_metadata.c src/ows/ows_psql.c src/ows/ows_request.c
src/ows/ows_srs.c src/ows/ows_storage.c src/ows/ows_version.c
src/struct/alist.c src/struct/array.c src/struct/buffer.c
src/struct/cgi_request.c src/struct/list.c src/struct/mlist.c
src/struct/regexp.c src/wfs/wfs_describe.c src/wfs/wfs_error.c
src/wfs/wfs_get_capabilities.c src/wfs/wfs_get_feature.c
src/wfs/wfs_request.c src/wfs/wfs_transaction.c -o tinyows -L/usr/lib
-lfl
src/mapfile/mapfile.l: In function yylex:
src/mapfile/mapfile.l:691: warning: unused variable p
src/mapfile/mapfile.c:1994: warning: label find_rule defined but not
used
src/mapfile/mapfile.l: At top level:
src/mapfile/mapfile.c:3601: warning: yy_flex_strlen defined but not used
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/l
d: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/l
d: skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/l
d: skipping incompatible /usr/lib/libfl.a when searching for -lfl
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/l
d: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/l
d: skipping incompatible /usr/lib/libc.a when searching for -lc
sles-11:/tmp/tinyows/tinyows_440 #
By the way, is there a way to increase the loglevel of the tinyows
logfile?
Best regards,
Boris
More information about the TinyOWS-users
mailing list