delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/03/18:25:13

From: "Smith A. Cat" <imbe AT primenet DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Gurus needed real quick...
Date: 1 Jun 1997 20:59:00 -0700
Organization: Blue Square Laboratories
Lines: 19
Message-ID: <33924889.34D9@primenet.com>
MIME-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

en West wrote:

>        testin~1.c:7: winsock.h: No such file or directory (ENOENT)
> 
> What does this mean?  I followed the directions it gave me...

not exactly a guru problem, so i'll take a shot at it:

winsock.h is not in the include path. look in the djgpp.env file in the
djgpp directory and edit the include path to point to it, OR change the
#include <winsock.h> in the prog to #include <windows/winsock.h> or
wherever your winsock.h header is!

otherwise you just dont have winsock.h, which i don't think is part of
the minimal distribution (i dont see it on my computer!).  sounds like
part of RSXNT to me, but what do i know, i'm NOT a GURU!

phil

 directory (ENOENT)
bash.exe//g/perl5.003$ ls -l nul
crw-r--r--   1 dosuser  dos        0,   0 Jun  3 11:12 nul
bash.exe//g/perl5.003$

This is obviously another symptom of my problem.  I will try this from
plain W95 DOS (no WIN) and from DOS 6.22, which I also have available
on same PC.  I will report this back to you in another message.

Also, as noted below in AUTOEXEC.BAT comments, H: is an IOMEGA JAZ
drive (removable 1G disk drive).  I can also try this by moving DJGPP
to a "real" hard drive and try it again, if you think this might be
the problem.

>I got this result both MSDOS and Win95 DOS box.
>Can you tell me about your config.sys and autoexec.bat?
>

Yes, here are both, with explanations following "<====" or "rem <===="
where needed.  My "normal" boot process uses CONFIG MENUITEM #1,
labelled "APTIVA" below.  "APTIVA" is the configuration used to
produce the results I quoted.

--------------- CONFIG.SYS ----------------------
[MENU]
MENUITEM=APTIVA,Standard configuration (no EMS)
MENUITEM=APTDOS,Standard configuration (no EMS), DOS Mode
MENUITEM=EMSGAME,Game configuration using EMS memory
MENUITEM=DOS4GW,Run DOS Extender games
MENUCOLOR=7,0
MENUDEFAULT=NORMAL,20

[COMMON]
FILES=60
DEVICE=C:\WINDOWS\HIMEM.SYS /TESTMEM:OFF /V
REM Please read README.TXT in C:\MWD subdirectory before changing the
DOS= statement.                      <==== this is on prev line,
word-wrapped here
DOS=HIGH,UMB
SHELL=C:\WINDOWS\COMMAND.COM /E:1024 /P

[APTIVA]
BUFFERS=40
DEVICE=C:\WINDOWS\EMM386.EXE NOEMS X=CC00-CEFF I=E000-F3FF X=F400-FEFF
DOS=UMB
DEVICEHIGH=C:\WINDOWS\IFSHLP.SYS
DEVICEHIGH=C:\WINDOWS\COMMAND\IBMIDECD.SYS /D:IBMCD001  <==== CD
driver
DEVICEHIGH=C:\MWAVE_C\VHDD0420.EXE                  <==== Sound-card
driver
DEVICEHIGH=C:\WINDOWS\SETVER.EXE

[APTDOS]
INCLUDE=APTIVA

[EMSGAME]
BUFFERS=10
DEVICE=C:\WINDOWS\EMM386.EXE RAM 3072 I=B000-B7FF X=CC00-CEFF
I=E000-F3FF X=F400-FEFF                      <==== this is on prev
line, word-wrapped here
DOS=UMB
DEVICEHIGH=C:\WINDOWS\IFSHLP.SYS
DEVICEHIGH=C:\WINDOWS\COMMAND\IBMIDECD.SYS /D:IBMCD001
DEVICEHIGH=C:\MWAVE_C\VHDD0420.EXE

[DOS4GW]
BUFFERS=40
DEVICE=C:\WINDOWS\IFSHLP.SYS
DEVICE=C:\WINDOWS\COMMAND\IBMIDECD.SYS /D:IBMCD001
DEVICE=C:\MWAVE_C\VHDD0420.EXE

--------------- End of CONFIG.SYS -----------------

--------------- AUTOEXEC.BAT ----------------------
@ECHO OFF
C:\Progra~1\McAfee\VirusS~1\SCAN.EXE C:\ /LOG
@IF ERRORLEVEL 1 goto VirAlert
goto NoVirus
:VirAlert
echo Virus problem detected on drive C:!  Check above messages!!
Pause
goto LeaveLog
:NoVirus
C:\WINDOWS\COMMAND\ATTRIB -H -R C:\SCAN.LOG
DEL C:\SCAN.LOG
:LeaveLog
SET
PATH=C:\TCPDOS\BIN;C:\MWW\DLL;C:\MWD\MANAGER;C:\PS1TOOLS;C:\;C:\WINDOWS;C:\WINDOWS\COMMAND;D:\BAT;D:\UT;D:\VS;D:\PT;G:\perl5\bin;D:\EXTRA!
rem <=== prev 3 lines are 1 line, word-wrapped
C:\PS1TOOLS\RESUME.EXE            <==== rapid-resume utility (not TSR)
ECHO Y | LOCK C: > NUL
C:\PS1TOOLS\PS1PFILE.EXE          <==== makes an image of
machine/memory status
UNLOCK C: > NUL
rem <==== next 7 lines are for MWave sound card
SET MWPATH=C:\MWD\MANAGER;C:\MWD\MWGAMES
REM The following is used by DOS games to recognize Sound Blaster
hardware.
REM If hardware settings are changed, please change this line as well.
REM See the Mwave README file for instructions.
SET BLASTER=A220 I5 D1 T4
SET MWROOT=C:\MWD
SET LIBPATH=C:\MWD\MANAGER
SET ETC=C:\TCPDOS\ETC           <==== came with system, for W95 TCP/IP
I think
if not exist H:\WATCOM\BINNT\*.* goto ChkSCSI  <==== H: is IOMEGA JAZ
drive
PATH=%path%;H:\WATCOM\BINNT;H:\WATCOM\BINW
SET INCLUDE=H:\WATCOM\H;H:\WATCOM\H\NT
SET WATCOM=H:\WATCOM
SET EDPATH=H:\WATCOM\EDDAT
SET WWINHELP=
:ChkSCSI
if exist D:\BAT\SCSI95.BAT call D:\BAT\SCSI95.BAT
rem <==== prev line for IOMEGA SCSI card, renames SCSI95/31 dirs on D:
drive
rem <==== D: common drive for W95 & DOS6.22, different SCSI software
for each
rem <==== so I rename SCSI directories and use same name (D:\SCSI) for
execute
GOTO %CONFIG%

:APTIVA
LH DOSKEY /BUFSIZE=10240
WIN
GOTO END

:APTDOS
SMARTDRV /X /V
LH MSCDEX /D:IBMCD001 /L:L
LH DOSKEY /BUFSIZE=10240
GOTO END

:EMSGAME
SMARTDRV /X /V
LH MOUSE
LH MSCDEX /D:IBMCD001 /L:L /E
LH DOSKEY /BUFSIZE=10240
GOTO END

:DOS4GW
MSCDEX /D:IBMCD001 /L:L
if exist C:\MWD\MANAGER\MWAVE.BAT CALL MWAVE START
MOUSE
:END

----------- End of AUTOEXEC.BAT ---------------------

TIA for any more help or info you can provide.


----------------------------------------------------
Peter J. Farley III (pjfarley AT dorsai DOT org)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019