-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build issues #3
Comments
Hi |
Hi |
thx for answer... Do You have alternative solution for SIA-IP server on Linux? |
You need a recent version of samba. The missing function exists at least in samba-4.6.3. |
With current Ubuntu LTS it fails on dbi.h and not sure how to fix that yet :(
|
Hi RickDB, You need to install libdbi-dev as well |
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 ?
The text was updated successfully, but these errors were encountered: