Hi Rolf,

from the text output you posted It seems you selected uclibc instead of 
glibc in the make menuconfig and then you are truing to compile your 
helloworld against glibc.
This could explain the missing headers files.

Please try the following commands:

from the devboard directory:
. ./init_env
make menuconfig
   select your board type
   now select glibc as C library in the relative menu
   exit saving your selections
./configure
make

You should obtain a fimage working on your board (please test it 
flashing the fimage in your Fox)

Now go inside your apps/helloworld_directory
do the following commands:
make cris-axis-linux-gnu
make

You should obtain now the complete compilation.

Please report if you have solved or you have still problems.

Best regards,

Roberto Asquini

Rolf Schumacher ha scritto:
>
> Dear Fox Board Professionals,
>
> I installed the SDK very carefully on my Debian linux machine, several
> times, yet, to be very sure I'm doing anythig correct.
> I'm not aware of anything that I may have overlooked.
> I also tried the install..ubuntu.sh - same result.
>
> However, if I try to compile helloworld.c I still get errors:
>
> [EMAIL PROTECTED]:~/devboard-R2_01/apps/helloworld$ make
> gcc_cris -mlinux -mno-mul-bug-workaround
> -muclibc=/home/fox/devboard-R2_01/target/cris-axis-linux-gnuuclibc -Wall
> -Wshadow -O2 -g -c -o helloworld.o helloworld.c
> In file included from helloworld.c:1:
> /usr/local/cris/lib/gcc-lib/cris-axis-linux-gnu/3.2.1/include/stdio.h:36:23:
> features.h: No such file or directory
> ...
> ...
>
> I tried to undstand Rules.axis in order to find out how gcc_cris gets
> its path to search for include files.
> But I can't without some help.
>
> Any idea, what is wrong in my installation?
> Any idea, what for to look next?
>
>  


Reply via email to