|
From: David R. <da...@da...> - 2018-11-26 02:13:37
|
FYI, a patch was needed to build this on Arch Linux, as glibc now also includes a statx struct. (See http://darose.net/statx.patch) Best, DR On 10/28/18 10:18 PM, David Rosenstrauch wrote: > Hi. I'm trying to build the v1.1.14, but running into a compile issue: > > ... > /usr/bin/rm -f stats.o > cc -c -I../.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/lib/libffi-3.2.1/include -pthread -I/usr/include/dbus-1.0 > -I/usr/lib/dbus-1.0/include -DCURDIR=src/lib -O2 -g -pthread > -momit-leaf-frame-pointer -W -Wall -Wformat=2 -Wshadow -march=x86-64 > -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt > -D_FORTIFY_SOURCE=2 stats.c > stats.c:53:8: error: redefinition of ‘struct statx’ > struct statx { > ^~~~~ > In file included from /usr/include/sys/stat.h:446, > from ../common.h:108, > from stats.c:34: > /usr/include/bits/statx.h:36:8: note: originally defined here > struct statx > ^~~~~ > ... > > > Apparently other software packages have run into this issue as well, > with the cause being that a new version of glibc now includes statx. Any > idea how to solve this issue in the gtk-gnutella build? > > Thanks, > > DR |