#define CHROOTDIR
Posted: Tue May 10, 2016 8:54 am
Hi, I am trying to run the ircd as the user "ircd". I have edited config.h
but "make" fails with
I am running Fedora 23 x64 with Unreal v4.0.3.1. What am I doing wrong?
Code: Select all
#define CHROOTDIR
#define IRC_USER "ircd"
#define IRC_GROUP "ircd"
Code: Select all
ircd.c: In function ‘main’:
ircd.c:1068:66: error: ‘dpath’ undeclared (first use in this function)
fprintf(stderr, "ERROR: Unable to change to directory '%s'\n", dpath);
^
ircd.c:1068:66: note: each undeclared identifier is reported only once for each function it appears in
Makefile:146: recipe for target 'ircd.o' failed
make[1]: *** [ircd.o] Error 1
make[1]: Leaving directory '/usr/local/src/unrealircd-4.0.3.1/src'
Makefile:139: recipe for target 'build' failed
make: *** [build] Error 2