Git build failure: v2.47.0 on Solaris 10 SPARC64

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

 



Hi,


Reporting a build failure on version 2.47.0 of git, grabbed from the official sources. Our environment is:


Compiler: gcc (GCC) 9.5.0

Linker: GNU ld (GNU Binutils) 2.43

Target machine triplet: SPARC64-SUN-SOLARIS2.10

Target machine hardware: Sun Blade 150 UltraSPARC IIe workstation

Target OS: SunOS 5.10 Generic_150400-59 sparc SUNW,Sun-Blade-100 Solaris Sun Microsystems SunOS 5.10 Generic_150400-59 PATCH January 2018

After running ./configure, which succeeds, running `make all` gives:


root@iris:/usr/src/depot/progress/git-2.47.0# make all
    CC daemon.o
In file included from daemon.c:3:
git-compat-util.h:1012:13: error: conflicting types for 'inet_ntop'
 1012 | const char *inet_ntop(int af, const void *src, char *dst, size_t size);
      |             ^~~~~~~~~
In file included from git-compat-util.h:314,
                 from daemon.c:3:
/usr/include/arpa/inet.h:68:20: note: previous declaration of 'inet_ntop' was here
   68 | extern const char *inet_ntop(int, const void *_RESTRICT_KYWD,
      |                    ^~~~~~~~~
make: *** [Makefile:2795: daemon.o] Error 1
root@iris:/usr/src/depot/progress/git-2.47.0#


Anyone know what's going on here?





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux