Jump to page: 1 2
Thread overview
Build Problems
Jun 01, 2004
Björn Sonntag
Jun 01, 2004
Walter
Jun 02, 2004
Björn Sonntag
Jun 03, 2004
Heinz Saathoff
Jun 07, 2004
Björn Sonntag
Jun 07, 2004
Walter
Jun 08, 2004
Björn Sonntag
Jun 08, 2004
W³odzimierz Skiba
Jun 08, 2004
Björn Sonntag
Jun 08, 2004
W³odzimierz Skiba
Jun 09, 2004
Heinz Saathoff
June 01, 2004
Hello NG,

i've some big problems with the DM C++ Compiler ... i have portted a project
from Watcom 11.X to DM. This Project uses the DosExtender.
Now when i build the Program in the final step following errors occurs :

cx.obj ..... Symbol Undefined __x386_start
cx.obj ..... Symbol Undefined __x386_data_16_alias
cx.obj ..... Symbol Undefined __x386_dbg_hook
cx.obj ..... Symbol Undefined __x32_link_in_x32_lib

sdx.lib ..... Symbol UnDefined __x386_memlock
sdx.lib ..... Symbol UnDefined __x386_memunlock

Can you help me ???
Thx

Bjoern




June 01, 2004
You need to download the dos extender libraries from www.dosextender.com.

"Björn Sonntag" <pug1975@gmx.de> wrote in message news:c9i763$1dgp$1@digitaldaemon.com...
> Hello NG,
>
> i've some big problems with the DM C++ Compiler ... i have portted a
project
> from Watcom 11.X to DM. This Project uses the DosExtender.
> Now when i build the Program in the final step following errors occurs :
>
> cx.obj ..... Symbol Undefined __x386_start
> cx.obj ..... Symbol Undefined __x386_data_16_alias
> cx.obj ..... Symbol Undefined __x386_dbg_hook
> cx.obj ..... Symbol Undefined __x32_link_in_x32_lib
>
> sdx.lib ..... Symbol UnDefined __x386_memlock
> sdx.lib ..... Symbol UnDefined __x386_memunlock
>
> Can you help me ???
> Thx
>
> Bjoern
>
>
>
>


June 02, 2004
i have the dosextender ;-) i found the mistake ... i have forgotten to link the x32.lib to the project ....

Now the project is built but i can't start it ... when i call it then nothing happend.

Source :

#include <iostream.h>

void main(void)
{
    cout << "Hello World!" << endl;

}


OS : DOS 6.22 .... RAM 256 MB .... conv Mem : 487 kb .

config.sys :

device=c:\dos\himem.sys
rem device=c:\dos\emm386.exe /noems
BUFFERS=30
FILES=40
STACKS=9,256
LASTDRIVE=Z
dos=high,umb
SHELL=c:\COMMAND.COM c:\ /P /E:1024
rem devicehigh=C:\NET\ifshlp.sys


autoexec.bat :

echo off
PATH = c:\;c:\dos;c:\tools;c:\novell;c:\spc4
\dos\KEYB GR,,\dos\KEYBOARD.SYS
\dos\doskey
prompt $p$_$g

Thanks

bjoern


June 03, 2004
Björn Sonntag schrieb...
> i have the dosextender ;-) i found the mistake ... i have forgotten to link the x32.lib to the project ....
> 
> Now the project is built but i can't start it ... when i call it then nothing happend.
> 
> Source :
> 
> #include <iostream.h>
> 
> void main(void)
> {
>     cout << "Hello World!" << endl;
> 
> }

Works here! I compiled and linked it this way:

  dmc -c -mx hw.cpp
  link E:\X32\LIB\cx+hw,hw,,E:\X32\LIB\x32;

When you run it I would expect the correct output (here Hello World!) or some other message due to a crash. No message at all seems a bit strange.

- Heinz
June 07, 2004
> Works here! I compiled and linked it this way:

Yes with very simple project that contains 1 file works that ... but the
project which i ported to DM have nearly 200 files .... so i work with the
idde ...
i build the program successful but when i start the program nothing happend
.... really nothing ... the Computer works but none crt output appears. ...

Thank you .... if it possible to compile the whole project in an other way ? I my past work i work with VC++ under Windows ... there were not so strange things.

Bjoern


June 07, 2004
"Björn Sonntag" <pug1975@gmx.de> wrote in message news:ca20j7$6rg$1@digitaldaemon.com...
> > Works here! I compiled and linked it this way:
>
> Yes with very simple project that contains 1 file works that ... but the
> project which i ported to DM have nearly 200 files .... so i work with the
> idde ...
> i build the program successful but when i start the program nothing
happend
> .... really nothing ... the Computer works but none crt output appears.
...
>
> Thank you .... if it possible to compile the whole project in an other way
?
> I my past work i work with VC++ under Windows ... there were not so
strange
> things.

So if one file works, and 200 fails, can you try whittling down the project until just what gets added that causes it to fail becomes clear?


June 08, 2004
> So if one file works, and 200 fails, can you try whittling down the
project
> until just what gets added that causes it to fail becomes clear?

Hmm i don't think so ... this program is original from 1986 ... in the following years many programmers have advanced the code ... the simple way is that i build the project completely new ... but that is too expensive ....

when i compile just the simple program "Hello World" with the IDDE than the program doesn't work ... only when i build it with sc or the dmc command ...

------------

other question ... works the OpenGL Port of DM with the pure DOS Operating System ? i need a graphical Lib as soon as possible .... i haven't found any with works with dm ....

Thanks

Bjoern


June 08, 2004
"Björn Sonntag" <pug1975@gmx.de> wrote in news:ca4cnr$15t5$1@digitaldaemon.com:
> other question ... works the OpenGL Port of DM with the pure DOS Operating System ? i need a graphical Lib as soon as possible .... i haven't found any with works with dm ....

Sorry for being off-topic regarding DM, but MGL of SciTech works with DJGPP and Open Watcom. http://www.scitechsoft.com/products/dev/mgl_features.html

ABX
June 08, 2004
> Sorry for being off-topic regarding DM, but MGL of SciTech works with
DJGPP
> and Open Watcom. http://www.scitechsoft.com/products/dev/mgl_features.html

That's right but Openwatcom can not use the stl in any form .... this is the reason why we use the dm yet.

Thankx


>
> ABX


June 08, 2004
"Björn Sonntag" <pug1975@gmx.de> wrote in news:ca4nhn$1pn9$1@digitaldaemon.com:
> > Sorry for being off-topic regarding DM, but MGL of SciTech works with
DJGPP
> > and Open Watcom. http://www.scitechsoft.com/products/dev/mgl_features.html
> 
> That's right but Openwatcom can not use the stl in any form .... this is the reason why we use the dm yet.

That depends on what part of stl do you want. If std::string is sufficient
then you can choose route through wxWidgets
http://www.wxwidgets.org/manuals/2.5.2/wx_wxstring.html#wxstringat
wxBase part of wxWidgets should be likable with any other application
regardles of console/GUI nature. I was able to build wxMGL port of
wxWidgets for DOS some time ago but I never played with it deeper.

ABX
« First   ‹ Prev
1 2