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

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 #1

Open
robstrauss opened this issue Jul 11, 2015 · 0 comments
Open

Comments

@robstrauss
Copy link

can anyone help with the following issue?: I have installed python-dev and i already have python3-dev, but im still struggling with 'make'

megahal.c:1420:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(&(word.word[i]), sizeof(char), 1, file);
^
In file included from /usr/include/stdio.h:937:0,
from megahal.c:101:
In function ‘fread’,
inlined from ‘load_dictionary’ at megahal.c:1376:5,
inlined from ‘load_model’ at megahal.c:2007:5,
inlined from ‘load_personality.constprop’ at megahal.c:3283:8,
inlined from ‘change_personality.constprop’ at megahal.c:3332:5:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:293:2: warning: call to ‘__fread_chk_warn’ declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer
return __fread_chk_warn (__ptr, __bos0 (__ptr), __size, __n, __stream);
^
cc1: some warnings being treated as errors
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Makefile:44: recipe for target 'pythonmodule' failed
make: *** [pythonmodule] Error 1

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

1 participant