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

compile error on SuSE Enterprise 11 SP4 - x86intrin.h: No such file or directory #29

Open
ds2k5 opened this issue Jan 9, 2018 · 1 comment

Comments

@ds2k5
Copy link

ds2k5 commented Jan 9, 2018

make

cc -O2 -msse2 -c -o meltdown.o meltdown.c
meltdown.c:11:23: error: x86intrin.h: No such file or directory
meltdown.c: In function ‘main’:
meltdown.c:296: warning: incompatible implicit declaration of built-in function ‘exit’
make: *** [meltdown.o] Error 1

make CFLAGS=-DHAVE_RDTSCP=0 clean all

rm -f meltdown.o meltdown
cc -DHAVE_RDTSCP=0 -c -o meltdown.o meltdown.c
meltdown.c:11:23: error: x86intrin.h: No such file or directory
meltdown.c: In function ‘main’:
meltdown.c:296: warning: incompatible implicit declaration of built-in function ‘exit’
make: *** [meltdown.o] Error 1

gcc 4.3.4
GNU Make 3.81

@ds2k5
Copy link
Author

ds2k5 commented Jan 10, 2018

Installed gcc-4.8 an did a manual compile

gcc-4.8 meltdown.c -o meltdown

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