* Problems while compiling dosemu-1.1.4-3
@ 2003-01-13 7:12 Peter Forst
2003-01-13 7:34 ` Reinhard Karcher
0 siblings, 1 reply; 3+ messages in thread
From: Peter Forst @ 2003-01-13 7:12 UTC (permalink / raw)
To: DosEmu Mailinglist
Hi there,
I`ve got an problem, while compiling the dosemu 1.1.4 with patchset1.1.4-3
under my linux SuSE 7.3/Kernel 2.4.16.
The clean 1.1.4 without the patchset makes no problems while compiling.
Here is the message, hope someone can help me to fix the problem :-):
mouse.c: In function `mouse_post_boot':
mouse.c:1924: parse error before `unsigned'
mouse.c:1931: `ptr' undeclared (first use in this function)
mouse.c:1931: (Each undeclared identifier is reported only once
mouse.c:1931: for each function it appears in.)
make[2]: *** [mouse.o] Error 1
make[2]: Leaving directory `/tmp/dos/dosemu-1.1.4/src/base/mouse'
make[1]: *** [base/mouse] Error 2
make[1]: Leaving directory `/tmp/dos/dosemu-1.1.4/src'
make: *** [default] Error 2
--
Peter Forst
<mail: pforst@firemail.de>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problems while compiling dosemu-1.1.4-3
2003-01-13 7:12 Peter Forst
@ 2003-01-13 7:34 ` Reinhard Karcher
0 siblings, 0 replies; 3+ messages in thread
From: Reinhard Karcher @ 2003-01-13 7:34 UTC (permalink / raw)
To: Peter Forst
On Mon, Jan 13, 2003 at 08:12:46AM +0100, Peter Forst wrote
> I`ve got an problem, while compiling the dosemu 1.1.4 with patchset1.1.4-3
>
> mouse.c: In function `mouse_post_boot':
> mouse.c:1924: parse error before `unsigned'
> mouse.c:1931: `ptr' undeclared (first use in this function)
It's a known problem. Move "*us ptr;* above the preceding statement.
The construct using a declaration after an executable statement is
a C99 construct. If you don't use a C99 compliant compiler, you get this
error.
Reinhard
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problems while compiling dosemu-1.1.4-3
@ 2003-01-13 9:54 Peter Forst
0 siblings, 0 replies; 3+ messages in thread
From: Peter Forst @ 2003-01-13 9:54 UTC (permalink / raw)
To: DosEmu Mailinglist
> On Mon, Jan 13, 2003 at 09:07:24AM +0100, Peter Forst wrote
> >
> > Hmpf, sorry I'm not a programmer - what should I do ? In file mouse.c
> > removing the ptr row ?
> >
> src/base/mouse/mouse.c near line 1924 has to look like:
> us *ptr;
> if (!mice->intdrv) return;
>
> instead of
> if (!mice->intdrv) return;
> us *ptr;
>
hm, thanxx now it works fine. But dosemu crashes without any error-message,
while running dos. The startscreen appears but after that, I'm back on console
and nothing happens.
--
Peter Forst
<mail: pforst@firemail.de>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-01-13 9:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-13 9:54 Problems while compiling dosemu-1.1.4-3 Peter Forst
-- strict thread matches above, loose matches on Subject: below --
2003-01-13 7:12 Peter Forst
2003-01-13 7:34 ` Reinhard Karcher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox