You are not logged in.
I'm trying to build gophervr, but unlike a few months ago when I last built it the code no longer compiles. Have the system include files changed? Because the error message is:
make[1]: Entering directory `/home/martin/aur/gophervr/src/gophervr/gopher/object'
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -I.. -I. -I.. -c STRstring.c
In file included from compatible.h:169:0,
from Stdlib.h:55,
from Malloc.h:73,
from STRstring.c:63:
../config.h:44:15: error: two or more data types in declaration specifiers
#define pid_t int
^
../config.h:65:15: error: two or more data types in declaration specifiers
#define uid_t int
^
../config.h:14:15: error: two or more data types in declaration specifiers
#define gid_t int
^
STRstring.c: In function 'STRcat':
STRstring.c:190:6: warning: null argument where non-null required (argument 2) [-Wnonnull]
strcpy(temp, STRget(st));
^
make[1]: *** [STRstring.o] Error 1
make[1]: Leaving directory `/home/martin/aur/gophervr/src/gophervr/gopher/object'
make: *** [linux] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Apparently pid/uid/gid_t are (no longer?) defined in sys/types.h on Arch, so autoconf creates a config.h with those definitions above. However, they don't work for some reason.
I'm not even sure I understand the error messages correctly. So ints are "two or more data types" now?
Offline