Skip to contentSkip to conversation

Problems while compiling dosemu-1.1.4-3

DISCUSSION Peter Forst 2 participants 2 messages Jan 13, 2003

lore
Share & tools
lore
#0 lore raw

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

Signature · 2 lines
Peter Forst
<mail: [email protected]>
#1 lore raw

On Mon, Jan 13, 2003 at 08:12:46AM +0100, Peter Forst wrote

Quoted 5 lines

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