Problems Compiling DOSEMU

Problems Compiling DOSEMU

Post by Daniel Kiraco » Mon, 23 Sep 1996 04:00:00



 I am having a problem compiling DOSEMU 0.60.3.  Everything is fine until it
tries to compile libdosemu.  Here's the error message I get:

gcc      -Ttext 0x20000000 -o libdosemu-0.60.3 \
   -nostdlib emu.o data.o -Llib -L.  \
    -lvideo -ldosemu -lpic -ldpmi -lmfs -linit -lserial -lkeyboard
-lmouse -lnet
 -ldrivers bios/bios.o -L/lib -lX11 -u _XOpenDisplay -lslang -lc
gcc: 0x20000000: No such file or directory              

 It appears that gcc is mistaking the hex address of the text segment as
an input file name.  I have tried removing the -Ttext option, but then I
get errors about undefined symbols  
 From what I can tell, all this is doing is creating a library by calling
ld and letting it do the work.  So, I tried the following, it didn't work
either:

ld -Ttext 0x20000000 -o libdosemu-0.60.3 -nostdlib emu.o
data.o -Llib -L. -lvideo -ldosemu -lpic -ldpmi -lmfs -linit -lserial
-lkeyboard
-lmouse -lnet -ldrivers bios/bios.o -L/lib -lX11 -u _XOpendDisplay
-lslang -lc

ld: warning: cannot find entry symbol _start; defaulting to 20000000
stdlib: Not enough room for program headers (allocated 5, need 6)
ld: final link failed: Bad value    

 I have tried both gcc 2.7.0 and 2.7.2.  
 Can anyone suggest a solution to my problem?  I would greatly appreiciate it...

--
/* Daniel */

WWW: http://www.infinet.com/~drk

"Fear is only afraid of the absence of itself."  - Mediocrotes

 
 
 

Problems Compiling DOSEMU

Post by Uwe Bonn » Mon, 23 Sep 1996 04:00:00


:  I am having a problem compiling DOSEMU 0.60.3.  Everything is fine until it
: tries to compile libdosemu.  Here's the error message I get:

: gcc      -Ttext 0x20000000 -o libdosemu-0.60.3 \
At the time 0.60.3 was actual, a.out was standard. You probably use ELF (why
don't you tell us?) Get 0.64.0. It should compile out of the box.
--

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

 
 
 

Problems Compiling DOSEMU

Post by C Sham » Tue, 24 Sep 1996 04:00:00



>  I am having a problem compiling DOSEMU 0.60.3.  Everything is fine until it
> tries to compile libdosemu.  Here's the error message I get:

Try downloading dosemu 0.63.1.66.  Its a wee bit more stable.  And it
compiles right out o the box.  (I couldn't get 60.3 to compile for shit
either).

--
C. Shamis                                       / This space intentionally

 
 
 

Problems Compiling DOSEMU

Post by Paul Seel » Sat, 28 Sep 1996 04:00:00


Quote:> At the time 0.60.3 was actual, a.out was standard. You probably use ELF (why
> don't you tell us?) Get 0.64.0. It should compile out of the box.

It does indeed! I compiled it yesterday on my Debian-1.1.6 box with Kernel
2.0.21. And it runs MS-DOS-Word-5.5 pretty well and most important to me
the database asksam-5.1 *very* well! Well, it's a pity that i can't use an
appropriate keyboard mapping in xdos but at the console i get the full
useability minus a blinking prompt. All in all this is incredibly well done!

                                              Regards, Paul *8^)
--

   African Music Archive - Institute for Ethnology and Africa Studies
   Johannes Gutenberg-University   -  Forum 6  -  55099 Mainz/Germany
   Our AMA Homepage  in  the WWW at  http://www.uni-mainz.de/~bender/

 
 
 

Problems Compiling DOSEMU

Post by Peter Schuel » Mon, 30 Sep 1996 04:00:00


:  I am having a problem compiling DOSEMU 0.60.3.  Everything is fine until it
: tries to compile libdosemu.  Here's the error message I get:

: gcc      -Ttext 0x20000000 -o libdosemu-0.60.3 \
:    -nostdlib emu.o data.o -Llib -L.  \
:     -lvideo -ldosemu -lpic -ldpmi -lmfs -linit -lserial -lkeyboard
: -lmouse -lnet
:  -ldrivers bios/bios.o -L/lib -lX11 -u _XOpenDisplay -lslang -lc
: gcc: 0x20000000: No such file or directory              

(subsequent stuff deleted)

Hi,

I very much suffered the same problem, and it took me quite some trials
to get any further. Meanwhile I think this is a configure related problem.
I inserted the statement "ELF=yes" into the toplevel makefile, and this
was a beginning.
Now the compilation went past linkage of libdosemu, but complained about
some missing symbols for keyboard.o and something else (I forgot).
A bit of searching revealed these symbols in lib/libarch_linux_slang.a
(with leading underscores) and (without the underscores :=O ) in
lib/libarch_linux_slang-elf.a .
So I grepped all my Makefiles to replace references to this a.out lib
....slang.a with references to its ELF counterpart ....slang-elf.a .

                        BINGO!

Of course, I uttered "make clean"'s between compilations, but certainly
no "./configure"'s . With this present status, I am further than I was,
but my binary still is flakey: As soon as I try running it from the
console, I get a fatal misbehaviour, connected to the following messages:

ERROR: cpu exception in dosemu code outside of VM86()!
trapno: 0x0d  errorcode: 0x00000000  cr2: 0x00000000
eip: 0x08062f01  esp: 0xbffffb1c  eflags: 0x00010202
cs: 0x0023  ds: 0x002b  es: 0x002b  ss: 0x002b
General protection exception
GDT selector: 0x0000
Exception was caused by DOSEMU

I don't get this if I run dosemu over a serial terminal or through Xfree,
so this may very well be connected to a modified compliance with my
Mach32 graphics card. (The same dosemu.conf used to work perfectly well
with dosemu-0.60.3 under linux-1.2.13.)

I still hope this might help somebody

Hopefully

Peter
--
----------------------------------------------------------------------------
CLAIMER: All expressed opinions are my own, I hope.     Peter Schueler
                                                        Hannover, Germany

 
 
 

Problems Compiling DOSEMU

Post by Uwe Bonne » Fri, 04 Oct 1996 04:00:00



: :  I am having a problem compiling DOSEMU 0.60.3.  Everything is fine until it
: : tries to compile libdosemu.  Here's the error message I get:

: : gcc      -Ttext 0x20000000 -o libdosemu-0.60.3 \
: :    -nostdlib emu.o data.o -Llib -L.  \
: :     -lvideo -ldosemu -lpic -ldpmi -lmfs -linit -lserial -lkeyboard
: : -lmouse -lnet
: :  -ldrivers bios/bios.o -L/lib -lX11 -u _XOpenDisplay -lslang -lc
: : gcc: 0x20000000: No such file or directory              

: (subsequent stuff deleted)

: Hi,

: I very much suffered the same problem, and it took me quite some trials
: to get any further. Meanwhile I think this is a configure related problem.
: I inserted the statement "ELF=yes" into the toplevel makefile, and this
: was a beginning.
dosemu 0.64.0.x handles at least this ELF thing for you.

Get something recent from tsx-11.mit.edu:oub/linux/ALPHA/dosemu/Development
or a mirror.

--

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

 
 
 

1. problems compiling dosemu 0.50pl1

Hi!

I have some serious problems compiling dosemu 0.50pl1 under Linux 1.1.10.
Compilation stops with the following error message:

[blablabla]
gcc    -N -O2 -m486     -c libpacket.c -o libpacket.o
libpacket.c: In function `GetDeviceHardwareAddress':
libpacket.c:130: incompatible type for argument 2 of `memcpy'
make: *** [libpacket.o] Error 1

What is wrong?

Thanks in advance

        <-gninneH<-
--
      Henning Holtschneider * Bauernkamp 41 * 44339 Dortmund * Germany
          Member of OASE - European Shareware Authors Organization

2. Problem with Apache and CGI

3. problems compiling dosemu

4. getty_ps and terminal woes.

5. problem compiling dosemu

6. Network Time Protocol

7. Problems compiling dosemu

8. U.K. providers of Multi-IO boards

9. Problems compiling DOSEMU

10. Problems compiling DOSEMU 0.50

11. Problems compiling dosemu 0.66.7 - undefined reference to `mremap'

12. Problem compiling DOSEMU 0.60

13. Problem Compiling Dosemu-emumodule with linux 1.3.71