Thread overview
Is the DosX32 Dosextender Compiler option -mx still supported
Jan 16, 2006
Nils Koehler
Jan 16, 2006
Nils Koehler
Jan 17, 2006
Walter Bright
Jan 18, 2006
Nils Koehler
Jan 16, 2006
Walter Bright
Jan 17, 2006
Nils Koehler
January 16, 2006
I am porting a Software from compiler version 7.21 to the actual version
8.45
I used in the past compiler Option -mx. In the actual documentation I found,
that this switch is obsolete ?
-m[tsmclvfnrpxz][do][w][u] Select memory model
    32 Bit Models
    f OS/2 2.0 32 bit flat model (not supported)
    n Win32 32 bit flat model (default)
    p Pharlap 32 bit DOS Extender (obsolete)
    x DOSX 32 bit DOS Extender (obsolete)

What does it mean? Is it still working?.

In my application the compiling process will proceed without any errors, but the linker produces the following errors:

OPTLINK (R) for Win32  Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

D:\DM2\BIN\..\lib\cx.obj(cx)
 Error 42: Symbol Undefined __x386_start
D:\DM2\BIN\..\lib\cx.obj(cx)
 Error 42: Symbol Undefined __x386_data_16_alias
D:\DM2\BIN\..\lib\cx.obj(cx)
 Error 42: Symbol Undefined __x386_dbg_hook
D:\DM2\BIN\..\lib\cx.obj(cx)
 Error 42: Symbol Undefined __x32_link_in_x32_lib
graf.OBJ(graf)
 Error 42: Symbol Undefined __x386_free_protected_ptr
graf.OBJ(graf)
 Error 42: Symbol Undefined __x386_mk_protected_ptr
D:\DM2\BIN\..\lib\SDX.lib(inter)
 Error 42: Symbol Undefined __x386_memlock
D:\DM2\BIN\..\lib\SDX.lib(inter)
 Error 42: Symbol Undefined __x386_memunlock
SMAKE fatal error: command "LINK" returned with error code 8
Stopping.



Any idea for me?

Kindest Regards

Nils





-- 
-----------------------------------------------
Nils Köhler
IBT Interfaces
Im Taubhaus 19
63322 Rödermark
Germany

Tel:  +49-6074-6964-160
Fax: +49-6074-6964-161


January 16, 2006
I found a hint in the past of this newsgroup, to add the x32.lib to the
Project,
but i get still these undefined symbol error massages from the linker:

        LINK  @GRAF.LNK;
OPTLINK (R) for Win32  Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

cx.obj(cx)
 Error 42: Symbol Undefined __x386_coproc_init
D:\DM2\BIN\..\lib\x32.lib(funcs32)
 Error 42: Symbol Undefined __x386_stacklow
D:\DM2\BIN\..\lib\x32.lib(realalla)
 Error 42: Symbol Undefined __x32_zero_base_selector
D:\DM2\BIN\..\lib\x32.lib(realalla)
 Error 42: Symbol Undefined __x32_zero_base_ptr
SMAKE fatal error: command "LINK" returned with error code 4
Stopping.


Any Idea?


"Nils Koehler" <nils.koehler@ibt-interfaces.de> schrieb im Newsbeitrag news:dqgc3d$1g8s$1@digitaldaemon.com...
> I am porting a Software from compiler version 7.21 to the actual version
> 8.45
> I used in the past compiler Option -mx. In the actual documentation I
found,
> that this switch is obsolete ?
> -m[tsmclvfnrpxz][do][w][u] Select memory model
>     32 Bit Models
>     f OS/2 2.0 32 bit flat model (not supported)
>     n Win32 32 bit flat model (default)
>     p Pharlap 32 bit DOS Extender (obsolete)
>     x DOSX 32 bit DOS Extender (obsolete)
>
> What does it mean? Is it still working?.
>
> In my application the compiling process will proceed without any errors, but the linker produces the following errors:
>
> OPTLINK (R) for Win32  Release 7.50B1
> Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved
>
> D:\DM2\BIN\..\lib\cx.obj(cx)
>  Error 42: Symbol Undefined __x386_start
> D:\DM2\BIN\..\lib\cx.obj(cx)
>  Error 42: Symbol Undefined __x386_data_16_alias
> D:\DM2\BIN\..\lib\cx.obj(cx)
>  Error 42: Symbol Undefined __x386_dbg_hook
> D:\DM2\BIN\..\lib\cx.obj(cx)
>  Error 42: Symbol Undefined __x32_link_in_x32_lib
> graf.OBJ(graf)
>  Error 42: Symbol Undefined __x386_free_protected_ptr
> graf.OBJ(graf)
>  Error 42: Symbol Undefined __x386_mk_protected_ptr
> D:\DM2\BIN\..\lib\SDX.lib(inter)
>  Error 42: Symbol Undefined __x386_memlock
> D:\DM2\BIN\..\lib\SDX.lib(inter)
>  Error 42: Symbol Undefined __x386_memunlock
> SMAKE fatal error: command "LINK" returned with error code 8
> Stopping.
>
>
>
> Any idea for me?
>
> Kindest Regards
>
> Nils
>
>
>
>
>
> -- 
> -----------------------------------------------
> Nils Köhler
> IBT Interfaces
> Im Taubhaus 19
> 63322 Rödermark
> Germany
>
> Tel:  +49-6074-6964-160
> Fax: +49-6074-6964-161
>
>


January 16, 2006
"Nils Koehler" <nils.koehler@ibt-interfaces.de> wrote in message news:dqgc3d$1g8s$1@digitaldaemon.com...
>I am porting a Software from compiler version 7.21 to the actual version
> 8.45
> I used in the past compiler Option -mx. In the actual documentation I
> found,
> that this switch is obsolete ?
> -m[tsmclvfnrpxz][do][w][u] Select memory model
>    32 Bit Models
>    f OS/2 2.0 32 bit flat model (not supported)
>    n Win32 32 bit flat model (default)
>    p Pharlap 32 bit DOS Extender (obsolete)
>    x DOSX 32 bit DOS Extender (obsolete)
>
> What does it mean? Is it still working?

Yes. But you need to download the dos extender from www.dosextender.com.




January 17, 2006
Dosextender from www.dosextender.com was already installed I have undefined symbold during linking:

        LINK  @GRAF.LNK;
OPTLINK (R) for Win32  Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

cx.obj(cx)
 Error 42: Symbol Undefined __x386_coproc_init
D:\DM2\BIN\..\lib\x32.lib(funcs32)
 Error 42: Symbol Undefined __x386_stacklow
D:\DM2\BIN\..\lib\x32.lib(realalla)
 Error 42: Symbol Undefined __x32_zero_base_selector
D:\DM2\BIN\..\lib\x32.lib(realalla)
 Error 42: Symbol Undefined __x32_zero_base_ptr
SMAKE fatal error: command "LINK" returned with error code 4
Stopping.



Nils


"Walter Bright" <newshound@digitalmars.com> schrieb im Newsbeitrag news:dqh8sf$2e1c$1@digitaldaemon.com...
>
> "Nils Koehler" <nils.koehler@ibt-interfaces.de> wrote in message news:dqgc3d$1g8s$1@digitaldaemon.com...
> >I am porting a Software from compiler version 7.21 to the actual version
> > 8.45
> > I used in the past compiler Option -mx. In the actual documentation I
> > found,
> > that this switch is obsolete ?
> > -m[tsmclvfnrpxz][do][w][u] Select memory model
> >    32 Bit Models
> >    f OS/2 2.0 32 bit flat model (not supported)
> >    n Win32 32 bit flat model (default)
> >    p Pharlap 32 bit DOS Extender (obsolete)
> >    x DOSX 32 bit DOS Extender (obsolete)
> >
> > What does it mean? Is it still working?
>
> Yes. But you need to download the dos extender from www.dosextender.com.
>
>
>
>


January 17, 2006
Try linking it from the command line.


January 18, 2006
Thank you,

I forgot to put cx.obj and x32.lib into the Linklist.
It works fine with the following Linklist.:

cx.obj+
File1.OBJ+
File2.OBJ+
x32.lib

Nils


"Walter Bright" <newshound@digitalmars.com> schrieb im Newsbeitrag news:dqjkpo$20mc$1@digitaldaemon.com...
> Try linking it from the command line.
>
>