Skip to content
This repository was archived by the owner on Mar 28, 2026. It is now read-only.

Build issues #3

@tchilton

Description

@tchilton

I'm trying to build your package on Debian Jessie and I am getting some compilation problems.
This is the same irrespective of using waf configure build or normal ./configure then a make.

I have installed the following dependencies (before finding most in the wscript file)
apt-get install build-essential libgtk2.0-dev libperl-dev libtalloc-dev libtevent-dev samba-dev mariadb-server mariadb-client libgmp-dev nettle-dev

$ bin/waf configure
Setting top to : ..../siahsd
Setting out to : ..../siahsd/build
Checking for program gcc,cc : gcc
....
Checking for library hogweed : yes
Checking for library nettle : yes
'configure' finished successfully (0.948s)

So this is OK, however a build then fails

$ bin/waf build
Waf: Entering directory ...../siahsd/build' [ 6/27] c: build/ndr_chiron.c -> build/ndr_chiron.c.10.o ndr_chiron.c: In function ‘ndr_pull_chiron_msg_union’: ndr_chiron.c:478:4: error: implicit declaration of function ‘ndr_pull_steal_switch_value’ [-Werror=implicit-function-declaration] level = ndr_pull_steal_switch_value(ndr, r); ^ cc1: some warnings being treated as errors Waf: Leaving directory ..../siahsd/build'
Build failed
-> task in 'chirond' failed (exit status 1):
{task 139918030688464: c ndr_chiron.c -> ndr_chiron.c.10.o}
['gcc', '-O0', '-g', '-ggdb', '-std=gnu99', '-Wall', '-Wextra', '-Winit-self', '-Wformat-security', '-Wshadow', '-pedantic', '-Wpointer-arith', '-Wcast-align', '-Wwrite-strings', '-Wno-unused-parameter', '-Werror-implicit-function-declaration', '-Wstrict-prototypes', '-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/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_DBI_DBI_H=1', '-DHAVE_UTIL_DATA_BLOB_H=1', '-DHAVE_IMMEDIATE_STRUCTURES=1', '-DHAVE_IMMEDIATE_STRUCTURES=1', '-D_GNU_SOURCE=1', '-DHAVE_IMMEDIATE_STRUCTURES=1', 'ndr_chiron.c', '-c', '-o', 'ndr_chiron.c.10.o']

Any ideas ?

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