[redland-dev] Cannot make in cygwing

Dave Beckett dave.beckett at bristol.ac.uk
Mon Jul 28 16:44:11 BST 2003


On Thu, 10 Jul 2003 11:00:56 +0900
ana at nsc.sony.co.jp wrote:

> 
> Hi Dave,
> 
> Thanks for your help! 

No problem.

<snip/>

> In any case, now, I get a new error. Please, see below. 
> 
> Again, your help will be really appreciated.
> 
> Thanks,
> 
> Ana
> 
> ---
> 
> gcc -DLIBRDF_INTERNAL=1 -I./expat/xmlparse -g -I/usr/local/include - I/usr/local/include/w3c-libwww -DHAVE_CONFIG_H -o example1.exe example1.o  ./.libs/librdf.a
> -L/usr/local/lib -ldb /usr/local/lib/libwwwxml.a /usr/local/lib/libxmltok.a /usr/local/lib/libxmlparse.a /usr/local/lib/libwwwinit.a /usr/local/lib/libwwwapp.a /usr/local/lib/libwwwhtml.a /usr/local/lib/libwwwtelnet.a /usr/local/lib/libwwwnews.a /usr/local/lib/libwwwhttp.a /usr/local/lib/libwwwmime.a /usr/local/lib/libwwwgopher.a /usr/local/lib/libwwwftp.a /usr/local/lib/libwwwfile.a /usr/local/lib/libwwwdir.a /usr/local/lib/libwwwcache.a /usr/local/lib/libwwwstream.a /usr/local/lib/libwwwmux.a /usr/local/lib/libwwwtrans.a /usr/local/lib/libwwwcore.a /usr/local/lib/libwwwutils.a /usr/local/lib/libmd5.a
> ./.libs/librdf.a(ntriples_parse.o)(.text+0x14f8): In function `raptor_ntriples_parse_file': /cygdrive/c/Ana/Project/Tools/SemanticWeb/Redland/ntriples_parse.c:1064: undefined reference to `_errno'
> ./.libs/librdf.a(raptor_parse.o)(.text+0x2663): In function `raptor_parse_file':
> 
> /cygdrive/c/Ana/Project/Tools/SemanticWeb/Redland/raptor_parse.c:2695: undefined reference to `_errno'
> collect2: ld returned 1 exit status
> make[2]: *** [example1.exe] Error 1
> make[2]: Leaving directory `/cygdrive/c/Ana/Project/Tools/SemanticWeb/Redland'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/cygdrive/c/Ana/Project/Tools/SemanticWeb/Redland'
> make: *** [all-recursive-am] Error 2

I'm not sure why that one file cause the error, maybe removing the
#include <errno.h> from the top of raptor_parse.c might help?

(But that is included in several other raptor files, although only raptor_general.c uses it)

Dave







More information about the redland-dev mailing list