>>>>>>> Stephen Lee writes:
>>
>> Stephen> I am running the bindist of Dosemu 1.0.2 with DRDOS 7.0.3. I
>> Stephen> can run and exit Foxpro2.5 or 2.6 exactly once. The second
>> Stephen> time it is run (within the same dosemu session) all is fine
>> Stephen> but when I exit foxpro, dosemu segfaults with the following
>> Stephen> message:
>>
>>        Last version working pretty well with PharLap is 0.99.13
>>
>> --
>>  Sergey Suleymanov
>
> Okay, I ran my Foxpro application with an rpm version of 0.99.13 and
> the Phar lap problem did not appear. Problem is that the compiled
> versions don't include X support. I tried to compile from source but
> get the following compiler error:
>
> gcc -D_GNU_SOURCE -O2 -fomit-frame-pointer -m486 -malign-loops=2
> -malign-jumps=2 -malign-functions=2 -MD  -DGCC_VERSION_CODE=2096
> -DASM_PEDANTIC   -pipe -DUSING_NET   -Wall
> -I/usr/local/src/dosemu-0.99.13/src/include
> -I/usr/local/src/dosemu-0.99.13/src/dosext/dpmi
> -I/usr/local/src/dosemu-0.99.13/src/include/slang -I/usr/X11R6/include
> -DPORTABLE_BINARY   -Wl,-warn-common -static  dosctrl.c   -o dosctrl
> dosctrl.c: In function `main':
> dosctrl.c:135: `__kernel_fd_set' undeclared (first use in this
> function) dosctrl.c:135: (Each undeclared identifier is reported only
> once
> dosctrl.c:135: for each function it appears in.)
> dosctrl.c:135: parse error before `)'
> dosctrl.c:135: `__FDSET_LONGS' undeclared (first use in this function)
> dosctrl.c:135: parse error before `)'
> dosctrl.c:156: parse error before `)'
> dosctrl.c:157: parse error before `)'
> dosctrl.c:165: parse error before `)'
> dosctrl.c:166: parse error before `)'
> dosctrl.c:165: warning: `__result' might be used uninitialized in this
> function
> dosctrl.c:166: warning: `__result' might be used uninitialized in this
> function
> make[2]: *** [dosctrl] Error 1
> make[2]: Leaving directory
> `/usr/local/src/dosemu-0.99.13/src/tools/periph' make[1]: ***
> [tools/periph] Error 2
> make[1]: Leaving directory `/usr/local/src/dosemu-0.99.13/src'
>
> This was run on a RH7.1 box. Does it look like a glibc incompatibility?
> Are there patches to fix this? Above all, if I _have_ to run 1.0.2 with
> Phar lap crashing as described above, can it affect operations (none
> apparent to me) while FOxpro is running?
>

The Phar Lap segfault problem disappears if I run Foxpro/Dosemu 1.0.2
bindist under RedHat6.2. So, I compiled a fresh 1.0.2 copy under Redhat7.1
(gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85)) but still get the
Phar Lap problem. I even compiled on RH6.2 and transferred to rh7.1 but with
the same problem. It made no difference whether the compiletime setting
"linkstatic" was set to on or off. It must have something to do with the
compiler used in RH7.1. Any other possible combinations to try????

Stephen


-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to