Dear All,
When compiling sfcb on newest Ubuntu machine I am receiving following error.
I have no clue how to correct this.
root@SMASH:~/sblim-sfcbd# make
make all-recursive
make[1]: Entering directory '/root/sblim-sfcbd'
Making all in .
make[2]: Entering directory '/root/sblim-sfcbd'
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DSFCB_CONFDIR=\"/usr/local/etc/sfcb\" -DSFCB_STATEDIR=\"/usr/local/var/lib/sfcb\" -DSFCB_LIBDIR=\"/usr/local/lib/sfcb\" -DCMPI_LIBDIR=\"/usr/local/lib/cmpi\" -DLIBDIR=\"/usr/local/lib\" -DSFCB_BINARY=\"/usr/local/sbin/sfcbd\" -D SFCB_DEBUG -D CMPI_PLATFORM_LINUX_GENERIC_GNU -Wall -fno-strict-aliasing -fsigned-char -D CMPI_OS_LINUX -g -O2 -MT libsfcBrokerCore_la-queryParser.lo -MD -MP -MF .deps/libsfcBrokerCore_la-queryParser.Tpo -c -o libsfcBrokerCore_la-queryParser.lo test -f 'queryParser.c' || echo './'queryParser.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DSFCB_CONFDIR=\"/usr/local/etc/sfcb\" -DSFCB_STATEDIR=\"/usr/local/var/lib/sfcb\" -DSFCB_LIBDIR=\"/usr/local/lib/sfcb\" -DCMPI_LIBDIR=\"/usr/local/lib/cmpi\" -DLIBDIR=\"/usr/local/lib\" -DSFCB_BINARY=\"/usr/local/sbin/sfcbd\" -D SFCB_DEBUG -D CMPI_PLATFORM_LINUX_GENERIC_GNU -Wall -fno-strict-aliasing -fsigned-char -D CMPI_OS_LINUX -g -O2 -MT libsfcBrokerCore_la-queryParser.lo -MD -MP -MF .deps/libsfcBrokerCore_la-queryParser.Tpo -c queryParser.c -fPIC -DPIC -o .libs/libsfcBrokerCore_la-queryParser.o
queryParser.c: In function ‘sfcQueryparse’:
queryParser.c:64:25: error: too few arguments to function ‘sfcQuerylex’
#define yylex sfcQuerylex
^
queryParser.c:1335:16: note: in expansion of macro ‘yylex’
yychar = yylex ();
^
queryParser.c:64:25: note: declared here
#define yylex sfcQuerylex
^
queryParser.y:74:12: note: in expansion of macro ‘yylex’
extern int yylex(void );
^
queryParser.y:86:25: error: ‘parm’ undeclared (first use in this function)
#define QS ((QLControl)parm)->statement
^
queryParser.y:202:8: note: in expansion of macro ‘QS’
QS->ft->setAllProperties(QS,1);
^
queryParser.y:86:25: note: each undeclared identifier is reported only once for each function it appears in
#define QS ((QLControl*)parm)->statement
^
queryParser.y:202:8: note: in expansion of macro ‘QS’
QS->ft->setAllProperties(QS,1);
^
Makefile:1820: recipe for target 'libsfcBrokerCore_la-queryParser.lo' failed
make[2]: *** [libsfcBrokerCore_la-queryParser.lo] Error 1
make[2]: Leaving directory '/root/sblim-sfcbd'
Makefile:2003: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/sblim-sfcbd'
Makefile:1044: recipe for target 'all' failed
make: *** [all] Error 2
root@SMASH:~/sblim-sfcbd#
Best Regards,
Stanislaw Wawszczak