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

Re: Compiling nam-src-1.08-current



this is a bug that's been fixed. please download today's snapshot.

On Tue, 12 Oct 1999, Nikos Georganopoulos wrote:

> Hi all,
> 
> When compiling the current version of nam (1.08-current) there is a problem with previous 
> declaration of function snprintf():
> 
> 
> 
> -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A4 -DHAVE_OTCL_H -DHAVE_LIBTK8_0
> -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H -DHAVE_ZLIB_H -I.
> -I../tclcl-1.0b8 -I../otcl-1.0a4
> -I/elec/ub/ugrad/431406/e406sl5/ns-allinone-2.1b5/nam-1.0a8-current/../tk8.0.4/generic
> -I../tcl8.0.4/generic -I../zlib-1.1.3 netmodel.cc
> In file included from address.h:42,
> from netmodel.cc:67:
> config.h:208: declaration of C function `int snprintf(char *, int, const
> char * ...)' conflicts with
> /usr/include/stdio.h:291: previous declaration `int snprintf(char *,
> unsigned int, const char * ...)' here
> *** Error code 1
> make: Fatal error: Command failed for target `netmodel.o'
> 
> Is there a way round this?
> 
> When I download and compile newer versions of programs like ns and nam, do I compile them on the directories they unzip or should I put them on top of the older versions ?
> 
> Take care...
> 
> --------------------------------------------------------------------------------
> Nikos Georganopoulos
> Centre for Telecommunications Research
> King's College London
> Strand WC2R 2LS
> England
>  
> Tel:  ++44 207 848 2889
> Fax: ++44 207 848 2664
> E-mail: [email protected]
> --------------------------------------------------------------------------------
> 
>