FreeBSD Port: mtr-0.58

Marius van Witzenburg / DjMW info at djmw.nl
Fri Apr 23 04:05:09 PDT 2004


Hello,

I tried to compile the new version of mrt... So far i get the below
errors...

Do i need to contact the author of the program for this or is contacting you
enough?

Hope to hear from you.

Thanks.

Greetings,

Marius van Witzenburg


#portupgrade mtr-0.54_4
--->  Upgrading 'mtr-0.54_4' to 'mtr-0.58' (net/mtr)
--->  Building '/usr/ports/net/mtr'
===>  Cleaning for gettext-0.13.1_1
===>  Cleaning for gmake-3.80_2
===>  Cleaning for mtr-0.58
===>  Vulnerability check disabled
===>  Extracting for mtr-0.58
>> Checksum OK for mtr-0.58.tar.gz.
===>  Patching for mtr-0.58
===>  Applying FreeBSD patches for mtr-0.58
===>   mtr-0.58 depends on executable: gmake - found
===>  Configuring for mtr-0.58
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g
wheel
checking whether build environment is sane... yes
checking whether gmake sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... cc
checking whether the C compiler (cc -O -pipe  ) works... yes
checking whether the C compiler (cc -O -pipe  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking size of unsigned char... 1
checking size of unsigned short... 2
checking size of unsigned int... 4
checking size of unsigned long... 4
checking for tgetent in -ltermcap... yes
checking for initscr... yes
checking for attron... yes
checking how to run the C preprocessor... cc -E
checking for ncurses.h... yes
checking for ncurses/curses.h... no
checking for curses.h... yes
checking for cursesX.h... no
checking for sys/types.h... yes
checking for sys/xti.h... no
checking for floor in -lm... yes
checking for socket... yes
checking for gethostbyname... yes
checking for seteuid... yes
checking for res_mkquery... yes
checking for herror... yes
checking for strerror... yes
checking for C flags to get more warnings... -Wall
updating cache ./config.cache
creating ./config.status
creating Makefile
creating img/Makefile
creating config.h
===>  Building for mtr-0.58
gmake  all-recursive
gmake[1]: Entering directory `/usr/ports/net/mtr/work/mtr-0.58'
Making all in img
gmake[2]: Entering directory `/usr/ports/net/mtr/work/mtr-0.58/img'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/net/mtr/work/mtr-0.58/img'
gmake[2]: Entering directory `/usr/ports/net/mtr/work/mtr-0.58'
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe  -Wall -c mtr.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe  -Wall -c net.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe  -Wall -c dns.c
cc -DHAVE_CONFIG_H -I. -I. -I.     -O -pipe  -Wall -c raw.c
In file included from raw.c:25:
/usr/include/sys/socket.h:52: syntax error before `sa_family_t'
/usr/include/sys/socket.h:52: warning: type defaults to `int' in declaration
of `sa_family_t'
/usr/include/sys/socket.h:52: warning: data definition has no type or
storage class
/usr/include/sys/socket.h:163: syntax error before `u_char'
/usr/include/sys/socket.h:174: syntax error before `u_short'
/usr/include/sys/socket.h:188: syntax error before `u_char'
/usr/include/sys/socket.h:190: `int64_t' undeclared here (not in a function)
/usr/include/sys/socket.h:190: `u_char' undeclared here (not in a function)
/usr/include/sys/socket.h:190: size of array `__ss_pad1' is too large
/usr/include/sys/socket.h:191: syntax error before `int64_t'
/usr/include/sys/socket.h:192: `u_char' undeclared here (not in a function)
/usr/include/sys/socket.h:192: `int64_t' undeclared here (not in a function)
/usr/include/sys/socket.h:192: `u_char' undeclared here (not in a function)
/usr/include/sys/socket.h:192: `int64_t' undeclared here (not in a function)
/usr/include/sys/socket.h:359: syntax error before `pid_t'
/usr/include/sys/socket.h:364: syntax error before `gid_t'
/usr/include/sys/socket.h:399: syntax error before `u_short'
/usr/include/sys/socket.h:407: syntax error before `caddr_t'
/usr/include/sys/socket.h:411: syntax error before `caddr_t'
/usr/include/sys/socket.h:444: syntax error before `recv'
/usr/include/sys/socket.h:444: warning: type defaults to `int' in
declaration of `recv'
/usr/include/sys/socket.h:444: warning: data definition has no type or
storage class
/usr/include/sys/socket.h:445: syntax error before `recvfrom'
/usr/include/sys/socket.h:445: warning: type defaults to `int' in
declaration of `recvfrom'
/usr/include/sys/socket.h:445: warning: data definition has no type or
storage class
/usr/include/sys/socket.h:446: syntax error before `recvmsg'
/usr/include/sys/socket.h:446: warning: type defaults to `int' in
declaration of `recvmsg'
/usr/include/sys/socket.h:446: warning: data definition has no type or
storage class
/usr/include/sys/socket.h:447: syntax error before `send'
/usr/include/sys/socket.h:447: warning: type defaults to `int' in
declaration of `send'
/usr/include/sys/socket.h:447: warning: data definition has no type or
storage class
/usr/include/sys/socket.h:448: syntax error before `sendto'
/usr/include/sys/socket.h:449: warning: type defaults to `int' in
declaration of `sendto'
/usr/include/sys/socket.h:449: warning: data definition has no type or
storage class
/usr/include/sys/socket.h:450: syntax error before `sendmsg'
/usr/include/sys/socket.h:450: warning: type defaults to `int' in
declaration of `sendmsg'
/usr/include/sys/socket.h:450: warning: data definition has no type or
storage class
/usr/include/sys/socket.h:451: syntax error before `off_t'
In file included from raw.c:26:
/usr/include/netinet/in.h:235: syntax error before `in_addr_t'
/usr/include/netinet/in.h:287: syntax error before `u_char'
In file included from /usr/include/netinet/in.h:487,
                 from raw.c:26:
/usr/include/netinet6/in6.h:122: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:144: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:149: syntax error before `u_int32_t'
/usr/include/netinet6/in6.h:612: syntax error before `*'
/usr/include/netinet6/in6.h:613: warning: type defaults to `int' in
declaration of `inet6_option_append'
/usr/include/netinet6/in6.h:614: syntax error before `*'
/usr/include/netinet6/in6.h:614: warning: type defaults to `int' in
declaration of `inet6_option_alloc'
/usr/include/netinet6/in6.h:614: warning: data definition has no type or
storage class
/usr/include/netinet6/in6.h:615: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:616: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:631: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:636: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:638: syntax error before `u_int8_t'
raw.c: In function `raw_rawhost':
raw.c:70: structure has no member named `s_addr'
gmake[2]: *** [raw.o] Error 1
gmake[2]: Leaving directory `/usr/ports/net/mtr/work/mtr-0.58'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/net/mtr/work/mtr-0.58'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/net/mtr.
! net/mtr (mtr-0.54_4) (new compiler error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed



More information about the freebsd-ports mailing list