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

Re: [ns] ns2.1b7a install struct bcache redefinition



previous message said that it is a problem in Sun box, see:
http://www.isi.edu/nsnam/archive/ns-users/webarch/2001/msg02308.html

and someone correct it by changing the name 'bcache' to something else,
see:
http://www.isi.edu/nsnam/archive/ns-users/webarch/2001/msg03358.html

hope this helps,
difa


On Wed, 7 Nov 2001, Kelly Ormsby wrote:

> Hi all,
>
> oops forgot the subject line - sorry :(
>
> I am having a problem compiling the ns-allinone2.1b7a on Solaris 8. I have
> a clean install of Solaris 8, and have installed gcc2.95.3 and make 3.79.1.
>
> I am getting the following error :
>
> In file included from aodv/aodv._logs.cc:6:
> aodv/aodv.h:248: redefinition of `struct bcache`
> /usr/include/sys/stream.h:335: previous definition here
> make: *** [aodv/aodv_logs.o] Error 1
> Ns make failed!
> see ....
>
> I am not really sure what to change and don't really want to go changing
> things without knowing what I am doing for fear that I screw something else up.
>
> I have already had to fix two other things during install (mainly path
> variables - for /usr/ccs/bin/ar and LD_LIBRARY_PATH for tcl 8.3.2).
>
> I have looked around on the archives (searched) and can't seem to find
> anything. Any help would be appreciated as I am a bit under the hammer to
> have ns installed (and bluehoc) by this afternoon.
>
> Thanks,
> Kelly.
>
>
> Kelly Ormsby BSc(Curtin)
> Systems Administrator
>
> ATRI\ATCRC
> 314.113
> Curtin University
> Bentley
>
> Phone : +61 8 9266 3509
> Email : <mailto:[email protected]>[email protected]
>