[maemo-developers] Fwd: Program works fine in Scratchbox Chinook but does not work in Nokia N800

From: Dinh Khac Thanh thanhdk at gmail.com
Date: Mon May 26 09:23:07 EEST 2008
Hi,

My program works fine now.
Thank you for your help.

Regards

On Fri, May 23, 2008 at 6:01 PM, Ian Key <ian_key at yahoo.com> wrote:

> Hi,
>
> You will need to modify the target for the following :
>
> Compiler: cs2005q3.2-glibc2.5-arm
> Devkits: debian-sarge cputransp doctools maemo3-tools perl maemo3-debian
> CPU-transparency: /scratchbox/devkits/cputransp/bin/qemu-arm-0.8.2-sb2
>
> If you have no transparancy methods, then use Synaptic Package manager, do
> a serach for scratchbox and install the scratchbox-devkit-cputransp package.
>
> Ian
>
> ----- Original Message ----
> From: Dinh Khac Thanh <thanhdk at gmail.com>
> To: maemo-developers at maemo.org
> Sent: Friday, 23 May, 2008 10:39:40 AM
> Subject: Fwd: Program works fine in Scratchbox Chinook but does not work in
> Nokia N800
>
>
>
> Hi,
>
> Thank you for your reply.
>
> I tried switching to ARM with the  cs2005q3.2-glibc2.5-arm toolchain but
> then when I compiled again, I got this error (in Ubuntu):
> /scratchbox/tools/bin/misc_runner: SBOX_CPUTRANSPARENCY_METHOD not set
> When I ran sb-menu I did not see any transparency method except 'none'. Do
> I need to reinstall Scratchbox? I think some transparency methods is missing
> somehow.
>
> Regards,
> Thanh
>
>
> On Fri, May 23, 2008 at 4:25 PM, Ian Key <ian_key at yahoo.com> wrote:
>
>> Hi,
>>
>> That's the error you get if it was compiled for x86 architecture and
>> running on the ARM. You need the Scratchbox toolchain with the ARMEL
>> toolchain (glibc2.5-armel).
>>
>> Ian
>>
>>
>> ----- Original Message ----
>> From: Dinh Khac Thanh <thanhdk at gmail.com>
>> To: maemo-developers at maemo.org
>> Sent: Friday, 23 May, 2008 9:15:14 AM
>> Subject: Program works fine in Scratchbox Chinook but does not work in
>> Nokia N800
>>
>> Hi everyone,
>>
>> I wrote a simple program in Scratchbox using Hildon and Gtkmm library (on
>> Ubuntu 7.10). Everything worked fine in Scratchbox but after I transferred
>> the  executable to  N800 and tried to run it, this error message appeared:
>> Line 1: syntax error:  "(" unexpected
>>
>> Anyone has any idea why it doesn't work? Thank you very much in advance.
>>
>> --
>> Dinh Khac Thanh
>> Computer Engineering student
>> National University of Singapore
>>
>> ------------------------------
>> Sent from Yahoo! Mail<http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52418/*http://uk.docs.yahoo.com/nowyoucan.html>.
>>
>> A Smarter Email.
>>
>
>
>
> --
> Dinh Khac Thanh
> Computer Engineering student
> National University of Singapore
>
>
>
> --
> Dinh Khac Thanh
> Computer Engineering student
> National University of Singapore
>
> ------------------------------
> Sent from Yahoo! Mail<http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52418/*http://uk.docs.yahoo.com/nowyoucan.html>.
>
> A Smarter Email.
>



-- 
Dinh Khac Thanh
Computer Engineering student
National University of Singapore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20080526/c7e079ba/attachment.htm 
More information about the maemo-developers mailing list