[ITA] ttcp 20071212 -- Network benchmarking tool

Dr. Volker Zell Dr.Volker.Zell@oracle.com
Wed Dec 12 22:32:00 GMT 2007


>>>>> Jari Aalto writes:

    > Adoption of orphaned package by Stanislav Sinyagin. Due to old age
    > (1998), everything was repackaged (including download of sources from
    > original site).

Packaging and setup.hint looks good but building from source gives:
    
    07:21 PM [818]> ./ttcp-20071212-1.sh all
-- cygbuild 2007.1212.1953 http://freshmeat.net/projects/cygbuild
-- [NOTE] Using GBS compat mode for source and binary packages
-- [NOTE] command [all] is used for checking build procedure only. See -h for source development options.
** Verifying signatures in /usr/local/src
-- Extracting /usr/local/src/ttcp-20071212.tar.gz
-- [NOTE] applying included patches to sources (if any)
-- Making Cygwin directories under /usr/local/src/ttcp-20071212
-- Running 'make clean' (or equiv.) in /usr/local/src/ttcp-20071212
# clean
rm -f *[#~] *.\#* *.o *.exe core *.stackdump ttcp *.exe
-- Running 'make distclean' (or equiv.) in /usr/local/src/ttcp-20071212
# clean
rm -f *[#~] *.\#* *.o *.exe core *.stackdump ttcp *.exe
** Shadow command
-- Running: make clean distclean (ignore errors; if any)
# clean
rm -f *[#~] *.\#* *.o *.exe core *.stackdump ttcp *.exe
make: Nothing to be done for `distclean'.
** Configure command
-- [NOTE] No standard configre script found.
** Build command
gcc -Wall -g -O2   -c -o ttcp.o ttcp.c
ttcp.c:155: warning: return type defaults to `int'
ttcp.c: In function `main':
ttcp.c:163: warning: implicit declaration of function `getopt'
ttcp.c:187: warning: implicit declaration of function `atoi'
ttcp.c:234: warning: implicit declaration of function `memset'
ttcp.c:249: warning: implicit declaration of function `memcpy'
ttcp.c:268: warning: implicit declaration of function `malloc'
ttcp.c:405: warning: implicit declaration of function `read'
ttcp.c:410: warning: implicit declaration of function `write'
ttcp.c:439: warning: int format, long unsigned int arg (arg 4)
ttcp.c:439: warning: int format, long unsigned int arg (arg 4)
ttcp.c:445: warning: unsigned int format, pointer arg (arg 4)
ttcp.c:445: warning: unsigned int format, pointer arg (arg 4)
ttcp.c:447: warning: implicit declaration of function `exit'
ttcp.c: At top level:
ttcp.c:472: warning: return type defaults to `int'
ttcp.c:524: warning: return type defaults to `int'
ttcp.c:541: warning: return type defaults to `int'
ttcp.c:541: warning: static declaration of 'gettimeofday' follows non-static declaration
/usr/include/sys/time.h:73: warning: previous declaration of 'gettimeofday' was here
ttcp.c: In function `gettimeofday':
ttcp.c:543: error: argument "zp" doesn't match prototype
/usr/include/sys/time.h:73: error: prototype declaration
ttcp.c: In function `read_timer':
ttcp.c:576: warning: implicit declaration of function `strncpy'
ttcp.c: In function `prusage':
ttcp.c:626: warning: int format, time_t arg (arg 3)
ttcp.c:626: warning: int format, long int arg (arg 4)
ttcp.c:626: warning: int format, time_t arg (arg 3)
ttcp.c:626: warning: int format, long int arg (arg 4)
ttcp.c:632: warning: int format, time_t arg (arg 3)
ttcp.c:632: warning: int format, long int arg (arg 4)
ttcp.c:632: warning: int format, time_t arg (arg 3)
ttcp.c:632: warning: int format, long int arg (arg 4)
ttcp.c:600: warning: unused variable `i'
ttcp.c: At top level:
ttcp.c:756: warning: return type defaults to `int'
ttcp.c:787: warning: return type defaults to `int'
ttcp.c:41: warning: 'RCSid' defined but not used
make: *** [ttcp.o] Error 1
There was an error. Run [finish] (y/N) y
** [finish] Removing /usr/local/src/ttcp-20071212
-- [NOTE] GBS compat mode: results are not in ./.sinst but in /usr/local/src. Please note that possible GPG signatures are now invalid
   total 291865
   drwxr-xr-x+  6 vzell admin        0 Dec 12 22:57 ttcp-20071212
   drwxr-xr-x+ 84 vzell admin        0 Dec 12 22:57 .
-- Done.

10:58 PM [819]> cygcheck -cd | grep cygwin
cygwin                   1.5.25-4


Ciao
  Volker



More information about the Cygwin-apps mailing list