Mail Archives: djgpp/1999/10/23/20:31:26
From: | DELCAPSyerricde AT pineight DOT 8mSOFTWARE DOT com (Damian Yerrick)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: Making Internet Junkbuster Proxy
|
Organization: | Rose-Hulman Institute of Technology
|
Message-ID: | <38124be0.26005660@news.gte.net>
|
References: | <6S4SOFrFVkMsZbGI0ekOCMSDgdhx AT 4ax DOT com>
|
X-Newsreader: | Forte Free Agent 1.11/32.235
|
Lines: | 52
|
X-Trace: | +4AzTcyF18G6R1CTW5r4VVvpFmOpeW5SZ4Mz2uRnAZjeintN1fHylhEtHASaazumY5J7n8Pf60Bx!b3LvQf3Y5J9B6a19JVifkVlVRkB5G6QXnMHXOYJpcPzQSEgxthL+rethLQ==
|
X-Complaints-To: | abuse AT gte DOT net
|
X-Abuse-Info: | Please be sure to forward a copy of ALL headers
|
X-Abuse-Info: | Otherwise we will be unable to process your complaint properly
|
NNTP-Posting-Date: | Sun, 24 Oct 1999 00:09:55 GMT
|
Distribution: | world
|
Date: | Sun, 24 Oct 1999 00:09:55 GMT
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
On Sat, 23 Oct 1999 18:05:17 -0400, James Vasile <Vasile AT IName DOT com>
wrote:
> I'm having trouble compiling the code for the Internet Junkbuster
> Proxy, which I downloaded from http://Junkbusters.com
>
> Below are the errors I get when I try to make it.
With what compiler? DJGPP does not make Win32 console apps,
but Cygwin, LCC, Ming, and RSX do.
> Some possible
> reasons it could be doing this are: I got wsock32.a from Makelib,
> and I'm not sure that's the same thing this code is looking for. Also,
> I didn't have "windows.h" among my libraries,
Because you're using a DOS compiler to build a Windows program.
> so I cobbled one together by inserting definitions from sockets.h
> and Socket.h until I had covered all the undefined references djgpp
> was apparently hoping would be windows.h. I couldn't find definitions
> for the references below in any of my .h files.
>
> Any thoughts or suggestions would help. If anybody could tell me where
> to get a standard windows.h include, I'd appreciate that too.
Umm, probably with the version of MSSDK that comes with RSXNTDJ.
> Thanks, -J
>
> ________ begin make error dump ________
> gcc -I. -DREGEX -DSTDC_HEADERS -DHAVE_STRING -D_WIN32 -o junkbstr.exe
> jcc.o parsers.o filters.o loaders.o bind.o conn.o encode.o ssplit.o
> socks4.o acl.o gnu_regex.o win32.o c:/code/djgpp/lib/Mylib/wsock32.a
> c:/code/djgpp/lib/Mylib/wsock32n.a c:/code/djgpp/lib/Mylib/utils.a
> c:/code/djgpp/lib/Mylib/wsock32.a
> jcc.o(.text+0x2536):jcc.c: undefined reference to `_beginthread'
> jcc.o(.text+0x2600):jcc.c: undefined reference to `Sleep'
> win32.o(.text+0x48):win32.c: undefined reference to
> `SetProcessShutdownParameters'
> win32.o(.text+0x59):win32.c: undefined reference to `FreeConsole'
> win32.o(.text+0x65):win32.c: undefined reference to `MAKEWORD'
> make.exe: *** [junkbstr.exe] Error 1
> ________ end make error dump ________
Those functions are defined by the Win32 API. Get RSXNTDJ
if you want Win32 support.
--
Damian Yerrick
Mail me from the link on my web site:
Pinocchio's Brother <http://yerricde.tripod.com/>
- Raw text -