Created
April 12, 2016 21:40
-
-
Save scottyallen/a81bc88b29a8f3030c0b640bfb6cc467 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scotty-macbook-air:server scotty$ make FT_BACKEND=terminal | |
c++ -Wall -O3 -I../common -DFT_BACKEND=2 -c -o main.o main.cc | |
main.cc:66:9: error: use of undeclared identifier 'getresuid' | |
if (getresuid(&ruid, &euid, &suid) >= 0) { | |
^ | |
main.cc:76:9: error: use of undeclared identifier 'setresgid' | |
if (setresgid(g->gr_gid, g->gr_gid, g->gr_gid) != 0) { | |
^ | |
main.cc:85:9: error: use of undeclared identifier 'setresuid' | |
if (setresuid(p->pw_uid, p->pw_uid, p->pw_uid) != 0) { | |
^ | |
main.cc:192:22: error: use of undeclared identifier 'daemon' | |
if (as_daemon && daemon(0, 0) != 0) { // Become daemon. | |
^ | |
4 errors generated. | |
make: *** [main.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment