Subject: pkg/36224: net/ns
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 04/26/2007 11:10:01
>Number:         36224
>Category:       pkg
>Synopsis:       net/ns
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 26 11:10:00 +0000 2007
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_118855-19 i86pc


>Description:


g++ -c -O -I/usr/pkg/include -I/usr/include -Wall -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_11 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H  -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I.  -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include  -I./tcp -I./sctp -I./common -I./link -I./queue  -I./adc -I./apps -I./mac -I./mobile -I./trace  -I./routing -I./tools -I./classifier -I./mcast  -I./diffusion3/lib/main -I./diffusion3/lib  -I./diffusion3/lib/nr -I./diffusion3/ns  -I./diffusion3/filter_core -I./asim/ -I./qs  -I./diffserv -I./satellite  -I./wpan -o emulate/ether.o emulate/ether.cc
emulate/ether.cc: In static member function 'static void Ethernet::ether_print(const u_char*)':
emulate/ether.cc:73: error: no matching function for call to 'Ethernet::etheraddr_string(const ether_addr&)'
emulate/ether.h:58: note: candidates are: static char* Ethernet::etheraddr_string(const u_char*)
emulate/ether.cc:75: error: no matching function for call to 'Ethernet::etheraddr_string(const ether_addr&)'
emulate/ether.h:58: note: candidates are: static char* Ethernet::etheraddr_string(const u_char*)
emulate/ether.cc: In static member function 'static u_char* Ethernet::nametoaddr(const char*)':
emulate/ether.cc:115: error: 'SIOCGIFADDR' was not declared in this scope
emulate/ether.cc:115: error: 'ioctl' was not declared in this scope

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/pkg/obj/net/ns/work/.gcc/bin/g++ -c -O -I/pkg/obj/net/ns/work/.buildlink/include -Wall -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_11 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o emulate/ether.o emulate/ether.cc -m64 -L/pkg/obj/net/ns/work/.buildlink/lib 
*** Error code 1



>How-To-Repeat:


bmake


>Fix:


I am on stress with this package.
I have a student tutorial on May.
Please help