helloworld project not working

View: New views
2 Messages — Rating Filter:   Alert me  

helloworld project not working

by Hak-Tae Lee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Finally got through building the gumstix-basic-image.

However, could not get through the helloworld tutorial.

I did everything exactly as the tutorial.

Error message I'm getting is


hello.c:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before string constant


I am running Fedora core 8.

Thanks.

------------------------------------------------------------------------------------------------
[haktae@localhost helloworld]$ bitbake helloworld
NOTE: Handling BitBake files: \ (4956/4956) [100 %]
NOTE: Parsing finished. 4720 cached, 0 parsed, 236 skipped, 0 masked.
NOTE: build 200805202327: started

OE Build Configuration:
BB_VERSION     = "1.8.10"
OE_REVISION    = "<unknown>"
TARGET_ARCH    = "arm"
TARGET_OS      = "linux-gnueabi"
MACHINE        = "gumstix-custom-verdex"
DISTRO         = "angstrom"
DISTRO_VERSION = "2007.9-test-20080521"
TARGET_FPU     = "soft"

NOTE: Resolving any missing task queue dependencies
NOTE: preferred version 2.5 of glibc not available (for item virtual/arm-angstrom-linux-gnueabi-libc-for-gcc)
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 202 of 229 (ID: 7, /home/haktae/gumstix/gumstix-oe/user.collection/packages/helloworld/helloworld_1.0.0.bb, do_compile)
NOTE: package helloworld-1.0.0: started
NOTE: package helloworld-1.0.0-r0: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows (/home/haktae/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/helloworld-1.0.0-r0/temp/log.do_compile.17538)
| hello.c:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before string constant
NOTE: Task failed: /home/haktae/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/helloworld-1.0.0-r0/temp/log.do_compile.17538
NOTE: package helloworld-1.0.0-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package helloworld-1.0.0: failed
ERROR: Build of /home/haktae/gumstix/gumstix-oe/user.collection/packages/helloworld/helloworld_1.0.0.bb do_compile failed
ERROR: Task 7 (/home/haktae/gumstix/gumstix-oe/user.collection/packages/helloworld/helloworld_1.0.0.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 201 tasks of which 201 didn't need to be rerun and 1 failed.
ERROR: '/home/haktae/gumstix/gumstix-oe/user.collection/packages/helloworld/helloworld_1.0.0.bb' failed


     

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Parent Message unknown Re: helloworld project not working

by David Novick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What does your program look like?

 David Novick
dknovick@...


----- Original Message ----
From: Hak-Tae Lee <haktae@...>
To: gumstix-users@...
Sent: Wednesday, May 21, 2008 12:38:42 AM
Subject: [Gumstix-users] helloworld project not working

Finally got through building the gumstix-basic-image.

However, could not get through the helloworld tutorial.

I did everything exactly as the tutorial.

Error message I'm getting is


hello.c:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before string constant


I am running Fedora core 8.

Thanks.

------------------------------------------------------------------------------------------------
[haktae@localhost helloworld]$ bitbake helloworld
NOTE: Handling BitBake files: \ (4956/4956) [100 %]
NOTE: Parsing finished. 4720 cached, 0 parsed, 236 skipped, 0 masked.
NOTE: build 200805202327: started

OE Build Configuration:
BB_VERSION     = "1.8.10"
OE_REVISION    = "<unknown>"
TARGET_ARCH    = "arm"
TARGET_OS      = "linux-gnueabi"
MACHINE        = "gumstix-custom-verdex"
DISTRO         = "angstrom"
DISTRO_VERSION = "2007.9-test-20080521"
TARGET_FPU     = "soft"

NOTE: Resolving any missing task queue dependencies
NOTE: preferred version 2.5 of glibc not available (for item virtual/arm-angstrom-linux-gnueabi-libc-for-gcc)
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 202 of 229 (ID: 7, /home/haktae/gumstix/gumstix-oe/user.collection/packages/helloworld/helloworld_1.0.0.bb, do_compile)
NOTE: package helloworld-1.0.0: started
NOTE: package helloworld-1.0.0-r0: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows (/home/haktae/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/helloworld-1.0.0-r0/temp/log.do_compile.17538)
| hello.c:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before string constant
NOTE: Task failed: /home/haktae/gumstix/gumstix-oe/tmp/work/armv5te-angstrom-linux-gnueabi/helloworld-1.0.0-r0/temp/log.do_compile.17538
NOTE: package helloworld-1.0.0-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package helloworld-1.0.0: failed
ERROR: Build of /home/haktae/gumstix/gumstix-oe/user.collection/packages/helloworld/helloworld_1.0.0.bb do_compile failed
ERROR: Task 7 (/home/haktae/gumstix/gumstix-oe/user.collection/packages/helloworld/helloworld_1.0.0.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 201 tasks of which 201 didn't need to be rerun and 1 failed.
ERROR: '/home/haktae/gumstix/gumstix-oe/user.collection/packages/helloworld/helloworld_1.0.0.bb' failed


     

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users



     

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users