pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/36224 (net/ns)



The following reply was made to PR pkg/36224; it has been noted by GNATS.

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



Home | Main Index | Thread Index | Old Index