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
Wed Mar 7 04:31:45 CET 2018


Oooooops, my bad.

Was old /usr/include/math.h from previous OS release. So, dependent gcc
headers become broken after GCC upgrade.

Now fixed.

Too much night works.

Sorry.

07.03.2018 04:32, Yuri пишет:
> This is the same Solaris 10 1/13 with same CSW software packages and
> same patching level.
>
> However, Solaris NAT headers seems quite different and not the same.
>
> x86 builds NAT, SPARC is not.
>
> Due to SPARC shows incompatible NAT headers in GCC folder.
>
> 07.03.2018 04:29, Yuri пишет:
>> 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/f45c9db2/attachment.asc>


More information about the users mailing list