[redland-dev] compilation errors - raptor-1.4.13

Dave Beckett dave at dajobe.org
Fri Dec 8 07:58:27 UTC 2006


66.102.7.147Kevin Williams wrote:
> I have been trying to compile raptor-1.4.13 and end up witht he following 
> errors !! The same thing happens with the svn sources !
> 
> Any help in this regard will be highly appreciated.
> 
> Thanks
> 
> Kevin
> 
> -----------------------------------------------------------------------------------------------------
> Making all in src
> make[1]: Entering directory `/home-dir/BLFS/wd/raptor-1.4.13/src'
> make  all-am
> make[2]: Entering directory `/home-dir/BLFS/wd/raptor-1.4.13/src'
> if /bin/sh ../libtool --tag=CC --mode=compile 
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -mtune=pentium4m -march=pentium4m -msse2 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx  -mtune=pentium4m -march=pentium4m -msse2 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -MT 
> raptor_parse.lo -MD -MP -MF ".deps/raptor_parse.Tpo" -c -o raptor_parse.lo 
> raptor_parse.c

The rest is a consequence of this compile line, which looks wierd to me
since it's missing several of the usual defines between the '-I.'
and the '-MT'

Here's what I get (with --enable-maintainer-mode, lots of -W flags)

$ make raptor_parse.lo
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I. -g -DRAPTOR_DEBUG=1 -DRAPTOR_INTERNAL=1 -I/usr/include/libxml2
-I/usr/include/libxml2   -Wall -Wextra -Wshadow -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Wredundant-decls -Wswitch-enum -Wsign-compare
-Werror-implicit-function-declaration -Wwrite-strings -Wpacked
-Wmissing-format-attribute -Wpointer-arith -Wcast-align -Winit-self
-Wunsafe-loop-optimizations -Wdeclaration-after-statement
-Wold-style-definition -Wno-missing-field-initializers
-Wno-unused-parameter  -MT raptor_parse.lo -MD -MP -MF
".deps/raptor_parse.Tpo" -c -o raptor_parse.lo raptor_parse.c; \
        then mv -f ".deps/raptor_parse.Tpo" ".deps/raptor_parse.Plo";
else rm -f ".deps/raptor_parse.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I. -g -DRAPTOR_DEBUG=1 -DRAPTOR_INTERNAL=1
-I/usr/include/libxml2 -I/usr/include/libxml2 -Wall -Wextra -Wshadow
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Wredundant-decls -Wswitch-enum
-Wsign-compare -Werror-implicit-function-declaration -Wwrite-strings
-Wpacked -Wmissing-format-attribute -Wpointer-arith -Wcast-align
-Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement
-Wold-style-definition -Wno-missing-field-initializers
-Wno-unused-parameter -MT raptor_parse.lo -MD -MP -MF
.deps/raptor_parse.Tpo -c raptor_parse.c  -fPIC -DPIC -o
.libs/raptor_parse.o
 gcc -DHAVE_CONFIG_H -I. -I. -I. -g -DRAPTOR_DEBUG=1 -DRAPTOR_INTERNAL=1
-I/usr/include/libxml2 -I/usr/include/libxml2 -Wall -Wextra -Wshadow
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Wredundant-decls -Wswitch-enum
-Wsign-compare -Werror-implicit-function-declaration -Wwrite-strings
-Wpacked -Wmissing-format-attribute -Wpointer-arith -Wcast-align
-Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement
-Wold-style-definition -Wno-missing-field-initializers
-Wno-unused-parameter -MT raptor_parse.lo -MD -MP -MF
.deps/raptor_parse.Tpo -c raptor_parse.c -o raptor_parse.o >/dev/null 2>&1

So I don't know how -DRAPTOR_DEBUG=1 -DRAPTOR_INTERNAL=1
got lost.

The many -m options tend to suggest somebody has been playing
with compiler options and maybe trying to make raptor use them
by editing the configure script.

Is this a gentoo system? :)

Dave


More information about the redland-dev mailing list