Open youxiaojie opened 3 years ago
You need SDL1, not SDL2.
You need SDL1, not SDL2.
thanx, but still segment fault.
sys0 = tsunami
{
memory.bits = 28;
rom.srm = "rom/cl67srmrom.exe";
rom.decompressed = "rom/decompressed.rom";
rom.flash = "rom/flash.rom";
rom.dpr = "rom/dpr.rom";
cpu0 = ev68cb
{
speed = 800M;
icache = true;
}
serial0 = serial
{
port = 21264;
action = "";
}
pci0.15 = ali_ide
{
disk0.0 = file
{
file = "disk0.img";
serial_number = "VMS";
rev_number = "8.4";
model_number = "OpenVMS8.3";
read_only = false;
cdrom = false;
autocreate_size = 6000M;
}
disk1.0 = file
{
file = "alpha084.iso";
read_only = true;
cdrom = true;
}
}
pci0.7 = ali
{
mouse.enabled = false;
vga_console = false;
}
pci0.19 = ali_usb
{
}
}
You can try to build a debug build:
$ mkdir build && cd build
$ cmake .. -DCMAKE_BUILD_TYPE="Debug"
$ make -j$(($(nproc) + 1))
Then attach the GDB debugger to your process (gdb ./axpbox) and if it segfaults, print a backtrace (type bt
+ ENTER). That would help figuring our where the segfault comes from.
$ sudo apt-get install libsdl1.2-dev $ sudo apt-get install libpcap-dev