NetBSD Problem Report #36224

From dauphin@enst.fr  Thu Apr 26 11:08:30 2007
Return-Path: <dauphin@enst.fr>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id DCA2063B960
	for <gnats-bugs@gnats.netbsd.org>; Thu, 26 Apr 2007 11:08:29 +0000 (UTC)
Message-Id: <1177585706.7334@bi.enst.fr>
Date: Thu, 26 Apr 2007 13:08:26 +0200
To: "gnats bugs" <gnats-bugs@NetBSD.org>
Subject: net/ns
X-Send-Pr-Version: gtk-send-pr 0.4.5 
X-GNATS-Notify:

>Number:         36224
>Category:       pkg
>Synopsis:       net/ns
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    minskim
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 26 11:10:00 +0000 2007
>Closed-Date:    
>Last-Modified:  Thu Jun 03 10:35:52 +0000 2021
>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



>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->minskim
Responsible-Changed-By: reed@netbsd.org
Responsible-Changed-When: Thu, 26 Apr 2007 13:59:57 +0000
Responsible-Changed-Why:
Assigned to maintainer.
NOTE: the latest version has "various patches to allow ns to compile on Solaris with Sun C compiler".


State-Changed-From-To: open->feedback
State-Changed-By: minskim@netbsd.org
State-Changed-When: Thu, 26 Apr 2007 16:13:26 +0000
State-Changed-Why:
I've updated ns to 2.31.  Could you please test with the new version?


From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
To: minskim@NetBSD.org, pkgsrc-bugs@NetBSD.org,
	gnats-admin@NetBSD.org, dauphin@enst.fr, gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/36224 (net/ns)
Date: Mon, 21 May 2007 15:02:39 +0200 (CEST)

 > From: minskim@NetBSD.org
 > To: minskim@NetBSD.org, pkgsrc-bugs@NetBSD.org, gnats-admin@NetBSD.org, 
 minskim@NetBSD.org, "Gilles Dauphin" <dauphin@enst.fr>
 > Subject: Re: pkg/36224 (net/ns)
 > X-Gnats-Was-Stupid: no
 > Cc: 
 > Date: Thu, 26 Apr 2007 16:13:27 +0000 (UTC)
 > 
 > Synopsis: net/ns
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: minskim@netbsd.org
 > State-Changed-When: Thu, 26 Apr 2007 16:13:26 +0000
 > State-Changed-Why:
 > I've updated ns to 2.31.  Could you please test with the new version?
 > 
 > 

 Sorry there is a problem:

 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_13 -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/usr/include/pcap  -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 mobile/mip-reg.o mobile/mip-reg.cc
 mobile/mip-reg.cc: In member function 'void MIPMHAgent::reg()':
 mobile/mip-reg.cc:429: error: 'MIN' 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_13 -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/include/pcap -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 mobile/mip-reg.o mobile/mip-reg.cc -m64 -L/pkg/obj/net/ns/work/.buildlink/lib 
 *** Error code 1

 Stop.
 bmake: stopped in /pkg/obj/net/ns/work/ns-2.31

From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
To: minskim@NetBSD.org, gnats-admin@NetBSD.org,
	pkgsrc-bugs@NetBSD.org, dauphin@enst.fr, gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/36224 (net/ns)
Date: Mon, 21 May 2007 15:29:02 +0200 (CEST)

 MIN/MAX is define in utility.h in Solaris10.
 A workaround is in Makefile:

 #for solaris10
 CFLAGS.SunOS+=          -DSOLARIS_MIN_MAX

 Cheers,
 Gilles

 > From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
 > To: minskim@NetBSD.org, gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org, 
 "Gilles Dauphin" <dauphin@enst.fr>
 > Subject: Re: pkg/36224 (net/ns)
 > X-Gnats-Was-Stupid: no
 > Cc: 
 > Date: Mon, 21 May 2007 13:05:04 +0000 (UTC)
 > 
 > The following reply was made to PR pkg/36224; it has been noted by GNATS.
 > 
 > From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
 > To: minskim@NetBSD.org, pkgsrc-bugs@NetBSD.org,
 > 	gnats-admin@NetBSD.org, dauphin@enst.fr, gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: pkg/36224 (net/ns)
 > Date: Mon, 21 May 2007 15:02:39 +0200 (CEST)
 > 
 >  > From: minskim@NetBSD.org
 >  > To: minskim@NetBSD.org, pkgsrc-bugs@NetBSD.org, gnats-admin@NetBSD.org, 
 >  minskim@NetBSD.org, "Gilles Dauphin" <dauphin@enst.fr>
 >  > Subject: Re: pkg/36224 (net/ns)
 >  > X-Gnats-Was-Stupid: no
 >  > Cc: 
 >  > Date: Thu, 26 Apr 2007 16:13:27 +0000 (UTC)
 >  > 
 >  > Synopsis: net/ns
 >  > 
 >  > State-Changed-From-To: open->feedback
 >  > State-Changed-By: minskim@netbsd.org
 >  > State-Changed-When: Thu, 26 Apr 2007 16:13:26 +0000
 >  > State-Changed-Why:
 >  > I've updated ns to 2.31.  Could you please test with the new version?
 >  > 
 >  > 
 >  
 >  Sorry there is a problem:
 >  
 >  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_13 -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/usr/include/pcap  -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 mobile/mip-reg.o mobile/mip-reg.cc
 >  mobile/mip-reg.cc: In member function 'void MIPMHAgent::reg()':
 >  mobile/mip-reg.cc:429: error: 'MIN' 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_13 -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/include/pcap -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 mobile/mip-reg.o mobile/mip-reg.cc -m64 
 -L/pkg/obj/net/ns/work/.buildlink/lib 
 >  *** Error code 1
 >  
 >  Stop.
 >  bmake: stopped in /pkg/obj/net/ns/work/ns-2.31
 >  

State-Changed-From-To: feedback->open
State-Changed-By: minskim@netbsd.org
State-Changed-When: Fri, 25 May 2007 02:32:05 +0000
State-Changed-Why:
Feedback received.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.