Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Link Error in Think C 6.0 with MacTCP

0 views
Skip to first unread message

j collins

unread,
Dec 22, 1993, 2:15:41 PM12/22/93
to
I am writing a program that uses mactcp and in one part I am writing
some name resolving routines. I have included <AddressXlation.h> along
with <MacTCPCommonTypes.h> and <UDPPB.h>. In the name resolving
routines I am making calls to OpenResolver, CloseResolver, and StrToAddr
and I keep getting link errors. Does anyone have any ideas?

peace,
-justin m. collins
<jst...@uhura.cc.rochester.edu>

Dave Schwartz

unread,
Dec 22, 1993, 5:31:06 PM12/22/93
to
j collins (jst...@uhura.cc.rochester.edu) wrote:
: I am writing a program that uses mactcp and in one part I am writing

: some name resolving routines. I have included <AddressXlation.h> along
: with <MacTCPCommonTypes.h> and <UDPPB.h>. In the name resolving
: routines I am making calls to OpenResolver, CloseResolver, and StrToAddr
: and I keep getting link errors. Does anyone have any ideas?

Assuming that you have some version of the MacTCP Developers Kit (presumably
that is where you got the .h files from), there should a "Libraries" folder,
which contains dnr.c and dnr.o (MPW object). Compile dnr.c and link it into
your program. It contains the sources for the routines you mention.


-----
Dave Schwartz, senior developer -- da...@smartstar.com
SmartStar Corporation (div. Sapiens International, NV)
120 Cremona Dr, PO Box 1950
Goleta, CA 93116-1950
voice: (805)685-8000 fax: (805)562-1111

0 new messages