The module-assistant method did not work for me (on AMD64). Below is snip from the build log.
│ {standard input}: Assembler messages: │ │ {standard input}:437: Error: suffix or operands invalid for `pushf' │ │ {standard input}:438: Error: suffix or operands invalid for `pop' │ │ {standard input}:479: Error: suffix or operands invalid for `push' │ │ {standard input}:480: Error: suffix or operands invalid for `popf' │ │ {standard input}:4178: Error: suffix or operands invalid for `mov' │ │ {standard input}:5251: Error: suffix or operands invalid for `mov' │ │ kmk[4]: *** [/usr/src/modules/virtualbox-ose/SUPDRVShared.o] Error 1 │ │ kmk[3]: *** [_module_/usr/src/modules/virtualbox-ose] Error 2 │ │ kmk[3]: Leaving directory `/usr/src/linux-headers-2.6.24-18-generic' │ │ kmk[2]: *** [vboxdrv] Error 2 │ │ kmk[2]: Leaving directory `/usr/src/modules/virtualbox-ose'
The module-assistant method did not work for me (on AMD64). Below is snip from the build log.
│ {standard input}: Assembler messages: │ modules/ virtualbox- ose/SUPDRVShare d.o] Error 1 │ /usr/src/ modules/ virtualbox- ose] Error 2 │ linux-headers- 2.6.24- 18-generic' │ modules/ virtualbox- ose'
│ {standard input}:437: Error: suffix or operands invalid for `pushf' │
│ {standard input}:438: Error: suffix or operands invalid for `pop' │
│ {standard input}:479: Error: suffix or operands invalid for `push' │
│ {standard input}:480: Error: suffix or operands invalid for `popf' │
│ {standard input}:4178: Error: suffix or operands invalid for `mov' │
│ {standard input}:5251: Error: suffix or operands invalid for `mov' │
│ kmk[4]: *** [/usr/src/
│ kmk[3]: *** [_module_
│ kmk[3]: Leaving directory `/usr/src/
│ kmk[2]: *** [vboxdrv] Error 2 │
│ kmk[2]: Leaving directory `/usr/src/