From owner-freebsd-questions Wed Apr 3 14: 9:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 9FFB037B423 for ; Wed, 3 Apr 2002 14:09:02 -0800 (PST) Received: from hades.hell.gr (patr530-b233.otenet.gr [212.205.244.241]) by mailsrv.otenet.gr (8.12.2/8.12.2) with ESMTP id g33M8xbP019587; Thu, 4 Apr 2002 01:09:00 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.2/8.12.2) with ESMTP id g33M8ed0003031; Thu, 4 Apr 2002 01:09:07 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from charon@localhost) by hades.hell.gr (8.12.2/8.12.2/Submit) id g33KHDrN002096; Wed, 3 Apr 2002 23:17:13 +0300 (EEST) (envelope-from keramida@freebsd.org) Date: Wed, 3 Apr 2002 23:17:13 +0300 From: Giorgos Keramidas To: Rohit Panda Cc: freebsd-questions@freebsd.org Subject: Re: problem in network programming using sockets Message-ID: <20020403201713.GD848@hades.hell.gr> References: <20020402121322.21012.qmail@web12806.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020402121322.21012.qmail@web12806.mail.yahoo.com> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-04-02 04:13, Rohit Panda wrote: > i was trying to compile a program (which is using sockets) which > was running in linux.now i compiled the code but got some strange > errors. > > eg. /usr/include/sys/socket.h syntax error before `gid_t` > > all the errors is from the socket.h file. Try to wrap your lines at a reasonable length please. Say at 70-80 chars. You haven't included *before* . #include #include - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message