[alt.msdos.programmer] Turbo C vs Microsoft C

leif@comcon.UUCP (Leif Sawyer ) (03/06/90)

Help! I'm working on converting the recent post of msdos_sh from
microsoft C to turbo C (I haven't got MSC...), and need a bit of help.

After MUCH debugging, hacking, and general straightening up of things,
I compiled the shell using the large memory model...

here's the error listing i get - 

Warning: __setargv defined in module STDARGV.ASM
         is duplicated in module SETARGV
Warning: _sys_errlist defined in module SYSERR.ASM
         is duplicated in module PERROR
Warning: _sys_nerr defined in module SYSERR.ASM
         is duplicated in module PERROR
 
Undefined symbol '_maperror' in module SH0.ASM
Undefined symbol '__pgmptr' in module STDARGV.ASM


If you've got MSC and can tell me what the function maperror does (or perhaps
send me the source, if possible - heck, an extracted OBJ would work...)
and the variable __pgmptr - what that is set to, i'd be extremely happy.

Thanks!