paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Paparazzi-devel Digest, Vol 112, Issue 22


From: alonso acuña
Subject: Re: [Paparazzi-devel] Paparazzi-devel Digest, Vol 112, Issue 22
Date: Tue, 9 Jul 2013 18:24:03 -0600

Hello Felix. I upgraded ocaml and some other libraries and now I get a clean make of paparazzi. However when building inside of the Paparazzi Center I get errors like

paparazzi/var/Microjet/generated/modules.h:146:2: error: invalid preprocessing directive #PCDATA

paparazzi/var/Microjet/generated/airframe.h:1:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token



ocamlc -version
   4.00.1
uname -a
   Linux tecram11 2.6.34.13alon #1 SMP PREEMPT Tue Feb 12 10:48:05 CST 2013 i686 i686 i386 GNU/Linux


 
Date: Tue, 9 Jul 2013 14:46:47 +0200
From: Felix Ruess <address@hidden>
To: Paparazzi devel list <address@hidden>
Subject: Re: [Paparazzi-devel] Problem compiling
Message-ID:
        <CAEc+GFczUFD1=address@hidden>
Content-Type: text/plain; charset="utf-8"

Hi Alonso,

Since you are using v5.0 it shouldn't try to build input2ivy in custom
mode... removing the function calls that are not found will of course
render the joystick interface unusable.

This might have something to do with your OCaml version.
Can you please provide some more details about your system?

ocamlc -version
uname -a

And post the full verbose build output of joystick:
cd sw/ground_segment/joystick
make clean
make Q=''

Cheers, Felix


On Tue, Jul 9, 2013 at 12:17 PM, alonso <address@hidden> wrote:

>  Hello. I am trying to learn Paparazzi and have just installed it but I am
> having some trouble. The initial make had some issues
>
> OC input2ivy.ml
> OL input2ivy
> /tmp//ccoeQJCE.o:(.data+0x7d8): undefined reference to `ml_stick_read'
> /tmp//ccoeQJCE.o:(.data+0x7dc): undefined reference to `ml_stick_init'
> collect2: ld returned 1 exit status
> File "_none_", line 1, characters 0-1:
> Error: Error while building custom runtime system
> make[1]: *** [input2ivy] Error 2
> make: *** [joystick] Error 2
>
>
> I had to edit input2ivy.ml in order to remove calls to those funtions,
> then I managed to complete the make.
>
> Now when I run
>
> make AIRCRAFT=Microjet sim Q=''
>
> I get the output below. I read in some other message that the above
> command could be usefull in order to debug this problem but I don't really
> know what I am doing yet.
> I am using Mandriva Linux which I understand is not supported but perhaps
> this is not too complicated to fix?
>
> Thanks
>
> Alonso Acu?a
>
>
>

reply via email to

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