Ralf S. Engelschall wrote:
On Wed, Jan 18, 2006, Doug Summers wrote:


[...]
I've tried using the OpenPKG-current version, but get the same results.
Also tried using the IRIX cc compiler as well as the GCC 2.9.5 that was
previously installed:

./libtool --mode=compile --quiet /syscfg/opkg/bin/cc -c  -O2 -pipe -I.
l2_ut_pcre.c
./libtool --mode=compile --quiet /syscfg/opkg/bin/cc -c  -O2 -pipe -I.
l2_ut_level.c
./libtool --mode=compile --quiet /syscfg/opkg/bin/cc -c  -O2 -pipe -I.
l2_ut_fmtcb.c
./libtool --mode=compile --quiet /syscfg/opkg/bin/cc -c  -O2 -pipe -I.
l2_ut_sa.c
l2_ut_sa.c: In function 'l2_util_sa_addr_u2a':
l2_ut_sa.c:495: error: storage size of 'sa6' isn't known
l2_ut_sa.c: In function 'l2_util_sa_addr_a2u':
l2_ut_sa.c:780: error: dereferencing pointer to incomplete type
[...]

Looks like OSSP fsl detects that the IPv6 API exists on your platform
(at least to some extend) but fails to correctly use it (perhaps it is
not available completely or whatever).

Is there a way to disable IPv6 support in FSL?


You can't really disable it explicitly as the contained OSSP sa
library's source code just detects IPV6 via some #ifdefs on the symbol
AF_INET6. But in your case the problem is that the #include is missing
for the "struct sockaddr_in6". Usually this has to be provided by
<netinet/in.h> but on your platform this isn't the case. Can you perform
a "grep -r sockaddr_in6 /usr/include/" and give us the output, please?

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

grep -r sockaddr_in6 /usr/include/
/usr/include/net/raw_cb.h:#include <netinet/in.h>   /* for sockaddr_in6 */
/usr/include/net/raw_cb.h: struct sockaddr_in6 raw_dst6;/* dst address for rawintr */ /usr/include/net/raw_cb.h: struct sockaddr_in6 raw_src6;/* src address for sbappendaddr */
/usr/include/netinet/in_pcb.h:          struct  sockaddr_in6 spare_dst;
/usr/include/netinet/in.h:struct sockaddr_in6 {
/usr/include/netinet/in.h:#define satosin6(sa) ((struct sockaddr_in6 *)(sa))
/usr/include/rapi_lib.h:        struct sockaddr_in6 sender;
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to