Mailing List Archive

Binary compiled in scratchbox HARMATTAN_ARMEL fails to execute on N950
Hi,

I downloaded telepathy mission control 5.8.0 source from
freedesktop.organd built a deb package using HARMATTAN_ARMEL on
scratchbox. My intention
is to use telepathy-mission-control-5-dbg binary to debug my application.

The compilation was successful and I was able to install the deb on N950.
However, when I run the binary on N950 I get this error:

~ $ /usr/lib/debug/usr/lib/telepathy/mission-control-5
/usr/lib/debug/usr/lib/telepathy/mission-control-5: line 1: syntax error:
unexpected word (expecting ")")

The full output of the command "dpkg-buildpackage -sa -rfakeroot" from
scratchbox is here[1]. I did not pass any custom arguments to configure
script. Also, I am able to compile my/other applications on the same
scratchbox instance and run on device without this error. What am I missing
here?

[1] - http://pastebin.com/uwpQAXbX

- Sudheer
Re: Binary compiled in scratchbox HARMATTAN_ARMEL fails to execute on N950 [ In reply to ]
Hi, Sudheer!

Try the following command
file /usr/lib/debug/usr/lib/telepathy/mission-control-5
and post its output here.

Thanks, Daniil

On Tue, Dec 6, 2011 at 8:15 AM, Sudheer K. <scifi1947@gmail.com> wrote:
> Hi,
>
> I downloaded telepathy mission control 5.8.0 source from freedesktop.org and
> built a deb package using HARMATTAN_ARMEL on scratchbox. My intention is to
> use telepathy-mission-control-5-dbg binary to debug my application.
>
> The compilation was successful and I was able to install the deb on N950.
> However, when I run the binary on N950 I get this error:
>
> ~ $ /usr/lib/debug/usr/lib/telepathy/mission-control-5
> /usr/lib/debug/usr/lib/telepathy/mission-control-5: line 1: syntax error:
> unexpected word (expecting ")")
>
> The full output of the command "dpkg-buildpackage -sa -rfakeroot" from
> scratchbox is here[1].  I did not pass any custom arguments to configure
> script. Also, I am able to compile my/other applications on the same
> scratchbox instance and run on device without this error. What am I missing
> here?
>
> [1] - http://pastebin.com/uwpQAXbX
>
> - Sudheer
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Binary compiled in scratchbox HARMATTAN_ARMEL fails to execute on N950 [ In reply to ]
Hi Daniil,

I knew I was doing something wrong. Thanks for pointing this out.

For the record, I realized that I don't have to use the debug symbols after
all. All I needed was mission-control-5 to print all the debug messages in
the code. Setting the environmental variable *MC_DEBUG=all *and running
/usr/lib/telepathy/mission-control-5 manually forced mission control to
print all the debug messages to syslog.

Thank you
- Sudheer

On Tue, Dec 6, 2011 at 3:06 AM, Daniil Ivanov <daniil.ivanov@gmail.com>wrote:

> By the way /usr/lib/debug/usr/lib/telepathy/mission-control-5 is
> mission control's debug symbols.
> And you seems to "run" them.
>
> ~Daniil
>
> On Tue, Dec 6, 2011 at 11:45 AM, Daniil Ivanov <daniil.ivanov@gmail.com>
> wrote:
> > Hi, Sudheer!
> >
> > Try the following command
> > file /usr/lib/debug/usr/lib/telepathy/mission-control-5
> > and post its output here.
> >
> > Thanks, Daniil
> >
> > On Tue, Dec 6, 2011 at 8:15 AM, Sudheer K. <scifi1947@gmail.com> wrote:
> >> Hi,
> >>
> >> I downloaded telepathy mission control 5.8.0 source from
> freedesktop.org and
> >> built a deb package using HARMATTAN_ARMEL on scratchbox. My intention
> is to
> >> use telepathy-mission-control-5-dbg binary to debug my application.
> >>
> >> The compilation was successful and I was able to install the deb on
> N950.
> >> However, when I run the binary on N950 I get this error:
> >>
> >> ~ $ /usr/lib/debug/usr/lib/telepathy/mission-control-5
> >> /usr/lib/debug/usr/lib/telepathy/mission-control-5: line 1: syntax
> error:
> >> unexpected word (expecting ")")
> >>
> >> The full output of the command "dpkg-buildpackage -sa -rfakeroot" from
> >> scratchbox is here[1]. I did not pass any custom arguments to configure
> >> script. Also, I am able to compile my/other applications on the same
> >> scratchbox instance and run on device without this error. What am I
> missing
> >> here?
> >>
> >> [1] - http://pastebin.com/uwpQAXbX
> >>
> >> - Sudheer
> >>
> >> _______________________________________________
> >> maemo-developers mailing list
> >> maemo-developers@maemo.org
> >> https://lists.maemo.org/mailman/listinfo/maemo-developers
> >>
>