avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Error making avr-gcc (compiling libssp/ssp.c)


From: Erik Christiansen
Subject: Re: [avr-gcc-list] Error making avr-gcc (compiling libssp/ssp.c)
Date: Fri, 15 Dec 2006 13:45:35 +1100
User-agent: Mutt/1.5.9i

On Thu, Dec 14, 2006 at 06:21:07PM -0800, Rick Mann wrote:
> /Users/rmann/Projects/AVR/gcc/gcc-4.1.1/darwin/./gcc/xgcc -B/Users/ 
> rmann/Projects/AVR/gcc/gcc-4.1.1/darwin/./gcc/ -B/usr/local/avr/avr/ 
> bin/ -B/usr/local/avr/avr/lib/ -isystem /usr/local/avr/avr/include - 
> isystem /usr/local/avr/avr/sys-include -DHAVE_CONFIG_H -I. -I../../../ 
> libssp -I. -Wall -O2 -g -O2 -MT ssp.lo -MD -MP -MF .deps/ssp.Tpo - 
> c ../../../libssp/ssp.c -o ssp.o
> ../../../libssp/ssp.c: In function '__guard_setup':
> ../../../libssp/ssp.c:70: warning: implicit declaration of function  
> 'open'
> ../../../libssp/ssp.c:70: error: 'O_RDONLY' undeclared (first use in  
> this function)
> ../../../libssp/ssp.c:70: error: (Each undeclared identifier is  
> reported only once
> ../../../libssp/ssp.c:70: error: for each function it appears in.)
> ../../../libssp/ssp.c:73: error: 'ssize_t' undeclared (first use in  
> this function)

Looks a bit like the system headers are not in either of the directories
you've specified, or any default path. Have you tried adding the
-print-search-dirs option, to show where it's looking? You can then
compare with a place you do have system headers. ;)

If that doesn't do it, I'd run the new compiler with only -v, to check
its frame of mind.

hth,

Erik




reply via email to

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