scintilla wrote: 
> Has anyone yet attempted to get this working for the OS X version of
> LMS?

philippe_44 wrote: 
> I've not tried, I don't have cross-compiling for OS X. Having said that,
> there are 3 parts in sq2u
> 
> - squeezelite: it compiles under OSX (I've heavily modified it, but
> should still work)
> - libupnp: I think it does compile under OS X, I've done very light
> modifications to it
> - my own code that I've added: I've tried to make the best efforts to
> not be architecture dependant, so it should compile. 
> 
> The most painful part might the small piece of code that gets the MAC
> address of players, but this is not stricly necessary, if this address
> is not found, defaults will be used.
> 
> I guess Ralphy is the best person to give his opinion on such
> compilation / porting
> 
> PS: you do not have to run sq2u on the machine that runs LMS, it can be
> on any device connected to your network. A cheap raspi does the job very
> well and there are images for it

I did a quick test build on OSX and there appears to be no SendARP
function, so that bit would need to be modified.

Code:
--------------------
    cc squeezetiny/slimproto.o squeezetiny/buffer.o squeezetiny/stream.o 
squeezetiny/utils.o squeezetiny/output_mr.o squeezetiny/decode.o 
squeezetiny/main.o squeezetiny/util_common.o squeeze2upnp/avt_util.o 
squeeze2upnp/mr_util.o squeeze2upnp/util.o squeeze2upnp/webserver.o 
squeeze2upnp/squeeze2upnp.o libupnp.a libixml.a libthreadutil.a -lpthread -lm 
-L.  -o ./bin/squeeze2upnp-osx-x86_64
  Undefined symbols:
  "_SendARP", referenced from:
  _UpdateMRThread in squeeze2upnp.o
  ld: symbol(s) not found
  collect2: ld returned 1 exit status
  Makefile:85: recipe for target 'squeeze2upnp-osx-x86_64' failed
  
--------------------



Ralphy

*1*-Touch, *4*-Classics, *2*-Booms, *1*-Reverted UE Radio
'Squeezebox client builds'
(https://www.mediafire.com/folder/4q8dvq20iyz9e/Builds) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=102496

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to