Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#644 closed defect (fixed)

Build issues related to multicast support (especially on Mingw where the build fails)

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-1.0-rc4
Component: pjlib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

Several issues with the multicast socket options that were recently added to PJLIB:

  • compilation fails on Mingw due to missing include to <ws2tcpip.h>
  • the multicast constant names are incorrect (e.g. pj_IP_MULTICAST_IF, while it should be PJ_IP_MULTICAST_IF. Note the capital "PJ"), causing link error when these constants are used.

Change History (3)

comment:1 Changed 15 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r2327:

  • incorrect muticast related socket constant names causing link error when these constants are used,
  • missing ws2tcpip.h include causing build error on Mingw, and
  • error building on Visual Studio 6 due to PJ_SOCK_HAS_GETADDRINFO being declared accidentally.

comment:2 Changed 15 years ago by bennylp

  • Milestone changed from release-1.0 to release-1.0-rc4

comment:3 Changed 15 years ago by bennylp

More in r2331:

  • build error on VS6 with built-in SDK and on PocketPC 2003 SDK since they don't have multicast related socket options
Note: See TracTickets for help on using tickets.