[Ns-bugs] [Bug 317] build error
bugzilla-daemon@nsnam-www.ece.gatech.edu
bugzilla-daemon at nsnam-www.ece.gatech.edu
Sat Sep 6 07:46:30 PDT 2008
http://www.nsnam.org/bugzilla/show_bug.cgi?id=317
------- Comment #1 from gjcarneiro at gmail.com 2008-09-06 10:46 -------
In mingw more problems occur. Maybe it's better to not compile nsc code
unconditionally after all?
[329/529] cxx: src\internet-stack\nsc-tcp-socket-impl.cc ->
build\debug\src\inte
rnet-stack\nsc-tcp-socket-impl_1.o
..\src\internet-stack\nsc-tcp-socket-impl.cc:36:24: sys/socket.h: No such file
o
r directory
..\src\internet-stack\nsc-tcp-socket-impl.cc:37:24: netinet/in.h: No such file
o
r directory
..\src\internet-stack\nsc-tcp-socket-impl.cc:38:23: arpa/inet.h: No such file
or
directory
..\src\internet-stack\nsc-tcp-socket-impl.cc:39:24: netinet/ip.h: No such file
o
r directory
..\src\internet-stack\nsc-tcp-socket-impl.cc:40:25: netinet/tcp.h: No such file
or directory
..\src\internet-stack\nsc-tcp-socket-impl.cc: In member function `virtual int
ns
3::NscTcpSocketImpl::Connect(const ns3::Address&)':
..\src\internet-stack\nsc-tcp-socket-impl.cc:310: error: aggregate
`ns3::in_addr
remoteAddr' has incomplete type and cannot be defined
..\src\internet-stack\nsc-tcp-socket-impl.cc:316: error: `inet_ntoa' was not
dec
lared in this scope
..\src\internet-stack\nsc-tcp-socket-impl.cc:316: warning: unused variable
'inet
_ntoa'
..\src\internet-stack\nsc-tcp-socket-impl.cc: In member function `virtual int
ns
3::NscTcpSocketImpl::Send(ns3::Ptr<ns3::Packet>, uint32_t)':
..\src\internet-stack\nsc-tcp-socket-impl.cc:347: warning: converting of
negativ
e value `-0x000000001' to `unsigned int'
..\src\internet-stack\nsc-tcp-socket-impl.cc: In member function `void
ns3::NscT
cpSocketImpl::CompleteFork()':
..\src\internet-stack\nsc-tcp-socket-impl.cc:500: error: `ntohs' was not
declare
d in this scope
..\src\internet-stack\nsc-tcp-socket-impl.cc:500: warning: unused variable
'ntoh
s'
..\src\internet-stack\nsc-tcp-socket-impl.cc: In member function `void
ns3::NscT
cpSocketImpl::ConnectionSucceeded()':
..\src\internet-stack\nsc-tcp-socket-impl.cc:535: error: `ntohs' was not
declare
d in this scope
..\src\internet-stack\nsc-tcp-socket-impl.cc:535: warning: unused variable
'ntoh
s'
Build failed
-> task failed (err #129):
[bld://P:\ns\ns-3-dev\src\internet-stack\nsc-tcp-soc
ket-impl_1.o]
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Ns-bugs
mailing list