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

ubuntu16.04 compile error #47

Closed
wants to merge 1 commit into from
Closed

ubuntu16.04 compile error #47

wants to merge 1 commit into from

Conversation

SkyOnce
Copy link

@SkyOnce SkyOnce commented Dec 24, 2020

my system information is:gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12)
download this package and ./configure,when make ,it report compile error:
In file included from /usr/include/string.h:630:0,
from append.c:34:
dmalloc.h:392:7: error: expected identifier or ‘(’ before ‘extension
char *strndup(const char *string, const DMALLOC_SIZE max_len);

so,i think the ac_cv_strndup_macro variable assignment does not take effect in the configure.

@j256
Copy link
Owner

j256 commented Dec 24, 2020

What version of dmalloc are you using @SkyOnce? We did fix some stuff in 5.6.2. What does your dmalloc.h.2 have in it? The export isn't the issue but I wonder if this pull request fixes it? #48

@j256
Copy link
Owner

j256 commented Dec 24, 2020

No I see the problem. A bad merge in 5.6.2 reverted a previous fix. Just fixed it.

Thanks for letting me know.

@j256 j256 closed this Dec 24, 2020
@j256
Copy link
Owner

j256 commented Dec 24, 2020

Just released 5.6.4 @SkyOnce that hopefully fixes the issue. Thanks.

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

Successfully merging this pull request may close these issues.

2 participants