You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/bin/make -j8
In file included from src/libcollectdclient/client.c:33:0:
src/libcollectdclient/client.c: In function 'lcc_version':
src/libcollectdclient/collectd/lcc_features.h:49:9: error: expected expression before ')' token
((major) * 10000 + (minor) * 100 + (patch))
^
src/libcollectdclient/collectd/lcc_features.h:52:2: note: in expansion of macro 'LCC_VERSION_ENCODE'
LCC_VERSION_ENCODE(LCC_VERSION_MAJOR, LCC_VERSION_MINOR, LCC_VERSION_PATCH)
^
src/libcollectdclient/client.c:528:10: note: in expansion of macro 'LCC_VERSION'
return LCC_VERSION;
^
src/libcollectdclient/client.c:529:1: error: control reaches end of non-void function [-Werror=return-type]
} /* }}} unsigned int lcc_version */
^
cc1: all warnings being treated as errors
make[1]: *** [src/libcollectdclient/libcollectdclient_la-client.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.Q3CkDU (%build)
Bad exit status from /var/tmp/rpm-tmp.Q3CkDU (%build)
]
[2021/05/31-11:23:58] [ERROR] [esmon_build.py:404] failed to build Collectd on host [localhost]
[2021/05/31-11:23:58] [ERROR] [esmon_build.py:1192] failed to prepare RPMs of CentOS7 on local host
[2021/05/31-11:23:58] [ERROR] [esmon_build.py:1434] build failed
The text was updated successfully, but these errors were encountered:
When i try to build the project, i got the error as below.
Any one can help?
RPM build errors:
], stderr = [/etc/host.conf: line 3: bad command `nospoof on'
++ find . -name config.guess -o -name config.sub
++ basename ./build-aux/config.guess
++ basename ./build-aux/config.guess
++ basename ./build-aux/config.sub
++ basename ./build-aux/config.sub
In file included from src/libcollectdclient/client.c:33:0:
src/libcollectdclient/client.c: In function 'lcc_version':
src/libcollectdclient/collectd/lcc_features.h:49:9: error: expected expression before ')' token
((major) * 10000 + (minor) * 100 + (patch))
^
src/libcollectdclient/collectd/lcc_features.h:52:2: note: in expansion of macro 'LCC_VERSION_ENCODE'
LCC_VERSION_ENCODE(LCC_VERSION_MAJOR, LCC_VERSION_MINOR, LCC_VERSION_PATCH)
^
src/libcollectdclient/client.c:528:10: note: in expansion of macro 'LCC_VERSION'
return LCC_VERSION;
^
src/libcollectdclient/client.c:529:1: error: control reaches end of non-void function [-Werror=return-type]
} /* }}} unsigned int lcc_version */
^
cc1: all warnings being treated as errors
make[1]: *** [src/libcollectdclient/libcollectdclient_la-client.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.Q3CkDU (%build)
Bad exit status from /var/tmp/rpm-tmp.Q3CkDU (%build)
]
[2021/05/31-11:23:58] [ERROR] [esmon_build.py:404] failed to build Collectd on host [localhost]
[2021/05/31-11:23:58] [ERROR] [esmon_build.py:1192] failed to prepare RPMs of CentOS7 on local host
[2021/05/31-11:23:58] [ERROR] [esmon_build.py:1434] build failed
The text was updated successfully, but these errors were encountered: