Problems Compiling VMMHack

15 views
Skip to first unread message

Philip Soltero

unread,
Jan 22, 2008, 12:51:11 PM1/22/08
to V3VEE Discussion
I'm having issues compiling VMMHack. The first problem is these
warnings which are being treated as errors:

In file included from ../src/geekos/int.c:15:
../include/geekos/vmcs.h:335: warning: âpackedâ attribute ignored for
field of type âuchar_tâ
../include/geekos/vmcs.h:339: warning: âpackedâ attribute ignored for
field of type âuchar_tâ
make: *** [geekos/int.o] Error 1

Removing the -Werror flag allows further compilation until nasm is
invoked on vmx_lowlevel.asm:

nasm -O99 \
-f elf \
-I../src/geekos/ \
../src/geekos/vmx_lowlevel.asm \
-o geekos/vmx_lowlevel.o
../src/geekos/vmx_lowlevel.asm:53: error: parser: instruction expected
../src/geekos/vmx_lowlevel.asm:76: error: parser: instruction expected
../src/geekos/vmx_lowlevel.asm:104: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:126: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:147: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:169: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:229: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:229: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:239: error: symbol `vmlaunch' redefined
../src/geekos/vmx_lowlevel.asm:275: error: symbol `vmresume' redefined
../src/geekos/vmx_lowlevel.asm:310: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:310: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:316: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:316: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:322: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:322: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:328: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:328: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:334: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:334: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:340: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:340: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:347: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:347: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:377: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:377: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:383: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:383: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:392: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:392: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:398: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:398: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:406: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:406: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:413: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:413: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:445: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:445: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:451: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:451: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:457: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:457: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:463: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:463: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:469: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:469: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:475: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:475: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:482: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:482: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:507: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:507: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:516: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:516: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:523: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:523: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:529: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:529: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:536: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:536: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:543: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:543: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:549: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:549: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:555: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:555: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:584: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:584: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:591: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:591: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:598: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:598: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:605: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:605: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:612: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:612: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:619: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:619: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:626: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:626: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:651: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:651: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:688: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:688: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:694: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:694: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:700: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:700: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:730: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:730: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:736: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:736: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:742: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:742: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:748: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:748: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:754: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:754: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:760: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:760: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:767: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:767: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:799: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:799: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:806: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:806: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:813: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:813: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:819: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:819: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:825: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:825: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:852: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:852: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:859: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:859: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:900: error: symbol `vmclear' redefined
../src/geekos/vmx_lowlevel.asm:900: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:904: error: symbol `vmptrld' redefined
../src/geekos/vmx_lowlevel.asm:904: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:909: error: symbol `vmwrite' redefined
../src/geekos/vmx_lowlevel.asm:909: error: parser: instruction
expected
../src/geekos/vmx_lowlevel.asm:913: error: symbol `vmlaunch' redefined
../src/geekos/vmx_lowlevel.asm:928: error: symbol `vmread' redefined
../src/geekos/vmx_lowlevel.asm:928: error: parser: instruction
expected
make: *** [geekos/vmx_lowlevel.o] Error 1

These results are using:
NASM version 0.98.39 compiled on Apr 13 2007

Thinking that this version might not support what I need, I upgraded
to:
NASM version 2.01 compiled on Jan 21 2008

Now the errors are:
nasm -O99 \
-f elf \
-I../src/geekos/ \
../src/geekos/vmx_lowlevel.asm \
-o geekos/vmx_lowlevel.o
../src/geekos/vmx_lowlevel.asm:59: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:86: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:89: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:91: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:113: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:116: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:118: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:132: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:135: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:137: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:153: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:156: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:158: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:175: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:178: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:180: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:195: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:198: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:200: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:216: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:219: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:221: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:234: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:238: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:246: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:249: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:251: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:267: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:273: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:284: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:287: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:289: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:353: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:356: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:358: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:420: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:423: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:425: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:488: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:491: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:493: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:563: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:566: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:568: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:632: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:635: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:637: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:659: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:665: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:671: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:678: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:684: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:706: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:709: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:711: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:773: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:776: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:778: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:831: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:834: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:836: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:868: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:874: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:879: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:882: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:884: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:918: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:923: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:929: warning: label alone on a line
without a colon might be in error
../src/geekos/vmx_lowlevel.asm:76: error: operation size not specified
../src/geekos/vmx_lowlevel.asm:104: error: operation size not
specified
../src/geekos/vmx_lowlevel.asm:909: error: operation size not
specified
make: *** [geekos/vmx_lowlevel.o] Error 1

Sorry for the long message, but there doesn't seem to be a way to
attach files via the google groups web interface.

Peter Dinda

unread,
Jan 30, 2008, 8:05:30 AM1/30/08
to V3VEE Discussion
I've moved this, and my response to the internal discussion group.

Peter
Reply all
Reply to author
Forward
0 new messages