Joseph Smith wrote:
Well, It looks like I am having issues running qemu with serialice. It seems I am missing part of the LUA package but I can't figure out which one. I have the lua, lua-devel, and lua-static packages installed but it is still complaining. I am running Fedora Core 11, anyone know what package i need?
[root@smitty5m qemu-0.11.0]# i386-softmmu/qemu -M serialice -serialice /dev/ttyS0 -hda /dev/zero -L ./bios SerialICE 1.4 ... ...initializing emulated target hardware... SerialICE: Waiting for handshake with target... target alife! SerialICE: LUA init... SerialICE LUA Failed to run script: serialice.lua:28: module 'bit' not found: no field package.preload['bit'] no file './bit.lua' no file '/usr/share/lua/5.1/bit.lua' no file '/usr/share/lua/5.1/bit/init.lua' no file '/usr/lib/lua/5.1/bit.lua' no file '/usr/lib/lua/5.1/bit/init.lua' no file './bit.so' no file '/usr/lib/lua/5.1/bit.so' no file '/usr/lib/lua/5.1/loadall.so' [root@smitty5m qemu-0.11.0]#
Help?
Joe,
lua 5.1.x unfortunately does not know about bit operations (rshift, and, or). They plan to fix this in 5.2 but until then we need to use an external "library".
Unfortunately the download site luaforge.net had a crash this week, and bitlib can not be downloaded. I got it from a friendly lua developer (thank you, Jan-Pieter Jacobs!) and put it up for download at http://www.coresystems.de/~stepan/serialice/
Stefan