Closed GoogleCodeExporter closed 8 years ago
Execute "sudo apt-get install libusb-dev".
Original comment by bob.loo...@gmail.com
on 24 Mar 2013 at 11:26
Actually:
sudo apt-get install libusb-1.0-0-dev
The other one installs usb.h not libusb.h.
Original comment by walker.s...@gmail.com
on 28 Mar 2013 at 6:52
I assume this is no longer a problem? Closing.
Original comment by bob.loo...@gmail.com
on 14 Sep 2013 at 12:13
hi,
I've the same issue. So, in my case the make fail :
lib/x86_64-linux-gnu -L/usr/lib/../lib
-L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. -lstdc++ -lm -lc -lgcc_s
/usr/lib/gcc/x86_64-linux-gnu/4.8/crtendS.o
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crtn.o
-Wl,-soname -Wl,libboblight.so.0 -o .libs/libboblight.so.0.0.0
/usr/bin/ld: .libs/libboblight_la-boblight_client.o: relocation R_X86_64_32
against `.rodata' can not be used when making a shared object; recompile with
-fPIC
.libs/libboblight_la-boblight_client.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [libboblight.la] Erreur 1
make[2]: quittant le répertoire « /home/chris/boblight-read-only/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/chris/boblight-read-only »
make: *** [all] Erreur 2
the ./configure output end
checking for X11/Xlib.h... yes
checking X11/Xutil.h usability... yes
checking X11/Xutil.h presence... yes
checking for X11/Xutil.h... yes
checking for X11/extensions/Xrender.h... yes
checking for X11/extensions/XShm.h... yes
checking for main in -lGL... yes
checking GL/glx.h usability... yes
checking GL/glx.h presence... yes
checking for GL/glx.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: --with-ola not passed, boblightd will not have support for
ola
configure: WARNING: --with-ffmpeg not passed, boblight-v4l will not be built
(if you don't plan to use boblight-v4l this is ok!)
Ubuntu 13.10 3.11.0-12-generic x86_64 x86_64 x86_64 GNU/Linux
Any idea ?
thanks
any idea ?
Original comment by red37qu...@gmail.com
on 8 Nov 2013 at 7:08
First execute:
export CFLAGS="-fpic"
export CXXFLAGS="-fpic"
Then run configure and make again.
Original comment by bob.loo...@gmail.com
on 8 Nov 2013 at 7:53
yum install gcc-c++
it will resolve your problem
Original comment by rajadash...@gmail.com
on 18 Jun 2015 at 12:23
Original issue reported on code.google.com by
polo75...@gmail.com
on 20 Mar 2013 at 9:52