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

(usagi-users 02580) Re: Problem with compilation ping6 and traceroute6






I would bet you don't have a definition of sockaddr_storage. It's in
linux/socket.h.

                  +-DLS


Grigory Klyuchnikov <grn@xxxxxxxxx> on 10/21/2003 07:05:47 AM

Please respond to usagi-users@xxxxxxxxxxxxxx

To:    usagi-users@xxxxxxxxxxxxxx
cc:
Subject:    (usagi-users 02579) Problem with compilation ping6 and
       traceroute6



Hello,

In the last snap usagi-linux24-s20031013 I've got an error message
in the compilation time:

[grn@rabbit ping6]$ make
gcc -g -O2  -D_GNU_SOURCE -O2 -Iinclude-glibc -include
include-glibc/glibc-bugs.h -I../include -
DHAVE_CONFIG_H   -c -o ping6.o ping6.c
In file included from include-glibc/netinet/in.h:7,
                 from /usr/include/netdb.h:28,
                 from ping_common.h:19,
                 from ping6.c:105:
../include/linux/in.h:140: field `gr_group' has incomplete type
../include/linux/in.h:146: field `gsr_group' has incomplete type
../include/linux/in.h:147: field `gsr_source' has incomplete type
../include/linux/in.h:153: field `gf_group' has incomplete type
../include/linux/in.h:156: field `gf_slist' has incomplete type
make: *** [ping6.o] Error 1

I've got same error message for traceroute6, other tools are OK.

What is a problem?

Thanks,
--

Grigory Klyuchnikov, System Engineer,
Institute for System Programming
Russian Academy of Sciences