avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] build fails on x86_64 GNU/Linux, missing stddef.h


From: Galen Seitz
Subject: [avr-libc-dev] build fails on x86_64 GNU/Linux, missing stddef.h
Date: Sun, 23 Apr 2006 23:22:47 -0700

I successfully built 1.4.4 on an i386 GNU/Linux Fedora 4 system, but when
I attempt the same build on my x86_64 GNU/Linux CentOS 4.3(RHEL clone), I
get the error shown below.

...snip...
ln gcrt1.o crttn861.o || cp gcrt1.o crttn861.o
make[5]: Leaving directory 
`/home/galens/rpm/BUILD/avr-libc-1.4.4/avr/lib/avr2/attiny861'
make[5]: Entering directory 
`/home/galens/rpm/BUILD/avr-libc-1.4.4/avr/lib/avr2'if avr-gcc -DHAVE_CONFIG_H 
-I. -I. -I../../..  -I../../../common -I../../../include  -g -Wall -W 
-Wstrict-prototypes -mmcu=avr2 -D__COMPILING_AVR_LIBC__ -mcall-prologues -Os  
-MT abs.o -MD -MP -MF ".deps/abs.Tpo" -c -o abs.o ../../../libc/stdlib/abs.c; \
then mv -f ".deps/abs.Tpo" ".deps/abs.Po"; else rm -f ".deps/abs.Tpo"; exit 1; 
fi
In file included from ../../../libc/stdlib/abs.c:29:
../../../include/stdlib.h:47:20: stddef.h: No such file or directory
In file included from ../../../libc/stdlib/abs.c:29:
...

It seems that my x86_64-hosted avr-gcc configuration isn't quite
correct.  avr-gcc wants to look under /usr/lib for include files, but my
avr-gcc configuration put the files under /usr/lib64.  Can someone give
me a hint as to the proper configuration?  For a cross compiler setup 
such as this, should the files be under /usr/lib or /usr/lib64?  What
configuration option controls this?

thanks,
galen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]