atca wrote: 
> sorted now, removed the previos .o build files and re built.

Right. I just met the same problem. The Readme on StuartUSA's page 'on
Github' (https://github.com/StuartUSA/shairport_plugin) is a bit quick
there.

First, in directory
"/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes/shairport_helper/pre-compiled",
check that a prebuilt binary works with your system's architecture by
running the binary locally. For example run the command:
"./shairport_helper-armel-static" 
If you get something like "Exec format error" then look for another
binary or get ready to compile from source.
If you get something like "Permission denied" then give the file
executable rights, like with "sudo chmod a+x
shairport_helper-armel-static" (NB: giving exec rights to "all" is not
secure, but that's easy.)
If you get this "FATAL: Must supply AES key and IV!" then -it is working
ok- (the binary is normally called with 2 parameters, without them the
program complains and bails out normally.)

Second, if you need to compile from source, instead of running "make"
directly, run "make clean" and then "make". Test the end result as above
and then copy the binary to a directory such as "/usr/local/bin". (Use
command "echo $PATH" to find the list of dirs where the system looks for
binaries by default.)


This being said, I took a few hours today to upgrade from 7.6.2 to 7.8.1
which was fast and easy, and from debian 6 to debian 7 (not so thanks to
the autistic dependency-based boot system.)
So now I can report the plugin works absolutely great. I will certainly
use it regularly to boost the audio out of my iPad. 
Thanks a lot for your work!


(below the compile error trace I encountered, just for google indexing)

Code:
--------------------
    
max:/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes/shairport_helper/src#
 make
  cc -O2 -Wall   -DHAIRTUNES_STANDALONE hairtunes.c alac.o http.o -o 
shairport_helper -lm -lpthread -lao  -lssl -lcrypto 
  hairtunes.c: In function 'rtp_thread_func':
  hairtunes.c:396:15: warning: unused variable 'si_len' [-Wunused-variable]
  hairtunes.c: In function 'audio_thread_func':
  hairtunes.c:903:17: warning: format '%li' expects argument of type 'long 
int', but argument 3 has type 'ssize_t' [-Wformat]
  hairtunes.c: In function 'http_on_headers_complete':
  hairtunes.c:923:9: warning: format '%li' expects argument of type 'long int', 
but argument 3 has type 'ssize_t' [-Wformat]
  hairtunes.c:923:9: warning: format '%lu' expects argument of type 'long 
unsigned int', but argument 4 has type 'size_t' [-Wformat]
  hairtunes.c: At top level:
  hairtunes.c:669:13: warning: 'bf_est_reset' defined but not used 
[-Wunused-function]
  /usr/bin/ld: i386:x86-64 architecture of input file `alac.o' is incompatible 
with i386 output
  /usr/bin/ld: i386:x86-64 architecture of input file `http.o' is incompatible 
with i386 output
  collect2: error: ld returned 1 exit status
  make: *** [shairport_helper] Error 1
--------------------



4 SB 3 • iPeng (iPhone + iPad) • SqueezeLite • Squeezebox Server 7.6.2
(Debian 6.0)  with plugins: CD Player, WaveInput by bpa • IRBlaster by
Gwendesign (Felix) • Server Power Control by Gordon Harris • Smart Mix
by Michael Herger • PowerSave by Jason Holtzapple • Song Info, Song
Lyrics by Erland Isaksson • Just Covers by Tom Kalmijn • WeatherTime by
Martin Rehfeld • Local Player, BBC iPlayer, SwitchPlayer by Triode •
Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=100379

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to