[maemo-users] Hello World Example Fails

From: Dr. Nicholas Shaw Doc at DocHarley.com
Date: Wed Jul 23 22:01:48 EEST 2008
Thanks, Graham - I'll do that next if what I'm doing doesn't work...

Yes, it was a ARMEL target.  I did create a simple program and compiled it
using gcc - worked fine.  I'm not re-installing the packages.  At the very
least, I'll have real knowledge of the scratchbox after all this...


-----Original Message-----
From: maemo-users-bounces at maemo.org [mailto:maemo-users-bounces at maemo.org]
On Behalf Of Graham Cobb
Sent: Wednesday, July 23, 2008 12:18
To: maemo-users at maemo.org
Subject: Re: Hello World Example Fails

On Wednesday 23 July 2008 18:53:36 Dr. Nicholas Shaw wrote:
> Ok, I DO have scratchbox up-and-running.  Following the installdoc to test
> the new target, everything works up to generating the configure scripts,
> configuring the program, and generating its Makefile.  It goes well until
> the step "checking whether the C compiler works..."  There I get an error,
> "error: cannot run C compiled programs."

You might want to ask on the maemo-developers list -- more developers there.

Is this an ARMEL target or an I386 target?  There are sometimes some 
scratchbox problems with getting the armel targets to actually run armel 
programs (which is what scratchbox is all about, of course).  Most often 
problems with not having scratchbox installed properly but, sometimes, bugs 
in scratchbox, libc, etc.

configure should have created a config.log which might contain an error 
message.  You can also try creating a trivial C program, compiling it and 
running it yourself to see if it works.  The program configure uses is 

main ()

  return 0;

maemo-users mailing list
maemo-users at maemo.org

More information about the maemo-users mailing list