Skip to content

Portability: AF_INET defined elsewhere #8

@jimklimov

Description

@jimklimov

Probably a different include-file should be used on this platform (/usr/include/sys/socket.h):

  CXX      src/src_fty_discovery_selftest-fty_discovery_selftest.o
../../../.srcclone/SunOS-i86pc-czmq_3/fty-discovery/src/cidr.cc: In member function 'bool CIDRAddress::set(const sockaddr*)':
../../../.srcclone/SunOS-i86pc-czmq_3/fty-discovery/src/cidr.cc:332:10: error: 'AF_INET' was not declared in this scope
     case AF_INET:
          ^
../../../.srcclone/SunOS-i86pc-czmq_3/fty-discovery/src/cidr.cc:334:10: error: 'AF_INET6' was not declared in this scope
     case AF_INET6:
          ^
gmake[2]: *** [Makefile:1049: src/src_libfty_discovery_la-cidr.lo] Error 1
gmake[2]: Target 'all-am' not remade because of errors.
gmake[2]: Leaving directory '/tmp/FTY/.build/SunOS-i86pc-czmq_3/fty-discovery'
gmake[1]: *** [Makefile:1240: all-recursive] Error 1
gmake[1]: Target 'all' not remade because of errors.
gmake[1]: Leaving directory '/tmp/FTY/.build/SunOS-i86pc-czmq_3/fty-discovery'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions