Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fail on Centos with glibc-headers-2.17-292.el7.x86_64 #9

Open
timonline opened this issue Oct 12, 2019 · 1 comment
Open

Build fail on Centos with glibc-headers-2.17-292.el7.x86_64 #9

timonline opened this issue Oct 12, 2019 · 1 comment

Comments

@timonline
Copy link

~/Downloads/playground/img4lib$ make
gcc -o img4.o -Wall -W -pedantic -Wno-variadic-macros -Wno-multichar -Wno-four-char-constants -Wno-unused-parameter -O2 -I. -g -DiOS10 -DDER_MULTIBYTE_TAGS=1 -DDER_TAG_SIZE=8 -D__unused="__attribute__((unused))" -Ilzfse/src -Wno-deprecated-declarations -c img4.c
In file included from /usr/include/fcntl.h:77:0,
                 from img4.c:4:
/usr/include/bits/stat.h:106:31: error: expected identifier or ‘(’ before ‘[’ token
     __syscall_slong_t __unused[3];
                               ^
@xerub
Copy link
Owner

xerub commented Nov 17, 2019

try removing -D__unused lines from the Makefiles. iirc, those defines were added to avoid editing some files (oids.c) as my compiler didnt' have it back then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants