Snyder wrote: 
> I am trying to get jivelite working on my raspberry pi2 with an adafruit
> 2.8 PiTFT touch display. The display is installed properly. Squeezelite
> is also working. Before I started the installation I have flashed the
> official Rasbian image. I followed the installation instruction in post
> #3 and installed the mentioned dependencies including lib6-dev.
> 
> When I try to build jivelite I always get the same error message as
> described in post #283:
> 
> > 
Code:
--------------------
  >   > pi@raspberrypi ~/jivelite $ sudo make
  > cd src; PREFIX=/usr/local make
  > make[1]: Entering directory '/home/pi/jivelite/src'
  > cc platform_linux.o jive.o jive_event.o jive_font.o jive_group.o 
jive_icon.o jive_label.o jive_menu.o jive_slider.o jive_style.o jive_surface.o 
jive_textarea.o jive_textinput.o jive_utils.o jive_widget.o jive_window.o 
jive_framework.o log.o system.o jive_dns.o jive_debug.o resize.o 
visualizer/visualizer.o visualizer/spectrum.o visualizer/vumeter.o 
visualizer/kiss_fft.o -lrt -lSDL -lSDL_ttf -lSDL_image -lSDL_gfx -lluajit-5.1 
-lm -lpthread -o ../bin/jivelite
  > /usr/bin/ld: warning: libbcm_host.so, needed by 
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libSDL.so, 
not found (try using -rpath or -rpath-link)
  > /usr/bin/ld: warning: libvcos.so, needed by 
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libSDL.so, 
not found (try using -rpath or -rpath-link)
  > /usr/bin/ld: warning: libvchiq_arm.so, needed by 
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libSDL.so, 
not found (try using -rpath or -rpath-link)
  > 
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libSDL.so: 
undefined reference to `vc_dispmanx_rect_set'
  > 
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libSDL.so: 
undefined reference to `vc_dispmanx_display_open'
  > 
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libSDL.so: 
undefined reference to `vc_dispmanx_element_remove'
  > 
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libSDL.so: 
undefined reference to `vc_dispmanx_element_change_source'
  > 
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libSDL.so: 
undefined reference to `vc_dispmanx_display_get_info'
  > 
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libSDL.so: 
undefined reference to `vc_dispmanx_display_close'
  > 
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libSDL.so: 
undefined reference to `bcm_host_init'
  > 
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libSDL.so: 
undefined reference to `vc_dispmanx_update_submit_sync'
  > 
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libSDL.so: 
undefined reference to `vc_dispmanx_resource_set_palette'
  > 
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libSDL.so: 
undefined reference to `vc_dispmanx_element_add'
  > 
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libSDL.so: 
undefined reference to `vc_dispmanx_resource_create'
  > 
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libSDL.so: 
undefined reference to `vc_dispmanx_resource_delete'
  > 
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libSDL.so: 
undefined reference to `vc_dispmanx_update_start'
  > 
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libSDL.so: 
undefined reference to `vc_dispmanx_resource_write_data'
  > collect2: ld returned 1 exit status
  > Makefile:20: recipe for target '../bin/jivelite' failed
  > make[1]: *** [../bin/jivelite] Error 1
  > make[1]: Leaving directory '/home/pi/jivelite/src'
  > Makefile:9: recipe for target 'srcs' failed
  > make: *** [srcs] Error 2
--------------------
> > 
> 
> I also tried to install some of the clone repositories which are
> supposed to work with the adafruit display. It did not help. I am
> always getting the same error. 
> 
> Can anybody help? Many thanks in advance!

Your SDL library can't find required shared libraries.  This is a
raspbian issue, not jivelite.

My SDL libraries don't have that dependancy, I'm using 7.8 on my build
rpi.

# cat /etc/debian_version 
7.8

This thread might help.

https://github.com/debian-pi/raspbian-ua-netinst/issues/65

If you try setting the environment variables before building, don't use
sudo make as sudo drops most environment variables from the new shell.

Run 

$ sudo make clean

to remove files owned by root.

then use

$ make



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=98156

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

Reply via email to