delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/10/04/21:34:21

From: "ywshei" <ywshei AT tao DOT iam DOT ntu DOT edu DOT tw>
Newsgroups: comp.os.msdos.djgpp
Subject: What version is needed when I compile the Libnet?
Date: Fri, 5 Oct 2001 09:22:01 +0800
Organization: National Taiwan University
Lines: 35
Message-ID: <9pj1vf$fnu$1@gemini.ntu.edu.tw>
NNTP-Posting-Host: gpslab.iam.ntu.edu.tw
X-Trace: gemini.ntu.edu.tw 1002244911 16126 140.112.38.53 (5 Oct 2001 01:21:51 GMT)
X-Complaints-To: postmaster AT news DOT ntu DOT edu DOT tw
NNTP-Posting-Date: 5 Oct 2001 01:21:51 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello!
I am compiled the Libnet source code(coming from
http://www.packetfactory.net/libnet/
) in DJGPP.
There are some error messages appeared about the socket driver as the
following

In file included from drivers/wsockdos.c:27:
include/wsockdos.h:157: warning: `IPPROTO_GGP' redefined
d:/djgpp/include/netinet/in.h:59: warning: this is the location of the
previous
definition
include/wsockdos.h:194: warning: `INADDR_LOOPBACK' redefined
d:/djgpp/include/netinet/in.h:179: warning: this is the location of the
previous
 definition
include/wsockdos.h:195: warning: `INADDR_BROADCAST' redefined
d:/djgpp/include/netinet/in.h:178: warning: this is the location of the
previous
 definition
include/wsockdos.h:196: warning: `INADDR_NONE' redefined
d:/djgpp/include/netinet/in.h:180: warning: this is the location of the
previous
 definition
make.exe[1]: *** [drivers/wsockdos.o] Error 1
make.exe[1]: Leaving directory `d:/libnet/lib'
make.exe: *** [lib] Error 2.

I have been updated the packages, djgpp2.03, gcc2.953, wattcp32,
libsocket080 and allegro 3.9.36.
What version is needed when I compile the Libnet?
Thanks your time.



- Raw text -


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