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

Re: Web Trace Conversion



First, they are already included in the ns snapshot (or distribution),
under ~ns/indep-utils/.

Second, which platform are you using? Seems that somehow heapsort() and
strsep() may not be available outside BSD4.4. :( I need to put a wrapper
for them. For now I think you can replace them with qsort() and strtok(),
but note that qsort() may take more mem when handling large traces. 

- Haobo

On Wed, 30 Jun 1999, fei wrote:

> Hi,
> 
> Does anyone know how I can compile the files downloaded from
> http://mash.cs.berkeley.ed/dist/vint/webcache-trace-conv.tar.gz ?
> 
> They are used to convert web trace files to the format that can be
> used by ns-2.
> 
> When I compile them, I always get following error messages:
> 
> Undefined                       first referenced
>  symbol                             in file
> heapsort                            /var/tmp/cca003LU1.o
> strsep                              /var/tmp/cca003LU1.o
> ld: fatal: Symbol referencing errors. No output written to tr-stat
> 
> The heapsort and strsep seems not defined. Are they standard library 
> functions or else ?
> 
> Thanks.
> 
> Zongming Fei
> 
> 
> 
>