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

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

Re: [avr-gcc-list] AVR environment on Solaris 10


From: Andreas Höschler
Subject: Re: [avr-gcc-list] AVR environment on Solaris 10
Date: Tue, 1 Dec 2009 21:27:42 +0100

Hi all,


The build is still in progess, so no success so far.

        cd /usr/src
        gunzip binutils-2.20.tar.gz
        tar xvf binutils-2.20.tar
        cd binutils-2.20
        ./configure --target=avr --prefix=/usr/local/avr
        make
        make install

        cd /usr/src
        bunzip2 gcc-4.3.3.tar.bz2
        gtar xvf gcc-4.3.3.tar
        cd gcc-4.3.3
        mkdir objdir
        cd objdir
        ../configure --target=avr --prefix=/usr/local/avr --enable-languages=c
        make
        make install
Ah, but no failure yet either! ;-)

In the meanwhile I got a failure trying this on Solaris 10:

" -c -o ssp.lo ../../../libssp/ssp.c; \
then mv -f ".deps/ssp.Tpo" ".deps/ssp.Plo"; else rm -f ".deps/ssp.Tpo"; exit 1; fi libtool: compile: /usr/src/gcc-4.3.3/objdir/./gcc/xgcc -B/usr/src/gcc-4.3.3/objdir/./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 -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)
../../../libssp/ssp.c:73: error: expected ';' before 'size'
../../../libssp/ssp.c:75: warning: implicit declaration of function 'close' ../../../libssp/ssp.c:76: error: 'size' undeclared (first use in this function)
../../../libssp/ssp.c: At top level:
../../../libssp/ssp.c:89: error: expected declaration specifiers or '...' before 'size_t'
../../../libssp/ssp.c: In function 'fail':
../../../libssp/ssp.c:100: error: 'O_WRONLY' undeclared (first use in this function) ../../../libssp/ssp.c:104: error: 'size_t' undeclared (first use in this function)
../../../libssp/ssp.c:104: error: expected ';' before 'progname_len'
../../../libssp/ssp.c:107: error: 'progname_len' undeclared (first use in this function) ../../../libssp/ssp.c:107: warning: implicit declaration of function 'strlen' ../../../libssp/ssp.c:107: warning: incompatible implicit declaration of built-in function 'strlen' ../../../libssp/ssp.c:108: error: 'len' undeclared (first use in this function) ../../../libssp/ssp.c:108: error: 'msg1len' undeclared (first use in this function) ../../../libssp/ssp.c:109: warning: implicit declaration of function 'alloca' ../../../libssp/ssp.c:109: warning: incompatible implicit declaration of built-in function 'alloca' ../../../libssp/ssp.c:111: warning: implicit declaration of function 'memcpy' ../../../libssp/ssp.c:111: warning: incompatible implicit declaration of built-in function 'memcpy' ../../../libssp/ssp.c:119: error: 'ssize_t' undeclared (first use in this function)
../../../libssp/ssp.c:119: error: expected ';' before 'wrote'
../../../libssp/ssp.c:120: error: 'wrote' undeclared (first use in this function) ../../../libssp/ssp.c:151: warning: implicit declaration of function '_exit' ../../../libssp/ssp.c:151: warning: incompatible implicit declaration of built-in function '_exit'
../../../libssp/ssp.c: In function '__stack_chk_fail':
../../../libssp/ssp.c:161: warning: incompatible implicit declaration of built-in function 'strlen' ../../../libssp/ssp.c:161: warning: passing argument 2 of 'fail' makes pointer from integer without a cast
../../../libssp/ssp.c:161: error: too many arguments to function 'fail'
../../../libssp/ssp.c: In function '__chk_fail':
../../../libssp/ssp.c:168: warning: incompatible implicit declaration of built-in function 'strlen' ../../../libssp/ssp.c:168: warning: passing argument 2 of 'fail' makes pointer from integer without a cast
../../../libssp/ssp.c:168: error: too many arguments to function 'fail'
make[2]: *** [ssp.lo] Error 1
make[2]: Leaving directory `/usr/share/src/gcc-4.3.3/objdir/avr/libssp'
make[1]: *** [install-target-libssp] Error 2
make[1]: Leaving directory `/usr/share/src/gcc-4.3.3/objdir'
make: *** [install] Error 2

Any idea?

Thanks,

 Andreas





reply via email to

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