machyve / xhyve

xhyve, a lightweight OS X virtualization solution
Other
6.44k stars 354 forks source link

make fails on mac OSX mojave #148

Closed jayrosen1576 closed 5 years ago

jayrosen1576 commented 5 years ago

I cloned the repo and ran make. This is the output:

cc src/vmm/io/vlapic.c cc src/vmm/io/vpmtmr.c cc src/vmm/io/vrtc.c src/vmm/io/vrtc.c:60:8: error: packed attribute is unnecessary for 'struct rtcdev' [-Werror,-Wpacked] struct rtcdev { ^ 1 error generated. make: *** [build/vmm/io/vrtc.o] Error 1

Any info would be appreciated. Thanks.

karstengresch commented 5 years ago

Same here, on two different computers.

orklann commented 5 years ago

@jayrosen1576 @karstengresch Comment out __packed in line 78 in src/vmm/io/vrtc.c

};//__packed;

And run make again, there you should be able to build.

akram commented 5 years ago

@orklann thanks: I created PR #149 Maybe you can comment it :)

orklann commented 5 years ago

@akram thank you for the PR.