Skip to content

make failed #2

@dagnum

Description

@dagnum

I finally finally finally got ./configure to complete successfully. but now getting error on make.

Any ideas? I am not a linux expert. Thank you

root@sia02:/home/siahsd-master# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"
NAME="Debian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support/"
BUG_REPORT_URL="http://bugs.debian.org/"

root@sia02:/home/siahsd-master# make
Waf: Entering directory /home/siahsd-master/build' [ 5/27] c: chirond.c -> build/chirond.c.10.o In file included from ../includes.h:43:0, from ../chirond.c:18: ../status.h:19:26: error: ISO C does not permit named variadic macros [-Werror=variadic-macros] ../chirond.c: In function ‘ndr_print_chiron_msg_type_enum’: ../chirond.c:42:8: error: ISO C forbids braced-groups within expressions [-Werror=edantic] ../chirond.c: In function ‘handle_chiron_msg_response’: ../chirond.c:47:58: error: unused parameter ‘ctx’ [-Werror=unused-parameter] ../chirond.c:47:86: error: unused parameter ‘msg’ [-Werror=unused-parameter] ../chirond.c: In function ‘daemonize’: ../chirond.c:249:15: error: ordered comparison of pointer with integer zero [-Werror=edantic] ../chirond.c: In function ‘listen_server’: ../chirond.c:259:106: error: unused parameter ‘protocol’ [-Werror=unused-parameter] ../chirond.c: In function ‘main’: ../chirond.c:336:15: error: unused parameter ‘argc’ [-Werror=unused-parameter] cc1: all warnings being treated as errors Waf: Leaving directory/home/siahsd-master/build'
Build failed
-> task in 'chirond' failed (exit status 1):
{task 42820048: c chirond.c -> chirond.c.10.o}
['gcc', '-O0', '-g', '-ggdb', '-std=c99', '-Wall', '-Wextra', '-Winit-self', '-Wformat-security', '-Wshadow', '-pedantic', '-Wpointer-arith', '-Wcast-align', '-Wwrite-strings', '-Wdeclaration-after-statement', '-Werror-implicit-function-declaration', '-Wstrict-prototypes', '-Werror', '-fPIC', '-pie', '-fstack-protector', '-D_FORTIFY_SOURCE=2', '-I/usr/include/glib-2.0', '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include', '-I/usr/local/include', '-I/usr/include/samba-4.0', '-DHAVE_GLIB_2_0=1', '-DHAVE_TALLOC=1', '-DHAVE_SAMBA=1', '-DHAVE_STDIO_H=1', '-DHAVE_STDLIB_H=1', '-DHAVE_STDINT_H=1', '-DHAVE_STDBOOL_H=1', '-DHAVE_SYS_TIME_H=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_SYS_STAT_H=1', '-DHAVE_NETINET_IN_H=1', '-DHAVE_ARPA_INET_H=1', '-DHAVE_UNISTD_H=1', '-DHAVE_STRING_H=1', '-DHAVE_FCNTL_H=1', '-DHAVE_ERRNO_H=1', '-DHAVE_TALLOC_H=1', '-DHAVE_GLIB_H=1', '-DHAVE_GLIBCONFIG_H=1', '-DHAVE_DBI_DBI_H=1', '-DHAVE_UTIL_DATA_BLOB_H=1', '-DHAVE_CORE_NTSTATUS_H=1', '-DHAVE_CHARSET_H=1', '-DHAVE_IMMEDIATE_STRUCTURES=1', '-DHAVE_IMMEDIATE_STRUCTURES=1', '-D_GNU_SOURCE=1', '../chirond.c', '-c', '-o', 'chirond.c.10.o']
make: *** [all] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions