[ntp:hackers] Please test this path to 4.2.8

brian utterback brian.utterback at oracle.com
Thu Dec 25 21:42:28 UTC 2014


On a Solaris 8 system with Sun Studio compiler, it fails here:

"authkeys.c", line 60: warning: syntax error:  empty declaration
"authkeys.c", line 66: syntax error before or at: /
"authkeys.c", line 66: invalid source character: '#'
"authkeys.c", line 66: undefined or not a type: define
"authkeys.c", line 66: cannot recover from previous errors

The line is commented out with a C++ double slash rather than the C /*
*/. Later compilers must be more forgiving since this line hasn't
changed recently.

Brian

On 12/24/2014 9:06 AM, Mike Nolan wrote:
> On an ancient Solaris system, 4.2.8 failed in io.c as previously reported
> for other systems. Bug2650 fails much earlier in the make. I don't expect
> support of such an old system, but mention it because it fails quite differently.
>
> SunOS cuca 5.8 Generic_108528-08 sun4u sparc SUNW,Ultra-30
>
> on ntp-4.2.8:
>
> ntp_io.c: In function `is_ip_address':
> ntp_io.c:762: warning: cast increases required alignment of target type
> ntp_io.c: In function `read_network_packet':
> ntp_io.c:3460: union has no member named `_S6_un'
>
>
> on ntp4-4.2.8-bug2650.tar.gz
>
> Making all in libevent
>   GEN      include/event2/event-config.h
> make  all-am
>   CC       buffer.lo
> cc1: unrecognized option `-Wswitch-enum'
> cc1: unrecognized option `-Wstrict-aliasing'
> *** Error code 1
> make: Fatal error: Command failed for target `buffer.lo'
> Current working directory /share/radar1/nolan/Downloads/ntp4-4.2.8-bug2650/sntp/libevent
>
> -------------------------------
>
> (nolan at rserv.naic.edu 5766) diff myconfiglog ../ntp4-4.2.8-bug2650/myconfiglog 
> 5a6
>> checking whether make supports nested variables... yes
> 61a63,64
>> checking for ar... ar
>> checking the archiver (ar) interface... ar
> 80d82
> < checking for ar... ar
> 217a220,221
>> checking for pkg-config... no
>> configure: Using libevent tearoff
> 581a586
>> checking for arc4random_buf... no
> 706d710
> < checking for pkg-config... no
> 768a773
>> checking that generated files are newer than configure... done
> 807d811
> < config.status: config.h is unchanged
> 810c814
> < === configuring in sntp (/home/nolan/Downloads/ntp-4.2.8/sntp)
> ---
>> === configuring in sntp (/home/nolan/Downloads/ntp4-4.2.8-bug2650/sntp)
> 816a821
>> checking whether make supports nested variables... yes
> 864a870,871
>> checking for ar... ar
>> checking the archiver (ar) interface... ar
> 1089d1095
> < checking for ar... ar
> 1265a1272
>> checking that generated files are newer than configure... done
> 1273d1279
> < config.status: config.h is unchanged
> 1276c1282
> < === configuring in libevent (/home/nolan/Downloads/ntp-4.2.8/sntp/libevent)
> ---
>> === configuring in libevent (/home/nolan/Downloads/ntp4-4.2.8-bug2650/sntp/libevent)
> 1282a1289
>> checking whether make supports nested variables... yes
> 1569a1577
>> checking that generated files are newer than configure... done

-- 
Brian Utterback
Solaris RPE, Oracle Corporation.
Ph:603-262-3916, Em:brian.utterback at oracle.com



More information about the hackers mailing list