Skip to content

Instantly share code, notes, and snippets.

@medicalwei
Created November 26, 2014 09:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save medicalwei/bc8dd0649fff525c1c95 to your computer and use it in GitHub Desktop.
Save medicalwei/bc8dd0649fff525c1c95 to your computer and use it in GitHub Desktop.
Error building m7g5yay5r5anrvc8ack4v2kq5v564rl7-gnutar-1.27.1
areadlinkat.c:44:53: error: use of undeclared identifier 'readlinkat'; did you mean 'areadlinkat'?
return careadlinkat (fd, filename, NULL, 0, NULL, readlinkat);
^~~~~~~~~~
areadlinkat
areadlinkat.c:42:1: note: 'areadlinkat' declared here
areadlinkat (int fd, char const *filename)
^
areadlinkat.c:44:53: warning: incompatible pointer types passing 'char *(int, const char *)' to parameter of type 'ssize_t (*)(int, const char *, char *, size_t)' [-Wincompatible-pointer-types]
return careadlinkat (fd, filename, NULL, 0, NULL, readlinkat);
^~~~~~~~~~
./careadlinkat.h:54:31: note: passing argument to parameter 'preadlinkat' here
ssize_t (*preadlinkat) (int, char const *,
^
1 warning and 1 error generated.
make[4]: *** [areadlinkat.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
builder for `/nix/store/m7g5yay5r5anrvc8ack4v2kq5v564rl7-gnutar-1.27.1.drv' failed with exit code 2
building path(s) `/nix/store/ihvd6wsa5nfibv5isylp96xbc4za3vri-gnum4-1.4.17'
cannot build derivation `/nix/store/i391i7pi3s9lazaynxjlbnlp05h0mmhn-stdenv.drv': 1 dependencies couldn't be built
killing process 6487
cannot build derivation `/nix/store/qxk37vy6b1mxjb5wbz7lmpp4lzbrdq8d-nix-1.8pre3903_b0c5c2a.drv': 1 dependencies couldn't be built
error: build of `/nix/store/qxk37vy6b1mxjb5wbz7lmpp4lzbrdq8d-nix-1.8pre3903_b0c5c2a.drv' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment