* [ECOS] Chapter 13. Building and Running Sample Applications
@ 2004-08-22 9:10 luna
2004-08-22 11:59 ` Gary Thomas
0 siblings, 1 reply; 3+ messages in thread
From: luna @ 2004-08-22 9:10 UTC (permalink / raw)
To: ecos-discuss
Hi,
i would like to build the sample application in chapter 13.
i downloaded the pre-built standart tools by eCosCentric Limited
(http://ecos.sourceware.org/getstart.html) -> gcc 3.2.1
my next step was to configure the minimal kernel for my bord with
eCos Config Tool and i follow the instruction in chapter 13.
My promt with the error (powerpc-eabi-gcc (GCC) 3.2.1 (eCosCentric)):
$ powerpc-eabi-gcc -g -I ecos_kernel/minimal_ecos_install/include
application/hello.c -Lecos_kernel/minimal_ecos_install/lib -Ttarget.ld -nostdlib
/ecos-g/DOKUME~1/ecos/LOKALE~1/Temp/ccWb5Zig.o: In function `main':
/home/ecos/ec555_workspace/ecos/application/hello.c:7: undefined reference to
`printf'
collect2: ld returned 1 exit status
My promt with the error (GNU C version 3.4.1 (powerpc-eabi)):
$ /gnutools/bin/powerpc-eabi-gcc -g -I ecos_kernel/minimal_ecos_install/include
application/hello.c -Lecos_kernel/minimal_ecos_install/lib -Ttarget.ld -nostdlib
/ecos-g/DOKUME~1/ecos/LOKALE~1/Temp/ccW6G3NF.o(.text+0x20): In function `main':
application/hello.c:7: undefined reference to `printf'
collect2: ld returned 1 exit status
the verbose mode of gcc doesnt tell me more. so i change the prinf to
diag_printf. now i can compile my sample project.
has someone an idea to remove my error?
Greez Patrick Baumgartner
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] Chapter 13. Building and Running Sample Applications
2004-08-22 9:10 [ECOS] Chapter 13. Building and Running Sample Applications luna
@ 2004-08-22 11:59 ` Gary Thomas
2004-08-22 15:01 ` luna
0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2004-08-22 11:59 UTC (permalink / raw)
To: luna; +Cc: ecos-discuss
On Sun, 2004-08-22 at 03:07, luna wrote:
> Hi,
>
> i would like to build the sample application in chapter 13.
>
> i downloaded the pre-built standart tools by eCosCentric Limited
> (http://ecos.sourceware.org/getstart.html) -> gcc 3.2.1
>
> my next step was to configure the minimal kernel for my bord with
> eCos Config Tool and i follow the instruction in chapter 13.
The 'printf()' function would not be included in the packages used
by a minimal kernel. Try building a more complete kernel library,
the default for example.
>
> My promt with the error (powerpc-eabi-gcc (GCC) 3.2.1 (eCosCentric)):
>
> $ powerpc-eabi-gcc -g -I ecos_kernel/minimal_ecos_install/include
> application/hello.c -Lecos_kernel/minimal_ecos_install/lib -Ttarget.ld -nostdlib
> /ecos-g/DOKUME~1/ecos/LOKALE~1/Temp/ccWb5Zig.o: In function `main':
> /home/ecos/ec555_workspace/ecos/application/hello.c:7: undefined reference to
> `printf'
> collect2: ld returned 1 exit status
>
> My promt with the error (GNU C version 3.4.1 (powerpc-eabi)):
>
> $ /gnutools/bin/powerpc-eabi-gcc -g -I ecos_kernel/minimal_ecos_install/include
> application/hello.c -Lecos_kernel/minimal_ecos_install/lib -Ttarget.ld -nostdlib
> /ecos-g/DOKUME~1/ecos/LOKALE~1/Temp/ccW6G3NF.o(.text+0x20): In function `main':
> application/hello.c:7: undefined reference to `printf'
> collect2: ld returned 1 exit status
>
> the verbose mode of gcc doesnt tell me more. so i change the prinf to
> diag_printf. now i can compile my sample project.
>
> has someone an idea to remove my error?
>
> Greez Patrick Baumgartner
>
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] Chapter 13. Building and Running Sample Applications
2004-08-22 11:59 ` Gary Thomas
@ 2004-08-22 15:01 ` luna
0 siblings, 0 replies; 3+ messages in thread
From: luna @ 2004-08-22 15:01 UTC (permalink / raw)
Cc: ecos-discuss
Thank you! Your hint fixed my error!
Greez Patrick Baumgartner
Gary Thomas <gary@mlbassoc.com>:
> On Sun, 2004-08-22 at 03:07, luna wrote:
> > Hi,
> >
> > i would like to build the sample application in chapter 13.
> >
> > i downloaded the pre-built standart tools by eCosCentric Limited
> > (http://ecos.sourceware.org/getstart.html) -> gcc 3.2.1
> >
> > my next step was to configure the minimal kernel for my bord with
> > eCos Config Tool and i follow the instruction in chapter 13.
>
> The 'printf()' function would not be included in the packages used
> by a minimal kernel. Try building a more complete kernel library,
> the default for example.
>
> >
> > My promt with the error (powerpc-eabi-gcc (GCC) 3.2.1 (eCosCentric)):
> >
> > $ powerpc-eabi-gcc -g -I ecos_kernel/minimal_ecos_install/include
> > application/hello.c -Lecos_kernel/minimal_ecos_install/lib -Ttarget.ld
> -nostdlib
> > /ecos-g/DOKUME~1/ecos/LOKALE~1/Temp/ccWb5Zig.o: In function `main':
> > /home/ecos/ec555_workspace/ecos/application/hello.c:7: undefined reference
> to
> > `printf'
> > collect2: ld returned 1 exit status
> >
> > My promt with the error (GNU C version 3.4.1 (powerpc-eabi)):
> >
> > $ /gnutools/bin/powerpc-eabi-gcc -g -I
> ecos_kernel/minimal_ecos_install/include
> > application/hello.c -Lecos_kernel/minimal_ecos_install/lib -Ttarget.ld
> -nostdlib
> > /ecos-g/DOKUME~1/ecos/LOKALE~1/Temp/ccW6G3NF.o(.text+0x20): In function
> `main':
> > application/hello.c:7: undefined reference to `printf'
> > collect2: ld returned 1 exit status
> >
> > the verbose mode of gcc doesnt tell me more. so i change the prinf to
> > diag_printf. now i can compile my sample project.
> >
> > has someone an idea to remove my error?
> >
> > Greez Patrick Baumgartner
> >
> --
> Gary Thomas <gary@mlbassoc.com>
> MLB Associates
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-08-22 15:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-22 9:10 [ECOS] Chapter 13. Building and Running Sample Applications luna
2004-08-22 11:59 ` Gary Thomas
2004-08-22 15:01 ` luna
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).