paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Building paparazzi in Fedora


From: Ismael Marín Carrión
Subject: Re: [Paparazzi-devel] Building paparazzi in Fedora
Date: Tue, 08 Apr 2014 17:38:06 +0100

Hi Felix, I have updated the installation page. I hope it helps.

Cheers,
Ismael.

On Sun, 2014-04-06 at 13:32 +0200, Felix Ruess wrote:
> Hi Ismael,
>
>
> if you have everything running, it would be really really great if you
> could write that up on the wiki.
> Either by
> correcting/extending https://wiki.paparazziuav.org/wiki/Installation/Manual 
> or even creating a new Installation/Fedora page.
>
>
> Or if you (or anyone else for that matter) want to build RPMs for
> fedora/suse we can use
> the https://build.opensuse.org/project/show/home:flixr:paparazzi-uav
> for that.
>
>
> Cheers, Felix
>
>
> On Tue, Mar 25, 2014 at 6:52 PM, Ismael Marín Carrión
> <address@hidden> wrote:
>         Hello Felix,
>
>         binary was installed on /usr/bin (libraries at /lib64/ ), and
>         it was
>         downloaded from the fedora repo. "/usr/bin" is in $PATH and
>         the version
>         of arm-none-eabi-gcc was v4.8.1. It was not working and i
>         don't know
>         why. However, I have downloaded and compiled the cross
>         compiler v4.7.4
>         (as mentioned on the paparazzi's installation guide) and it is
>         now
>         working. I am confused about what was happening, but now
>         everything is
>         ok and i can run simulations.
>
>         Thanks for your help.
>
>         On Tue, 2014-03-25 at 18:03 +0100, Felix Ruess wrote:
>         > Hi Ismael,
>         >
>         >
>         > I don't know how (or where) you installed the cross compiler
>         > toolchain...
>         > Do you really have it in /usr/lib64 ?
>         > The makefile looks for arm-none-eabi-gcc in your PATH
>         > What cross compiler are you using?
>         >
>         >
>         > You also shouldn't need to export ARCH and CROSS_COMPILE env
>         vars (at
>         > least not in Debian).
>         >
>         >
>         > Cheers, Felix
>         >
>         >
>         > On Tue, Mar 25, 2014 at 4:47 PM, Ismael Marín Carrión
>         > <address@hidden> wrote:
>         >         Hi, seems that I was working with an outdated
>         version :/
>         >         Now this issue is fixed, but I am getting problems
>         when it
>         >         cross
>         >         compiling, the error is:
>         >
>         >           GENHDR  include/libopencm3/sam/3x/irq.json
>         >           BUILD   lib/stm32/f1
>         >           CC      adc.c
>         >         In file included
>         >         from ../../../include/libopencm3/cm3/common.h:23:0,
>         >
>         >          from ../../../include/libopencm3/stm32/f1/adc.h:42,
>         >                          from adc.c:113:
>         >
>           /usr/lib64/gcc/arm-none-eabi/4.8.1/include/stdint.h:9:26:
>         >         fatal error:
>         >         stdint.h: No such file or directory
>         >          # include_next <stdint.h>
>         >
>         >         I export the variables ARCH and CROSS_COMPILE before
>         of make,
>         >         but it
>         >         doesn't work.
>         >
>         >         Thanks again.
>         >
>         >         On Tue, 2014-03-25 at 13:39 +0100, Felix Ruess
>         wrote:
>         >         > Hi Ismael,
>         >         >
>         >         >
>         >         > did you check that the libopencm3 submodule is
>         really
>         >         initialized and
>         >         > up-to-date?
>         >         > git submodule status
>         >         >
>         >         >
>         >         > Cheers, Felix
>         >         >
>         >         >
>         >         > On Tue, Mar 25, 2014 at 1:34 PM, Ismael Marín
>         Carrión
>         >         > <address@hidden> wrote:
>         >         >         Dear Felix:
>         >         >
>         >         >         It is fixed now. Thanks!
>         >         >
>         >         >         However, I've found some problems during
>         building
>         >         that I am
>         >         >         not able to fix.
>         >         >
>         >         >         $ make
>         >         >
>         >
>         ------------------------------------------------------------
>         >         >         Building Paparazzi version v5.1_devel
>         >         >
>         >
>         ------------------------------------------------------------
>         >         >         make -C data/maps
>         >         >
>         -----------------------------------------------
>         >         >         DOWNLOAD: google maps version code
>         >         >         Updated google maps version to 145
>         >         >
>         -----------------------------------------------
>         >         >         make -C sw/lib/ocaml
>         >         >         ...
>         >         >
>         >
>         GENERATE /home/imarin/paparazzi-master/var/include/abi_messages.h
>         >         >         make -C sw/ext
>         >         >         make[2]: *** No rule to make target
>         `lib'.  Stop.
>         >         >         make[1]: *** [libopencm3.module] Error 2
>         >         >         make: *** [ext] Error 2
>         >         >
>         >         >         I have checked the Makefile at sw/ext and
>         the rule
>         >         for
>         >         >         libopencm3.module seems ok:
>         >         >
>         >         >         libopencm3.module: update_submodules
>         >         >                 $(Q)$(MAKE) -C libopencm3 lib
>         PREFIX=
>         >         $(PREFIX)
>         >         >         TARGETS="stm32/f1"
>         >         >                 $(Q)$(MAKE) -C libopencm3 lib
>         PREFIX=
>         >         $(PREFIX)
>         >         >         FP_FLAGS="-mfloat-abi=softfp
>         -mfpu=fpv4-sp-d16"
>         >         >         TARGETS="stm32/f4"
>         >         >
>         >         >         Cheers.
>         >         >
>         >         >
>         >         >         On Sat, 2014-03-22 at 01:07 +0100, Felix
>         Ruess
>         >         wrote:
>         >         >         > Hi Ismael,
>         >         >         >
>         >         >         >
>         >         >         > while I have not tried to build on
>         Fedora, you
>         >         should be ok
>         >         >         > using ivy-c from trunk:
>         >         >         > svn checkout
>         >         https://svn.tls.cena.fr/svn/ivy/ivy-c/trunk
>         >         >         > ivy-c
>         >         >         >
>         >         >         >
>         >         >         >
>         >         >         > I'm also waiting for the latest ivy-c
>         tarball to
>         >         be up on
>         >         >         > the cena packages site.
>         >         >         > There is recent tarball uploaded:
>         >         >         >
>         >
>         http://www.eei.cena.fr/products/ivy/download/packages/ivy-c_3.14.tgz
>         >         >         > But it is actually a bzip2 compressed
>         file and not
>         >         a gzip
>         >         >         > compressed one, so you could also
>         download that
>         >         and rename
>         >         >         > it to *.tar.bz2 and then unpack it.
>         >         >         > Fixed file is hopefully up soon.
>         >         >         >
>         >         >         >
>         >         >         > Cheers, Felix
>         >         >         >
>         >         >         >
>         >         >         > On Fri, Mar 21, 2014 at 6:09 PM, Ismael
>         Marín
>         >         Carrión
>         >         >         > <address@hidden> wrote:
>         >         >         >         Hello, I want to build paparazzi
>         in Fedora
>         >         19/20
>         >         >         >         x86_64. I know that the
>         >         >         >         ivy packages are missing in
>         Fedora. So I
>         >         must to
>         >         >         >         build these
>         >         >         >         dependencies first.
>         >         >         >
>         >         >         >         I would like to know which
>         versions of
>         >         ivy-c and
>         >         >         >         ivy-ocaml should I use.
>         >         >         >         After building and installing
>         ivy-c 3.9.2
>         >         >         >
>         >
>         
> (http://www.eei.cena.fr/products/ivy/download/packages/ivy-c-3.9.2.tar.gz) or 
> 3.11.4 it was not possible to build ivy-ocaml 1.2.2 
> (http://www.eei.cena.fr/products/ivy/download/packages/ivy-ocaml_1.2.tar.gz). 
> Ivy-c seems outdated.
>         >         >         >
>         >         >         >         Yes, it is a problem of ivy, but
>         i would
>         >         like to ask
>         >         >         >         here if somebody
>         >         >         >         have achieved to build paparazzi
>         in Fedora
>         >         19/20 and
>         >         >         >         which versions from
>         >         >         >         ivy are needed.
>         >         >         >
>         >         >         >         Thanks.
>         >         >         >
>         >         >         >
>         >         >         >
>         >         _______________________________________________
>         >         >         >         Paparazzi-devel mailing list
>         >         >         >         address@hidden
>         >         >         >
>         >
>         https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>         >         >         >
>         >         >         >
>         >         >         >
>         _______________________________________________
>         >         >         > Paparazzi-devel mailing list
>         >         >         > address@hidden
>         >         >         >
>         >
>         https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>         >         >
>         >         >
>         >         >
>         >         >
>         _______________________________________________
>         >         >         Paparazzi-devel mailing list
>         >         >         address@hidden
>         >         >
>         >
>         https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>         >         >
>         >         >
>         >         >
>         >         > _______________________________________________
>         >         > Paparazzi-devel mailing list
>         >         > address@hidden
>         >         >
>         https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>         >
>         >
>         >
>         >         _______________________________________________
>         >         Paparazzi-devel mailing list
>         >         address@hidden
>         >
>         https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>         >
>         >
>         >
>         > _______________________________________________
>         > Paparazzi-devel mailing list
>         > address@hidden
>         > https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
>
>
>         _______________________________________________
>         Paparazzi-devel mailing list
>         address@hidden
>         https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
>
>
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]