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

Not building on ubuntu 16.04 #3

Closed
joolzg opened this issue Jun 5, 2019 · 1 comment
Closed

Not building on ubuntu 16.04 #3

joolzg opened this issue Jun 5, 2019 · 1 comment

Comments

@joolzg
Copy link

joolzg commented Jun 5, 2019

gcc --version
gcc (Ubuntu 8.1.0-5ubuntu1~16.04) 8.1.0

make
rm -f arg_check.o
gcc -g -O2 -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c arg_check.c -o ./arg_check.o
In file included from /usr/include/string.h:630,
from arg_check.c:31:
dmalloc.h:482:7: error: expected identifier or ‘(’ before ‘extension
char *strndup(const char *string, const DMALLOC_SIZE len);
^~~~~~~
Makefile:407: recipe for target 'arg_check.o' failed
make: *** [arg_check.o] Error 1

@j256
Copy link
Owner

j256 commented Nov 22, 2020

Should be fixed by #13

@j256 j256 closed this as completed Nov 22, 2020
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