Comments (3)
I just committed the fix described by patefoisgras on reddit. I will test this soon but it seems to be working according to the arch users I've encountered.
from even-better-ls.
I have the same error :/
I use manjaro
from even-better-ls.
I'm trying to compile it on Arch Linux as well, getting the same error.
Full message:
make[3]: Entering directory '/home/bram/tmp/coreutils-8.2/src'
CC ls.o
In file included from system.h:298:0,
from ls.c:70:
system.h: In function 'emit_size_note':
../lib/unlocked-io.h:80:22: warning: implicit declaration of function 'fputs_unlocked' [-Wimplicit-function-declaration]
# define fputs(x,y) fputs_unlocked (x,y)
^
system.h:569:3: note: in expansion of macro 'fputs'
fputs (_("\n\
^~~~~
ls.c: In function 'has_capability':
ls.c:2649:3: error: unknown type name 'cap_t'
cap_t cap_d = cap_get_file (name);
^~~~~
ls.c:2649:17: warning: implicit declaration of function 'cap_get_file' [-Wimplicit-function-declaration]
cap_t cap_d = cap_get_file (name);
^~~~~~~~~~~~
ls.c:2650:13: warning: comparison between pointer and integer
if (cap_d == NULL)
^~
ls.c:2653:12: warning: implicit declaration of function 'cap_to_text' [-Wimplicit-function-declaration]
result = cap_to_text (cap_d, NULL);
^~~~~~~~~~~
ls.c:2653:10: warning: assignment makes pointer from integer without a cast [-Wint-conversio ]
result = cap_to_text (cap_d, NULL);
^
ls.c:2654:3: warning: implicit declaration of function 'cap_free' [-Wimplicit-function-declaration]
cap_free (cap_d);
^~~~~~~~
ls.c: In function 'gobble_file':
ls.c:2980:13: warning: In the GNU C Library, "major" is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use "major", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"major", you should undefine it after including <sys/types.h>.
int len = strlen (umaxtostr (major (f->stat.st_rdev), buf));
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ls.c:2983:13: warning: In the GNU C Library, "minor" is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use "minor", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"minor", you should undefine it after including <sys/types.h>.
len = strlen (umaxtostr (minor (f->stat.st_rdev), buf));
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ls.c: In function 'align_nstrftime':
ls.c:3464:18: warning: implicit declaration of function 'mempcpy' [-Wimplicit-function-declaration]
pfmt = mempcpy (pfmt, fmt, pb - fmt);
^~~~~~~
ls.c:3464:18: warning: incompatible implicit declaration of built-in function 'mempcpy'
ls.c: In function 'print_long_format':
ls.c:3724:13: warning: In the GNU C Library, "major" is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use "major", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"major", you should undefine it after including <sys/types.h>.
umaxtostr (major (f->stat.st_rdev), majorbuf),
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ls.c:3726:13: warning: In the GNU C Library, "minor" is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use "minor", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"minor", you should undefine it after including <sys/types.h>.
umaxtostr (minor (f->stat.st_rdev), minorbuf));
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ls.c: In function 'quote_name':
ls.c:3921:29: warning: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration]
w = wcwidth (wc);
^~~~~~~
make[3]: *** [Makefile:2401: ls.o] Error 1
make[3]: Leaving directory '/home/bram/tmp/coreutils-8.2/src'
make[2]: *** [Makefile:1833: all] Error 2
make[2]: Leaving directory '/home/bram/tmp/coreutils-8.2/src'
make[1]: *** [Makefile:1244: all-recursive] Error 1
make[1]: Leaving directory '/home/bram/tmp/coreutils-8.2'
make: *** [Makefile:1199: all] Error 2
from even-better-ls.
Related Issues (20)
- Suggestion
- invalid URL HOT 1
- Cannot make on macOS HOT 9
- Make file background the same as background color
- Symbols broken HOT 7
- change color for hidden files. HOT 1
- Certain directories don't show up as directories? HOT 1
- Setting incorrect permissions on color generator HOT 1
- Icons don't display using ls (iTerm2 on Mac OS X 10.12) HOT 8
- Nothing showing in Debian 8 using Terminator and patched fonts HOT 10
- Colors in light scheme is not visible
- [Tip] oh-my-zsh auto-completion glitches HOT 2
- Using ls.c from coreutils 8.2 HOT 11
- AUR entry HOT 5
- 'ST_NBLOCKSIZE' undeclared HOT 7
- Problems installing and now iTerm is slow when launching
- Compiling issue HOT 12
- even better ls causes problems with auto suggestions using tab
- Redundant with original ls HOT 1
- Install script errors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from even-better-ls.