I have a problem building Virtuoso Open Source 7.1 from Github on Ubuntu 
server 14.04. After I did a fresh installation, I installed all the 
necessary dependencies (including Git, double checked). Than I cloned 
the repository (tried both stable and head). After which I ran 
autoconfig.sh, CFLAGS with the appropiate parameters and export CFLAGS. 
And finally I did a ./configure and everything went as expected, at 
least no errors.

But when I tried to built with make, I get the following error(s) on 
getdate:

---
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../libsrc/Dk 
-fno-strict-aliasing -O2 -Wall -DNDEBUG -DPOINTER_64 
-I/root/temp/virtuoso-opensource/libsrc/Xml.new -DOPENSSL_NO_KRB5 
-Dlinux -D_GNU_SOURCE -DFILE64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE 
-DIN_LIBUTIL -DGLOBALREF=extern -I../../libsrc -I../../libsrc/Dk 
-DSUPPORT_UTF8 -O2 -m64 -MT libutil_la-getdate.lo -MD -MP -MF 
.deps/libutil_la-getdate.Tpo -c getdate.c  -fPIC -DPIC -o 
.libs/libutil_la-getdate.o
getdate.c: In function 'OPL_gd_parse':
getdate.c:1368:7: error: too few arguments to function 'OPL_gd_lex'
        yychar = yylex (&yylval);
        ^
../../libsrc/util/getdate.y:74:17: note: declared here
  #define yylex   OPL_gd_lex
                  ^
../../libsrc/util/getdate.y:113:12: note: in expansion of macro 'yylex'
  static int yylex (void *yylval, void *cookie);
             ^
../../libsrc/util/getdate.y:169:30: error: 'cookie' undeclared (first 
use in this function)
  #define context ((CONTEXT *) cookie)
                               ^
../../libsrc/util/getdate.y:201:6: note: in expansion of macro 'context'
       context->yyHaveTime++;
       ^
../../libsrc/util/getdate.y:169:30: note: each undeclared identifier is 
reported only once for each function it appears in
  #define context ((CONTEXT *) cookie)
                               ^
../../libsrc/util/getdate.y:201:6: note: in expansion of macro 'context'
       context->yyHaveTime++;
       ^
../../libsrc/util/getdate.y: In function 'get_date':
../../libsrc/util/getdate.y:938:3: error: too many arguments to function 
'OPL_gd_parse'
    if (yyparse (&cookie)
    ^
../../libsrc/util/getdate.y:73:17: note: declared here
  #define yyparse OPL_gd_parse
                  ^
getdate.c:1199:1: note: in expansion of macro 'yyparse'
  yyparse (void)
  ^
make[3]: *** [libutil_la-getdate.lo] Error 1
make[3]: Leaving directory 
`/home/alexh/temp/virtuoso-opensource/libsrc/util'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/home/alexh/temp/virtuoso-opensource/libsrc/util'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alexh/temp/virtuoso-opensource/libsrc'
make: *** [all-recursive] Error 1
---

Which exits make. Now I have no clue where to look and whether the 
problem is with me or with VOS. Does someone know how to fix this? Or 
even work around it? Maybe some binaries from Openlink would also be 
nice :).

Kind regards,
Alex van den Hoogen


------------------------------------------------------------------------------
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to