meltdown-exploit icon indicating copy to clipboard operation
meltdown-exploit copied to clipboard

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

Open ds2k5 opened this issue 7 years ago • 1 comments

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 avatar Jan 09 '18 07:01 ds2k5

Installed gcc-4.8 an did a manual compile

gcc-4.8 meltdown.c -o meltdown

ds2k5 avatar Jan 10 '18 05:01 ds2k5