Compile error

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Compile error

Yves Touchette
Hi,

I'm getting this compilation error with the current version from CVS after a
fresh co:

make demo
...
cd sw/ground_segment/wind; make
ocamldep -I ../../lib/ocaml -I +lablgtk2 -I +xml-light *.mli *.ml > .depend
Bad -I option: /usr/lib/ocaml/3.08.3/xml-light: No such file or directory
make[1]: *** [.depend] Error 2
make: *** [wind] Error 2

The strange this is if I re-run make demo right after, it completes the
compilation and runs fine.

make demo
....
cd sw/ground_segment/wind; make
ocamlc -I ../../lib/ocaml -I +lablgtk2 -I +xml-light -c wind.mli
ocamlc -I ../../lib/ocaml -I +lablgtk2 -I +xml-light -o wind xml-light.cma
glibivy-ocaml.cma lablgtk.cma str.cma lib-pprz.cma wind.ml # To check
cat ../../../pprz_src_test.sh > wind
echo 'ocaml -I +lablgtk2 -I $PAPARAZZI_SRC/sw/lib/ocaml -I +xml-light
xml-light.cma glibivy-ocaml.cma lablgtk.cma str.cma lib-pprz.cma
$PAPARAZZI_SRC/sw/ground_segment/wind/wind.ml $*' >> wind
chmod a+x wind


Am I the only one with this issue?

-yvest




_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compile error

kochevar
try cvs update -d

I had this errors, and ended up having to get a fresh install to make it work.
Actually I got this error With the older computer, So I need to know the
solution as well

Anton

Quoting Yves Touchette <[hidden email]>:

> Hi,
>
> I'm getting this compilation error with the current version from CVS after a
> fresh co:
>
> make demo
> ...
> cd sw/ground_segment/wind; make
> ocamldep -I ../../lib/ocaml -I +lablgtk2 -I +xml-light *.mli *.ml > .depend
> Bad -I option: /usr/lib/ocaml/3.08.3/xml-light: No such file or directory
> make[1]: *** [.depend] Error 2
> make: *** [wind] Error 2
>
> The strange this is if I re-run make demo right after, it completes the
> compilation and runs fine.
>
> make demo
> ....
> cd sw/ground_segment/wind; make
> ocamlc -I ../../lib/ocaml -I +lablgtk2 -I +xml-light -c wind.mli
> ocamlc -I ../../lib/ocaml -I +lablgtk2 -I +xml-light -o wind xml-light.cma
> glibivy-ocaml.cma lablgtk.cma str.cma lib-pprz.cma wind.ml # To check
> cat ../../../pprz_src_test.sh > wind
> echo 'ocaml -I +lablgtk2 -I $PAPARAZZI_SRC/sw/lib/ocaml -I +xml-light
> xml-light.cma glibivy-ocaml.cma lablgtk.cma str.cma lib-pprz.cma
> $PAPARAZZI_SRC/sw/ground_segment/wind/wind.ml $*' >> wind
> chmod a+x wind
>
>
> Am I the only one with this issue?
>
> -yvest
>
>
>
>
> _______________________________________________
> Paparazzi-devel mailing list
> [hidden email]
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel





_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compile error

antoine.drouin
In reply to this post by Yves Touchette
My big fault... sorry

It happens that the xml parser that we use for ocaml ( xml-light ) has
finally made it into debian etch and sid, but not at the same place that
when we packaged it. So to make a long story short, on sarge, as a quick
workaround as root, do
mkdir /usr/lib/ocaml/3.08.3/xml-light
while I make a new xml-light package for sarge

sorry

Poine


Yves Touchette wrote:

> Hi,
>
> I'm getting this compilation error with the current version from CVS
> after a fresh co:
>
> make demo
> ...
> cd sw/ground_segment/wind; make
> ocamldep -I ../../lib/ocaml -I +lablgtk2 -I +xml-light *.mli *.ml >
> .depend
> Bad -I option: /usr/lib/ocaml/3.08.3/xml-light: No such file or directory
> make[1]: *** [.depend] Error 2
> make: *** [wind] Error 2
>
> The strange this is if I re-run make demo right after, it completes
> the compilation and runs fine.
>
> make demo
> ....
> cd sw/ground_segment/wind; make
> ocamlc -I ../../lib/ocaml -I +lablgtk2 -I +xml-light -c wind.mli
> ocamlc -I ../../lib/ocaml -I +lablgtk2 -I +xml-light -o wind
> xml-light.cma glibivy-ocaml.cma lablgtk.cma str.cma lib-pprz.cma
> wind.ml # To check
> cat ../../../pprz_src_test.sh > wind
> echo 'ocaml -I +lablgtk2 -I $PAPARAZZI_SRC/sw/lib/ocaml -I +xml-light
> xml-light.cma glibivy-ocaml.cma lablgtk.cma str.cma lib-pprz.cma
> $PAPARAZZI_SRC/sw/ground_segment/wind/wind.ml $*' >> wind
> chmod a+x wind
>
>
> Am I the only one with this issue?
>
> -yvest
>
>
>
>
> _______________________________________________
> Paparazzi-devel mailing list
> [hidden email]
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compile error

Yves Touchette
That works great,

thanks,

-yvest


>From: Antoine <[hidden email]>
>Reply-To: [hidden email]
>To: [hidden email]
>Subject: Re: [Paparazzi-devel] Compile error
>Date: Tue, 08 Aug 2006 22:25:05 +0200
>MIME-Version: 1.0
>Received: from lists.gnu.org ([199.232.76.165]) by
>bay0-mc2-f17.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Tue, 8
>Aug 2006 13:15:25 -0700
>Received: from localhost ([127.0.0.1] helo=lists.gnu.org)by lists.gnu.org
>with esmtp (Exim 4.43)id 1GAXz2-0007L4-QTfor [hidden email];
>Tue, 08 Aug 2006 16:15:24 -0400
>Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)id
>1GAXz1-0007Kn-57for [hidden email]; Tue, 08 Aug 2006 16:15:23
>-0400
>Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)id
>1GAXyy-0007KL-Ivfor [hidden email]; Tue, 08 Aug 2006 16:15:22
>-0400
>Received: from [199.232.76.173] (helo=monty-python.gnu.org)by lists.gnu.org
>with esmtp (Exim 4.43) id 1GAXyy-0007KH-A8for [hidden email];
>Tue, 08 Aug 2006 16:15:20 -0400
>Received: from [216.127.82.43] (helo=ensim.erevia.com)by
>monty-python.gnu.org with esmtps(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim
>4.52) id 1GAY3V-0008Pk-6Yfor [hidden email]; Tue, 08 Aug 2006
>16:20:01 -0400
>Received: from [192.168.1.6]
>(dyn-195-154-43-247.ppp.tiscali.fr[195.154.43.247]) (authenticated (0
>bits))by ensim.erevia.com (8.11.6/8.11.6) with ESMTP id k78KFGY27391for
><[hidden email]>; Tue, 8 Aug 2006 22:15:17 +0200
>X-Message-Info: LsUYwwHHNt3660MmjhEvYg2f34OAemlKtU9j2Z7TuGo=
>User-Agent: Thunderbird 1.5.0.4 (X11/20060713)
>References: <[hidden email]>
>X-BeenThere: [hidden email]
>X-Mailman-Version: 2.1.5
>Precedence: list
>List-Id: paparazzi-devel.nongnu.org
>List-Unsubscribe:
><http://lists.nongnu.org/mailman/listinfo/paparazzi-devel>,
><mailto:[hidden email]?subject=unsubscribe>
>List-Archive: <http://lists.gnu.org/pipermail/paparazzi-devel>
>List-Post: <mailto:[hidden email]>
>List-Help: <mailto:[hidden email]?subject=help>
>List-Subscribe:
><http://lists.nongnu.org/mailman/listinfo/paparazzi-devel>,<mailto:[hidden email]?subject=subscribe>
>Errors-To: paparazzi-devel-bounces+yves_touchette=[hidden email]
>Return-Path: paparazzi-devel-bounces+yves_touchette=[hidden email]
>X-OriginalArrivalTime: 08 Aug 2006 20:15:25.0740 (UTC)
>FILETIME=[628156C0:01C6BB27]
>
>My big fault... sorry
>
>It happens that the xml parser that we use for ocaml ( xml-light ) has
>finally made it into debian etch and sid, but not at the same place that
>when we packaged it. So to make a long story short, on sarge, as a quick
>workaround as root, do
>mkdir /usr/lib/ocaml/3.08.3/xml-light
>while I make a new xml-light package for sarge
>
>sorry
>
>Poine
>
>
>Yves Touchette wrote:
>>Hi,
>>
>>I'm getting this compilation error with the current version from CVS after
>>a fresh co:
>>
>>make demo
>>...
>>cd sw/ground_segment/wind; make
>>ocamldep -I ../../lib/ocaml -I +lablgtk2 -I +xml-light *.mli *.ml >
>>.depend
>>Bad -I option: /usr/lib/ocaml/3.08.3/xml-light: No such file or directory
>>make[1]: *** [.depend] Error 2
>>make: *** [wind] Error 2
>>
>>The strange this is if I re-run make demo right after, it completes the
>>compilation and runs fine.
>>
>>make demo
>>....
>>cd sw/ground_segment/wind; make
>>ocamlc -I ../../lib/ocaml -I +lablgtk2 -I +xml-light -c wind.mli
>>ocamlc -I ../../lib/ocaml -I +lablgtk2 -I +xml-light -o wind xml-light.cma
>>glibivy-ocaml.cma lablgtk.cma str.cma lib-pprz.cma wind.ml # To check
>>cat ../../../pprz_src_test.sh > wind
>>echo 'ocaml -I +lablgtk2 -I $PAPARAZZI_SRC/sw/lib/ocaml -I +xml-light
>>xml-light.cma glibivy-ocaml.cma lablgtk.cma str.cma lib-pprz.cma
>>$PAPARAZZI_SRC/sw/ground_segment/wind/wind.ml $*' >> wind
>>chmod a+x wind
>>
>>
>>Am I the only one with this issue?
>>
>>-yvest
>>
>>
>>
>>
>>_______________________________________________
>>Paparazzi-devel mailing list
>>[hidden email]
>>http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
>
>
>_______________________________________________
>Paparazzi-devel mailing list
>[hidden email]
>http://lists.nongnu.org/mailman/listinfo/paparazzi-devel




_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compile error

kochevar
I figured it was something with sarge, as teh toughbook has etch on it.
  Thanks
poine.  Wanted to do the quad work on the other laptop.

Anton

Quoting Yves Touchette <[hidden email]>:

> That works great,
>
> thanks,
>
> -yvest
>
>
>> From: Antoine <[hidden email]>
>> Reply-To: [hidden email]
>> To: [hidden email]
>> Subject: Re: [Paparazzi-devel] Compile error
>> Date: Tue, 08 Aug 2006 22:25:05 +0200
>> MIME-Version: 1.0
>> Received: from lists.gnu.org ([199.232.76.165]) by
>> bay0-mc2-f17.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444);
>> Tue, 8 Aug 2006 13:15:25 -0700
>> Received: from localhost ([127.0.0.1] helo=lists.gnu.org)by
>> lists.gnu.org with esmtp (Exim 4.43)id 1GAXz2-0007L4-QTfor
>> [hidden email]; Tue, 08 Aug 2006 16:15:24 -0400
>> Received: from mailman by lists.gnu.org with tmda-scanned (Exim
>> 4.43)id 1GAXz1-0007Kn-57for [hidden email]; Tue, 08 Aug
>> 2006 16:15:23 -0400
>> Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)id
>> 1GAXyy-0007KL-Ivfor [hidden email]; Tue, 08 Aug 2006
>> 16:15:22 -0400
>> Received: from [199.232.76.173] (helo=monty-python.gnu.org)by
>> lists.gnu.org with esmtp (Exim 4.43) id 1GAXyy-0007KH-A8for
>> [hidden email]; Tue, 08 Aug 2006 16:15:20 -0400
>> Received: from [216.127.82.43] (helo=ensim.erevia.com)by
>> monty-python.gnu.org with
>> esmtps(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id
>> 1GAY3V-0008Pk-6Yfor [hidden email]; Tue, 08 Aug 2006
>> 16:20:01 -0400
>> Received: from [192.168.1.6]
>> (dyn-195-154-43-247.ppp.tiscali.fr[195.154.43.247]) (authenticated
>> (0 bits))by ensim.erevia.com (8.11.6/8.11.6) with ESMTP id
>> k78KFGY27391for <[hidden email]>; Tue, 8 Aug 2006
>> 22:15:17 +0200
>> X-Message-Info: LsUYwwHHNt3660MmjhEvYg2f34OAemlKtU9j2Z7TuGo=
>> User-Agent: Thunderbird 1.5.0.4 (X11/20060713)
>> References: <[hidden email]>
>> X-BeenThere: [hidden email]
>> X-Mailman-Version: 2.1.5
>> Precedence: list
>> List-Id: paparazzi-devel.nongnu.org
>> List-Unsubscribe:
>> <http://lists.nongnu.org/mailman/listinfo/paparazzi-devel>,
>> <mailto:[hidden email]?subject=unsubscribe>
>> List-Archive: <http://lists.gnu.org/pipermail/paparazzi-devel>
>> List-Post: <mailto:[hidden email]>
>> List-Help: <mailto:[hidden email]?subject=help>
>> List-Subscribe:
>> <http://lists.nongnu.org/mailman/listinfo/paparazzi-devel>,<mailto:[hidden email]?subject=subscribe>
>> Errors-To: paparazzi-devel-bounces+yves_touchette=[hidden email]
>> Return-Path: paparazzi-devel-bounces+yves_touchette=[hidden email]
>> X-OriginalArrivalTime: 08 Aug 2006 20:15:25.0740 (UTC)
>> FILETIME=[628156C0:01C6BB27]
>>
>> My big fault... sorry
>>
>> It happens that the xml parser that we use for ocaml ( xml-light )
>> has finally made it into debian etch and sid, but not at the same
>> place that when we packaged it. So to make a long story short, on
>> sarge, as a quick workaround as root, do
>> mkdir /usr/lib/ocaml/3.08.3/xml-light
>> while I make a new xml-light package for sarge
>>
>> sorry
>>
>> Poine
>>
>>
>> Yves Touchette wrote:
>>> Hi,
>>>
>>> I'm getting this compilation error with the current version from
>>> CVS after a fresh co:
>>>
>>> make demo
>>> ...
>>> cd sw/ground_segment/wind; make
>>> ocamldep -I ../../lib/ocaml -I +lablgtk2 -I +xml-light *.mli *.ml > .depend
>>> Bad -I option: /usr/lib/ocaml/3.08.3/xml-light: No such file or directory
>>> make[1]: *** [.depend] Error 2
>>> make: *** [wind] Error 2
>>>
>>> The strange this is if I re-run make demo right after, it completes
>>> the compilation and runs fine.
>>>
>>> make demo
>>> ....
>>> cd sw/ground_segment/wind; make
>>> ocamlc -I ../../lib/ocaml -I +lablgtk2 -I +xml-light -c wind.mli
>>> ocamlc -I ../../lib/ocaml -I +lablgtk2 -I +xml-light -o wind
>>> xml-light.cma glibivy-ocaml.cma lablgtk.cma str.cma lib-pprz.cma
>>> wind.ml # To check
>>> cat ../../../pprz_src_test.sh > wind
>>> echo 'ocaml -I +lablgtk2 -I $PAPARAZZI_SRC/sw/lib/ocaml -I
>>> +xml-light xml-light.cma glibivy-ocaml.cma lablgtk.cma str.cma
>>> lib-pprz.cma $PAPARAZZI_SRC/sw/ground_segment/wind/wind.ml $*' >>
>>> wind
>>> chmod a+x wind
>>>
>>>
>>> Am I the only one with this issue?
>>>
>>> -yvest
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Paparazzi-devel mailing list
>>> [hidden email]
>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>
>>
>>
>> _______________________________________________
>> Paparazzi-devel mailing list
>> [hidden email]
>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
>
>
>
> _______________________________________________
> Paparazzi-devel mailing list
> [hidden email]
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel





_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: Compile error

Pascal Brisset-3
In reply to this post by antoine.drouin
Salut,

bizarre ocamldep rale à propos de ce répertoire non-existant alors que
ocamlc
ne dit rien. En l'occurrence:
 - cette option -I +xml-light est inutile pour ocamldep
 - ce répertoire sw/ground_segment/wind me semble out of date (wind est
intégré au
serveur dans tmtc/). Je le supprime ?

--Pascal

En l'occurrence

Antoine wrote:

> My big fault... sorry
>
> It happens that the xml parser that we use for ocaml ( xml-light ) has
> finally made it into debian etch and sid, but not at the same place
> that when we packaged it. So to make a long story short, on sarge, as
> a quick workaround as root, do
> mkdir /usr/lib/ocaml/3.08.3/xml-light
> while I make a new xml-light package for sarge
>
> sorry
>
> Poine
>
>
> Yves Touchette wrote:
>
>> Hi,
>>
>> I'm getting this compilation error with the current version from CVS
>> after a fresh co:
>>
>> make demo
>> ...
>> cd sw/ground_segment/wind; make
>> ocamldep -I ../../lib/ocaml -I +lablgtk2 -I +xml-light *.mli *.ml >
>> .depend
>> Bad -I option: /usr/lib/ocaml/3.08.3/xml-light: No such file or
>> directory
>> make[1]: *** [.depend] Error 2
>> make: *** [wind] Error 2
>>
>> The strange this is if I re-run make demo right after, it completes
>> the compilation and runs fine.
>>
>> make demo
>> ....
>> cd sw/ground_segment/wind; make
>> ocamlc -I ../../lib/ocaml -I +lablgtk2 -I +xml-light -c wind.mli
>> ocamlc -I ../../lib/ocaml -I +lablgtk2 -I +xml-light -o wind
>> xml-light.cma glibivy-ocaml.cma lablgtk.cma str.cma lib-pprz.cma
>> wind.ml # To check
>> cat ../../../pprz_src_test.sh > wind
>> echo 'ocaml -I +lablgtk2 -I $PAPARAZZI_SRC/sw/lib/ocaml -I +xml-light
>> xml-light.cma glibivy-ocaml.cma lablgtk.cma str.cma lib-pprz.cma
>> $PAPARAZZI_SRC/sw/ground_segment/wind/wind.ml $*' >> wind
>> chmod a+x wind
>>
>>
>> Am I the only one with this issue?
>>
>> -yvest
>>
>>
>>
>>
>> _______________________________________________
>> Paparazzi-devel mailing list
>> [hidden email]
>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
>
>
>
> _______________________________________________
> Paparazzi-devel mailing list
> [hidden email]
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel




_______________________________________________
Paparazzi-devel mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel