Skip to content

cmake error  #133

Description

@gongzhidan
make  all-recursive
make[1]: Entering directory '/www/QConf-master/deps/gdbm'
Making all in po
make[2]: Entering directory '/www/QConf-master/deps/gdbm/po'
make[2]: Leaving directory '/www/QConf-master/deps/gdbm/po'
Making all in src
make[2]: Entering directory '/www/QConf-master/deps/gdbm/src'
  CC       err.o
  CC       mem.o
  CC       parseopt.o
parseopt.c: In function 'print_option_descr':
parseopt.c:243:17: warning: field width specifier '*' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
  243 |       printf ("%*.*s\n", s, s, descr);
      |                ~^~~~     ~
      |                 |        |
      |                 int      size_t {aka long unsigned int}
parseopt.c:243:19: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
  243 |       printf ("%*.*s\n", s, s, descr);
      |                ~~~^~        ~
      |                   |         |
      |                   int       size_t {aka long unsigned int}
  CC       progname.o
  AR       libgdbmapp.a
ar: `u' modifier ignored since `D' is the default (see `U')
  CC       gdbmclose.lo
  CC       gdbmcount.lo
  CC       gdbmdelete.lo
  CC       gdbmdump.lo
  CC       gdbmerrno.lo
  CC       gdbmexists.lo
  CC       gdbmexp.lo
  CC       gdbmfdesc.lo
  CC       gdbmfetch.lo
  CC       gdbmload.lo
  CC       gdbmopen.lo
  CC       gdbmimp.lo
  CC       gdbmreorg.lo
  CC       gdbmseq.lo
  CC       gdbmsetopt.lo
  CC       gdbmstore.lo
  CC       gdbmsync.lo
  CC       base64.lo
  CC       bucket.lo
  CC       falloc.lo
  CC       findkey.lo
  CC       fullio.lo
  CC       hash.lo
  CC       lock.lo
  CC       mmap.lo
  CC       update.lo
  CC       version.lo
  CCLD     libgdbm.la
ar: `u' modifier ignored since `D' is the default (see `U')
  CC       datconv.o
  CC       gram.o
gram.y: In function 'yyparse':
gram.y:333:17: warning: implicit declaration of function 'variable_unset'; did you mean 'variable_set'? [-Wimplicit-function-declaration]
  333 |        int rc = variable_unset ($1);
      |                 ^~~~~~~~~~~~~~
      |                 variable_set
gram.c:2074:18: warning: passing argument 1 of 'yyerror' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2074 |         yyerror (yymsgp);
      |                  ^~~~~~
In file included from gram.y:20:
gdbmtool.h:253:20: note: expected 'char *' but argument is of type 'const char *'
  253 | int yyerror (char *s);
      |              ~~~~~~^
  CC       lex.o
In file included from gdbmdefs.h:24,
                 from gdbmtool.h:19,
                 from lex.l:19:
lex.l: In function 'yylex':
gettext.h:69:26: warning: passing argument 1 of 'yyerror' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   69 | # define gettext(Msgid) ((const char *) (Msgid))
      |                         ~^~~~~~~~~~~~~~~~~~~~~~~
gdbmdefs.h:26:14: note: in expansion of macro 'gettext'
   26 | #define _(s) gettext (s)
      |              ^~~~~~~
lex.l:227:13: note: in expansion of macro '_'
  227 |    yyerror (_("invalid #line statement"));
      |             ^
In file included from lex.l:19:
gdbmtool.h:253:20: note: expected 'char *' but argument is of type 'const char *'
  253 | int yyerror (char *s);
      |              ~~~~~~^
In file included from gdbmdefs.h:24,
                 from gdbmtool.h:19,
                 from lex.l:19:
gettext.h:69:26: warning: passing argument 1 of 'yyerror' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   69 | # define gettext(Msgid) ((const char *) (Msgid))
      |                         ~^~~~~~~~~~~~~~~~~~~~~~~
gdbmdefs.h:26:14: note: in expansion of macro 'gettext'
   26 | #define _(s) gettext (s)
      |              ^~~~~~~
lex.l:237:16: note: in expansion of macro '_'
  237 |       yyerror (_("invalid #line statement"));
      |                ^
In file included from lex.l:19:
gdbmtool.h:253:20: note: expected 'char *' but argument is of type 'const char *'
  253 | int yyerror (char *s);
      |              ~~~~~~^
  CC       gdbmtool.o
In file included from gdbmtool.c:28:
/usr/include/sys/termios.h:1:2: warning: #warning redirecting incorrect #include <sys/termios.h> to <termios.h> [-Wcpp]
    1 | #warning redirecting incorrect #include <sys/termios.h> to <termios.h>
      |  ^~~~~~~
In file included from gdbmdefs.h:24,
                 from gdbmtool.h:19,
                 from gdbmtool.c:18:
gdbmtool.c: In function '_gdbm_print_bucket_cache':
gettext.h:69:41: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
   69 | # define gettext(Msgid) ((const char *) (Msgid))
      |                                         ^
gdbmdefs.h:26:14: note: in expansion of macro 'gettext'
   26 | #define _(s) gettext (s)
      |              ^~~~~~~
gdbmtool.c:273:2: note: in expansion of macro '_'
  273 |  _("Bucket Cache (size %d):\n  Index:  Address  Changed  Data_Hash \n"),
      |  ^
  CC       var.o
  CC       util.o
  CCLD     gdbmtool
  CC       gdbm_load.o
  CCLD     gdbm_load
  CC       gdbm_dump.o
  CCLD     gdbm_dump
make[2]: Leaving directory '/www/QConf-master/deps/gdbm/src'
Making all in doc
make[2]: Entering directory '/www/QConf-master/deps/gdbm/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/www/QConf-master/deps/gdbm/doc'
Making all in tests
make[2]: Entering directory '/www/QConf-master/deps/gdbm/tests'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/www/QConf-master/deps/gdbm/tests'
make[2]: Entering directory '/www/QConf-master/deps/gdbm'
make[2]: Leaving directory '/www/QConf-master/deps/gdbm'
make[1]: Leaving directory '/www/QConf-master/deps/gdbm'
Making install in po
make[1]: Entering directory '/www/QConf-master/deps/gdbm/po'
if test "gdbm" = "gettext-tools"; then \
  ../build-aux/install-sh -c -d /www/QConf-master/agent/../deps/gdbm/_install/share/gettext/po; \
  for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot   Makevars.template; do \
    /usr/bin/install -c -m 644 ./$file \
		    /www/QConf-master/agent/../deps/gdbm/_install/share/gettext/po/$file; \
  done; \
  for file in Makevars; do \
    rm -f /www/QConf-master/agent/../deps/gdbm/_install/share/gettext/po/$file; \
  done; \
else \
  : ; \
fi
make[1]: Leaving directory '/www/QConf-master/deps/gdbm/po'
Making install in src
make[1]: Entering directory '/www/QConf-master/deps/gdbm/src'
make[2]: Entering directory '/www/QConf-master/deps/gdbm/src'
 ../build-aux/install-sh -c -d '/www/QConf-master/agent/../deps/gdbm/_install/lib'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libgdbm.la '/www/QConf-master/agent/../deps/gdbm/_install/lib'
libtool: install: /usr/bin/install -c .libs/libgdbm.so.4.0.0 /www/QConf-master/agent/../deps/gdbm/_install/lib/libgdbm.so.4.0.0
libtool: install: (cd /www/QConf-master/agent/../deps/gdbm/_install/lib && { ln -s -f libgdbm.so.4.0.0 libgdbm.so.4 || { rm -f libgdbm.so.4 && ln -s libgdbm.so.4.0.0 libgdbm.so.4; }; })
libtool: install: (cd /www/QConf-master/agent/../deps/gdbm/_install/lib && { ln -s -f libgdbm.so.4.0.0 libgdbm.so || { rm -f libgdbm.so && ln -s libgdbm.so.4.0.0 libgdbm.so; }; })
libtool: install: /usr/bin/install -c .libs/libgdbm.lai /www/QConf-master/agent/../deps/gdbm/_install/lib/libgdbm.la
libtool: install: /usr/bin/install -c .libs/libgdbm.a /www/QConf-master/agent/../deps/gdbm/_install/lib/libgdbm.a
libtool: install: chmod 644 /www/QConf-master/agent/../deps/gdbm/_install/lib/libgdbm.a
libtool: install: ranlib /www/QConf-master/agent/../deps/gdbm/_install/lib/libgdbm.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /www/QConf-master/agent/../deps/gdbm/_install/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /www/QConf-master/agent/../deps/gdbm/_install/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 ../build-aux/install-sh -c -d '/www/QConf-master/agent/../deps/gdbm/_install/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c gdbmtool gdbm_load gdbm_dump '/www/QConf-master/agent/../deps/gdbm/_install/bin'
libtool: install: /usr/bin/install -c .libs/gdbmtool /www/QConf-master/agent/../deps/gdbm/_install/bin/gdbmtool
libtool: install: /usr/bin/install -c .libs/gdbm_load /www/QConf-master/agent/../deps/gdbm/_install/bin/gdbm_load
libtool: install: /usr/bin/install -c .libs/gdbm_dump /www/QConf-master/agent/../deps/gdbm/_install/bin/gdbm_dump
 ../build-aux/install-sh -c -d '/www/QConf-master/agent/../deps/gdbm/_install/include'
 /usr/bin/install -c -m 644 gdbm.h '/www/QConf-master/agent/../deps/gdbm/_install/include'
make[2]: Leaving directory '/www/QConf-master/deps/gdbm/src'
make[1]: Leaving directory '/www/QConf-master/deps/gdbm/src'
Making install in doc
make[1]: Entering directory '/www/QConf-master/deps/gdbm/doc'
make[2]: Entering directory '/www/QConf-master/deps/gdbm/doc'
make[2]: Nothing to be done for 'install-exec-am'.
 ../build-aux/install-sh -c -d '/www/QConf-master/agent/../deps/gdbm/_install/share/info'
 /usr/bin/install -c -m 644 ./gdbm.info '/www/QConf-master/agent/../deps/gdbm/_install/share/info'
 install-info --info-dir='/www/QConf-master/agent/../deps/gdbm/_install/share/info' '/www/QConf-master/agent/../deps/gdbm/_install/share/info/gdbm.info'
 ../build-aux/install-sh -c -d '/www/QConf-master/agent/../deps/gdbm/_install/share/man/man1'
 /usr/bin/install -c -m 644 gdbm_dump.1 gdbm_load.1 gdbmtool.1 '/www/QConf-master/agent/../deps/gdbm/_install/share/man/man1'
 ../build-aux/install-sh -c -d '/www/QConf-master/agent/../deps/gdbm/_install/share/man/man3'
 /usr/bin/install -c -m 644 gdbm.3 '/www/QConf-master/agent/../deps/gdbm/_install/share/man/man3'
make[2]: Leaving directory '/www/QConf-master/deps/gdbm/doc'
make[1]: Leaving directory '/www/QConf-master/deps/gdbm/doc'
Making install in tests
make[1]: Entering directory '/www/QConf-master/deps/gdbm/tests'
make[2]: Entering directory '/www/QConf-master/deps/gdbm/tests'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/www/QConf-master/deps/gdbm/tests'
make[1]: Leaving directory '/www/QConf-master/deps/gdbm/tests'
make[1]: Entering directory '/www/QConf-master/deps/gdbm'
make[2]: Entering directory '/www/QConf-master/deps/gdbm'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/www/QConf-master/deps/gdbm'
make[1]: Leaving directory '/www/QConf-master/deps/gdbm'
CMake Error at driver/c++/CMakeLists.txt:29 (message):
  message called with incorrect number of arguments


-- Configuring incomplete, errors occurred!
See also "/www/QConf-master/build/CMakeFiles/CMakeOutput.log".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions