1 In file included from /usr/include/stdint.h:27:0,
2 from /usr/lib64/gcc/x86_64-pld-linux/6.3.0/include/stdint.h:9,
4 from wrap_poldekmod.c:3066:
5 /usr/include/bits/types.h:143:34: error: conflicting types for â__fsid_tâ
6 __STD_TYPE __FSID_T_TYPE __fsid_t; /* Type of file system IDs. */
8 In file included from /usr/include/stdio.h:36:0,
9 from /usr/include/python2.7/Python.h:33,
10 from wrap_poldekmod.c:149:
11 /usr/include/bits/types.h:143:26: note: previous declaration of â__fsid_tâ was here
12 __STD_TYPE __FSID_T_TYPE __fsid_t; /* Type of file system IDs. */
14 make: *** [Makefile:487: wrap_poldekmod.lo] Error 1
16 --- poldek-0.32.2/python/Makefile.am~ 2016-01-30 15:05:57.000000000 +0100
17 +++ poldek-0.32.2/python/Makefile.am 2017-04-16 14:28:51.269840377 +0200
19 py_prefix = $(shell python -c "import sys; print sys.prefix")
20 py_incdir = $(py_prefix)/include/python$(py_ver)
22 -EXTRA_DIST = poldekmod.i local_stdint.c pyldek.py run.sh
23 -CLEANFILES = wrap_* poldekmod.py local_stdint.h
24 +EXTRA_DIST = poldekmod.i pyldek.py run.sh
25 +CLEANFILES = wrap_* poldekmod.py
27 AM_CPPFLAGS = @TRURL_INCLUDE@ @TNDB_INCLUDE@ -I$(top_srcdir) -I$(py_incdir) -I.
31 CPPFLAGS += -DSWIG -DPOCLIDEK_ITSELF
33 -poldekmod.i: local_stdint.h
36 -# $(mkinstalldirs) "$(DESTDIR)$(py_sitedir)"
38 + $(mkinstalldirs) "$(DESTDIR)$(py_sitedir)"
39 + $(install_sh) .libs/_poldekmod.so "$(DESTDIR)$(py_sitedir)"
41 poldekmod.py: wrap_poldekmod.c
43 -local_stdint.h: local_stdint.c
46 #wrap_poldekmod.c: poldekmod.i
47 # $(SWIG) $(SWIG_PYTHON_OPT) $(INCLUDES) -I/usr/include -o $@ $<
49 --- poldek-0.32.2/python/poldekmod.i~ 2016-01-30 15:05:57.000000000 +0100
50 +++ poldek-0.32.2/python/poldekmod.i 2017-04-16 14:27:50.169060494 +0200
55 -#include "local_stdint.h"
57 #include "trurl/narray.h"
58 #include "trurl/nhash.h"
63 -%include "local_stdint.h"
64 %include "trurl/narray.h"