[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Paparazzi-devel] Error in make version/5.0
From: |
Árni Þorvaldsson |
Subject: |
Re: [Paparazzi-devel] Error in make version/5.0 |
Date: |
Wed, 17 Jul 2013 10:42:39 +0000 |
Thanks for your help, it works fine now after I updated Ubuntu.
Regards Arni Th
________________________________
Frá: address@hidden address@hidden fyrir hönd Felix Ruess address@hidden
Sent: 16. júlí 2013 21:00
Til: Paparazzi devel list
Efni: Re: [Paparazzi-devel] Error in make version/5.0
Hi,
sorry... I forgot, as Gautier pointed out you should set the env variables to
compile from the joystick dir.
So please either do that and post the output of make Q='' again or run make
with the silence option disabled (Q='') from the paparazzi dir (will be a lot,
you can post only the stuff from joystick.
Also did you install sdl yourself from source or from some ubuntu package? I'm
a bit confused, since from what you posted it seems to be in /usr/local/lib
instead of /usr/lib/
Please also post the output of:
dpkg --status libsdl1.2-dev
find /usr/local/lib -name libSDL.so -exec ls -l {} +
One a side note: Ubuntu 10.04 (Desktop) is not officially supported anymore,
neither by Ubuntu (so no security patches) nor by us, I would suggest to
upgrade to the latest LTS 12.04 soonish...
Cheers, Felix
On Tue, Jul 16, 2013 at 9:40 PM, Gautier Hattenberger
<address@hidden<mailto:address@hidden>> wrote:
Hi,
You should run make clean & make from the paparazzi root directory, or if you
want to compile from paparazzi/sw/ground_segment/joystick directory, set these
global variables first:
export PAPARAZZI_HOME=<your pprz root folder>
export PAPARAZZI_SRC=<your pprz root folder>
Gautier
Le 16/07/2013 21:09, Árni Þorvaldsson a écrit :
Hi Felix
Ubuntu 10.04, 32 bit
sdl-config --version
1.2.14
sdl-config --libs
-L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread
pkg-config sdl --libs-only-L
-L/usr/local/lib
find /usr/lib -name libSDL.so -exec ls -l {} +
no output
cd paparazzi/sw/ground_segment/joystick
make clean
make Q=''
ocamlfind ocamldep -I /sw/lib/ocaml *.ml* > .depend
Bad -I option: /sw/lib/ocaml: No such file or directory
CC test_sdl_stick.o
gcc -c -O2 -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC -I
/usr/lib/ocaml test_sdl_stick.c
BUILD test_stick
gcc -g -O2 -DSTICK_DBG -Wall -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -fPIC -o test_stick test_sdl_stick.o sdl_stick.c
-lglib-2.0 -lglibivy -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL
-lpthread
CC sdl_stick.o
gcc -c -O2 -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC -I
/usr/lib/ocaml sdl_stick.c
CC ml_sdl_stick.o
gcc -c -O2 -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC -I
/usr/lib/ocaml ml_sdl_stick.c
BUILD sdl_stick.so
gcc -shared -o sdl_stick.so sdl_stick.o ml_sdl_stick.o
OC input2ivy.ml<http://input2ivy.ml>
ocamlfind ocamlc -I ../../tools -c -package pprz,glibivy
input2ivy.ml<http://input2ivy.ml>
ocamlfind: Package `pprz' not found
make: *** [input2ivy.cmo] Error 2
Thanks, Arni Th
Hi Arni,
which Ubuntu version are you using? Also 64bit or 32bit?
Can you please post the output of:
sdl-config --version
sdl-config --libs
pkg-config sdl --libs-only-L
find /usr/lib -name libSDL.so -exec ls -l {} +
and then run and post the output of
cd paparazzi/sw/ground_segment/joystick
make clean
make Q=''
Thanks, Felix
On Tue, Jul 16, 2013 at 4:04 PM, Árni Þorvaldsson
<address@hidden<mailto:address@hidden><mailto:address@hidden<mailto:address@hidden>>>
wrote:
Hi I am trying to set up Paparazzi on my ubuntu and get an error when I make.
BUILD sdl_stick.so
OC input2ivy.ml<http://input2ivy.ml><http://input2ivy.ml>
OL input2ivy
File "_none_", line 1, characters 0-1:
Error: Error on dynamically loaded library: libSDL.so: libSDL.so: cannot open
shared object file: No such file or directory
make[1]: *** [input2ivy] Error 2
make: *** [joystick] Error 2
I tried to install the SDL libraries again but am getting the same error
Anyone know what is missing?
Regards Arni Th
_______________________________________________
Paparazzi-devel mailing list
address@hidden<mailto:address@hidden><mailto:address@hidden<mailto:address@hidden>>
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________
Paparazzi-devel mailing list
address@hidden<mailto:address@hidden>
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________
Paparazzi-devel mailing list
address@hidden<mailto:address@hidden>
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel