Opened 5 years ago

Last modified 4 years ago

#60344 closed defect

FreeRDP 2.0.0 fails to build on <= 10.13 — at Version 4

Reported by: ra1nb0w Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: FreeRDP

Description (last modified by ryandesign (Ryan Carsten Schmidt))

FreeRDP 2.0.0 fails to build on macOS <= 10.13. Error is in the rdpsnd channel.

10.9

/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_FreeRDP/FreeRDP/work/FreeRDP-2.0.0/channels/rdpsnd/client/mac/rdpsnd_mac.m:37:10: fatal error: 'AVFoundation/AVAudioBuffer.h' file not found
#include <AVFoundation/AVAudioBuffer.h>

10.13

Undefined symbols for architecture x86_64:
  "_objc_msgSend", referenced from:
      _rdpsnd_mac_open in librdpsnd-client-mac.a(rdpsnd_mac.m.o)
      _rdpsnd_mac_set_volume in librdpsnd-client-mac.a(rdpsnd_mac.m.o)
      _rdpsnd_mac_play in librdpsnd-client-mac.a(rdpsnd_mac.m.o)
      _rdpsnd_mac_close in librdpsnd-client-mac.a(rdpsnd_mac.m.o)

More log at [07ae1e32bdf5a3c1cef57a06651a031b90c90a25/macports-ports] in the build status.

Someone has already seen this problem?

Change History (4)

comment:1 Changed 5 years ago by mf2k (Frank Schima)

Port: FreeRDP added; freerdp removed

comment:2 Changed 5 years ago by ra1nb0w

Description: modified (diff)
Summary: freerdp 2.0.0 fails to build on <= 10.13FreeRDP 2.0.0 fails to build on <= 10.13

comment:3 in reply to:  description Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ra1nb0w:

10.13

Undefined symbols for architecture x86_64:
  "_objc_msgSend", referenced from:
      _rdpsnd_mac_open in librdpsnd-client-mac.a(rdpsnd_mac.m.o)
      _rdpsnd_mac_set_volume in librdpsnd-client-mac.a(rdpsnd_mac.m.o)
      _rdpsnd_mac_play in librdpsnd-client-mac.a(rdpsnd_mac.m.o)
      _rdpsnd_mac_close in librdpsnd-client-mac.a(rdpsnd_mac.m.o)

I filed an upstream bug report about this. It works if I use configure.ldflags-append -framework Cocoa but I don't know why it works on 10.14 and 10.15 without that.

comment:4 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Note: See TracTickets for help on using tickets.