SPARC GCC 5.5 /opt/csw/lib/gcc/sparc-sun-solaris2.10/5.5.0/include-fixed/netinet/ seems not the same /opt/csw/lib/gcc/i386-pc-solaris2.10/5.5.0/include-fixed/netinet and SPARC is not IPv6 compatible

Yuri yvoinov at gmail.com
Tue Mar 6 23:29:00 CET 2018


Here is different automake examples for same software:

x86:

configure:41466: checking for netinet/ip_nat.h
configure:41466: g++ -c -m64 -I/opt/csw/include/openssl
-I/usr/local/include -O2 -m64 -pipe -march=native -std=c++11
-D__EXTENSIONS__ -I/opt/csw/include conftest.cpp >&5
configure:41466: $? = 0
configure:41466: result: yes
configure:41511: checking for struct natlookup.nl_inipaddr.in6
configure:41511: g++ -c -m64 -I/opt/csw/include/openssl
-I/usr/local/include -O2 -m64 -pipe -march=native -std=c++11
-D__EXTENSIONS__ -I/opt/csw/include conftest.cpp >&5
conftest.cpp:346:20: fatal error: ip_nat.h: No such file or directory
compilation terminated.
configure:41511: $? = 1

SPARC:

configure:41466: checking for netinet/ip_nat.h
configure:41466: g++ -c -m64 -I/opt/csw/include/openssl -O2 -m64 -pipe
-std=c++11 -D__EXTENSIONS__ -I/opt/csw/include conftest.cpp >&5
configure:41466: $? = 0
configure:41466: result: yes
configure:41511: checking for struct natlookup.nl_inipaddr.in6
configure:41511: g++ -c -m64 -I/opt/csw/include/openssl -O2 -m64 -pipe
-std=c++11 -D__EXTENSIONS__ -I/opt/csw/include conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:356:13: error: 'struct natlookup' has no member named
'nl_inipaddr'
 if (ac_aggr.nl_inipaddr.in6)


07.03.2018 04:25, Yuri пишет:
> Hi all,
>
> seems 
> /opt/csw/lib/gcc/sparc-sun-solaris2.10/5.5.0/include-fixed/netinet/* 
> contents is different with
> /opt/csw/lib/gcc/i386-pc-solaris2.10/5.5.0/include-fixed/netinet/*.
>
> And seems SPARC version is __not IPv6 compatible__.
>
> Dagobert, pls, check.
>
> It seems SPARC version has different IPFilter headers than x86. This
> make difficults to build NAT-related software.
>
> API calls (natlookup struct) is not the same.
>

-- 
*****************************
* C++20 : Bug to the future *
*****************************


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: OpenPGP digital signature
URL: <http://lists.opencsw.org/pipermail/users/attachments/20180307/446241da/attachment-0001.asc>


More information about the users mailing list