Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

Binary compiled in scratchbox HARMATTAN_ARMEL fails to execute on N950

 

 

Maemo developers RSS feed   Index | Next | Previous | View Threaded


scifi1947 at gmail

Dec 5, 2011, 10:15 PM

Post #1 of 3 (378 views)
Permalink
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


daniil.ivanov at gmail

Dec 6, 2011, 1:45 AM

Post #2 of 3 (357 views)
Permalink
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 [at] gmail> 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 [at] maemo
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
_______________________________________________
maemo-developers mailing list
maemo-developers [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-developers


scifi1947 at gmail

Dec 6, 2011, 11:04 AM

Post #3 of 3 (358 views)
Permalink
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 [at] gmail>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 [at] gmail>
> 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 [at] gmail> 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 [at] maemo
> >> https://lists.maemo.org/mailman/listinfo/maemo-developers
> >>
>

Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.