Date: Mon, 01 Jan 1996 12:07:26 -0800 From: "Amancio Hasty Jr." <hasty@rah.star-gate.com> To: sos@FreeBSD.org Cc: tulchins@voland.phoebe.com (Steven Tulchinsky), hackers@FreeBSD.org Subject: Re: Doom and Linux emulation Message-ID: <199601012007.MAA15670@rah.star-gate.com> In-Reply-To: Your message of "Mon, 01 Jan 1996 20:10:12 %2B0100." <199601011910.UAA12174@ra.dkuug.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
>>> sos@FreeBSD.org said: > In reply to Steven Tulchinsky who wrote: > > > > I've been trying for days to get Doom to run > > but whatever I try to do resuls in > > Program received signal SIGBUS, Bus error. :-( > > I looked through mailing list archives and all docs I could > > find, but there is nothing to fix my problem > > Here is what I got: > > > > % modstat > > Type Id Off Loadaddr Size Info Rev Module Name > > EXEC 0 3 f11b6000 0018 f11bb000 1 linux_emulator > > > > % ls /usr/local/lib > > ./ libXaw.so.3@ libc.so.4.5.26@ > > ../ libXaw.so.3.1.0@ libgr.so.1@ > > doom/ libXaw.so.6@ libgr.so.1.3@ > > doom-1.8/ libXaw.so.6.0@ libm.so.4@ > > ld.so@ libXpm.so.4@ libm.so.4.5.26@ > > libX11.so.3@ libXpm.so.4.3@ libvga.config > > libX11.so.3.1.0@ libXt.so.3@ libvga.so.1@ > > libX11.so.6@ libXt.so.3.1.0@ libvga.so.1.2.0* > > libX11.so.6.0@ libXt.so.6@ linux_lib/ > > libXIE.so.6@ libXt.so.6.0@ > > libXIE.so.6.0@ libc.so.4@ > > Erm, you are supposed to have the linux libs & ld.so i /compat/linux/lib > or the emulator will have problems locating them (and even distinguish > them from native ones). > You would also want SYSVMSG defined in order to get sound via the > sndserver and the WoxWare drivers allready in FreeBSD... Make sure that Doom's sndserver is in your execution path prior to starting xdoom. To get Doom's sndserver to work with FreeBSD he will need: rah.star-gate.com:/pub/linux_ioctl.tar.gz Also he should take out the static defines in sysv_msg.c: diff -c sysv_msg.c.orig sysv_msg.c *** sysv_msg.c.orig Sun Dec 31 16:48:25 1995 --- sysv_msg.c Sun Dec 31 16:48:11 1995 *************** *** 29,35 **** #define MSG_DEBUG #undef MSG_DEBUG_OK ! static int msgctl(), msgget(), msgsnd(), msgrcv(); int (*msgcalls[])() = { msgctl, msgget, msgsnd, msgrcv }; --- 29,35 ---- #define MSG_DEBUG #undef MSG_DEBUG_OK ! int msgctl(), msgget(), msgsnd(), msgrcv(); int (*msgcalls[])() = { msgctl, msgget, msgsnd, msgrcv }; --- Perhaps someone can review my mods to the linux module and integrate them into the core distribution. Amancio
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601012007.MAA15670>