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

Re: [ns] Problem building ns-2.1b7 for freebsd 4.1



I am resending this to the ns-user list as it came back to me..


>
> Hi all,
>
>   I am trying to build 2.1b7 on a freebsd 4.1 box. While all modules
> build, ns and nam need to augment the path so as to include libintl
> library which is found in /usr/local/lib.
>
> Past this point I built nam manually and that went fine.. However, when
> I tried to build ns manually during the linkage point it came up with
> the following error
>
> /net/servo/home/tpagtzis/Simulator/ns-allinone-2.1b7/tcl8.3.2/unix/libtcl8.3.a(tclUnixPipe.o):
> In function `TclpCreateTempFile':
> tclUnixPipe.o(.text+0xdb): warning: tmpnam() possibly used unsafely;
> consider using mkstemp()
> misc.o: In function `VersionCommand::command(int, char const *const *)':
>
> misc.o(.gnu.linkonce.t.command__14VersionCommandiPCPCc+0x16): undefined
> reference to `version_string'
> *** Error code 1
>
> I am looking into the code and I see that the version_string variable is
> being generated Makefile, but I cannot see where this is included in any
> file in the ns folder so that it can be found in the misc.cc build...
>
> I have looked for the problem in the archives and have only found
> information that deals with the path for tclsh. But this is resolved in
> 2.1b7
>
> I also checked a build of 2.1b7a on a freebsd 4.1 box and that built
> fine...
>
> Can anybody point how is the version_string var is intended to be
> included in the build of the ns module?
>
> thanks
>
> Theo
>
> UCL/ Mobile Systems