delorie.com/archives/browse.cgi | search |
From: | "Jamie Norton" <bandl DOT norton AT xtra DOT co DOT nz> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | NEED HELP with RSXNTDJ |
Date: | Fri, 20 Aug 1999 21:56:54 +1200 |
Organization: | Customer of Telecom Internet Services |
Lines: | 33 |
Message-ID: | <7pj8ir$6mdcc$1@titan.xtra.co.nz> |
NNTP-Posting-Host: | 210-55-86-206.dialup.xtra.co.nz |
X-Trace: | titan.xtra.co.nz 935142811 7026060 210.55.86.206 (20 Aug 1999 09:53:31 GMT) |
X-Complaints-To: | abuse AT xtra DOT co DOT nz |
NNTP-Posting-Date: | 20 Aug 1999 09:53:31 GMT |
X-Newsreader: | Microsoft Outlook Express 4.72.3110.5 |
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
I just recently downloaded RSXNTDJ and tried to compile a program using the windows socket library (winsock.h, sockets.h, windows.h ...). The compiler says: d:/djgpp/tmp\cccika4k(.text+0xb4):client2.c: undefined reference to `WSAStartup' d:/djgpp/tmp\cccika4k(.text+0xcc):client2.c: undefined reference to `WSACleanup' d:/djgpp/tmp\cccika4k(.text+0xd3):client2.c: undefined reference to `Exit' d:/djgpp/tmp\cccika4k(.text+0x110):client2.c: undefined reference to `inet_addr' d:/djgpp/tmp\cccika4k(.text+0x13f):client2.c: undefined reference to `socket' d:/djgpp/tmp\cccika4k(.text+0x168):client2.c: undefined reference to `htons' d:/djgpp/tmp\cccika4k(.text+0x17d):client2.c: undefined reference to `connect' d:/djgpp/tmp\cccika4k(.text+0x1bd):client2.c: undefined reference to `send' d:/djgpp/tmp\cccika4k(.text+0x1d5):client2.c: undefined reference to `recv' In my program I included the header files: #include<stdio.h> #include<string.h> #include<stdlib.h> #include<winsock.h> #include<windows.h> please help me. Thanks, Jamie.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |