Re: Current 6.8 git build issues on HP-UX

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

 



Interestingly enough if I re-run 'make tests' using HP-UX cc it continues
into the tests because it actuall did build regress netcat! (not executable
- but it's there) ...

run test connect.sh ...
ssh connect with protocol 1 failed
ssh connect with protocol 2 failed
failed simple connect

Which is exactly where the gcc build fails - it just doesn't die at the
netcat build.

=====

On Wed, Feb 25, 2015 at 8:34 AM, Kevin Brott <kevin.brott@xxxxxxxxx> wrote:

> On Tue, Feb 24, 2015 at 6:48 PM, Darren Tucker <dtucker@xxxxxxxxxx> wrote:
>
>> On Tue, Feb 24, 2015 at 9:08 PM, Kevin Brott <kevin.brott@xxxxxxxxx>
>> wrote:
>>>
>>> The __inline__ substitution did not work - but removing 'inline' did
>>> in getting past that failure
>>> .  Had to do it again on the just-patched clone to get past that failure
>>>
>>
>> I think I've just commited a fix for this.
>>
>>
>>> Patch almost worked ... still complains about ntohs.
>>>
>>
>> That should be a macro.  On Linux and OpenBSD it's in <arpa/inet.h>.  My
>> guess is it's somewhere different on HPUX.  Can you check the man page
>> and/or grep /usr/include ?
>>
>>
> ntohs shows up in
>   /usr/include/arpa/inet.h
>   /usr/include/netinet/in.h
>   /usr/include/sys/byteorder.h
>
> The byteorder(3N) manpage says this:
> SYNOPSIS
>       #include <netinet/in.h>
>       _XOPEN_SOURCE_EXTENDED only
>       #include <arpa/inet.h>
>       unsigned long htonl(unsigned long hostlong);
>       unsigned short htons(unsigned short hostshort);
>       unsigned long ntohl(unsigned long netlong);
>       unsigned short ntohs(unsigned short netshort);
>
>  DESCRIPTION
>       These routines convert 16- and 32-bit quantities between network
> byte order and host byte order.  On HP-UX systems, network and host byte
> orders are identical, so these routines are defined as null macros in
> the include file <netinet/in.h>.  If _XOPEN_SOURCE_EXTENDED is defined
> then these routines are defined in the include file <arpa/inet.h>.
>
> N
> ot sure what to think of that - my include-fu is weak.
>
>>
>>           redefinition of macro "_NSIG" (declared at line 829 of
>>> "./defines.h")
>>>   #    define _NSIG       45
>>>
>>
>> I think I've fixed that too.  You should be able to "git pull" to pick up
>> both changes.
>>
>>
>
> Yup - fixed in the snapshot and the latest git pull - however HP cc is
> still puking on ntohs missing during the linking of netcat.
>
> BTW on that last gcc ruin - the tests failed on simple connect - going to
> retry here in a bit and see if the latest tree is still puking.
>
> --
> # include <stddisclaimer.h>
> /* Kevin  Brott <Kevin.Brott@xxxxxxxxx> */
>
>


-- 
# include <stddisclaimer.h>
/* Kevin  Brott <Kevin.Brott@xxxxxxxxx> */
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux