Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 March 20, 2008 22:02:23

FRANCISCO E.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] error: sys/types.h


Finally I built a parcial avr-gcc with


../configure --target=avr --disable-nls
--prefix=/usr/local/avr --with-gnu-ld --with-gnu-as
--enable-languages="c,c++" --disable-libssp

I also set the

LD_LIBRARY_PATH=/usr/local/lib


But I disable the libssp because the below error.


I do not like to much set the LD_LIBRARY_PATH
and I hope that the library is no really important.



configure:2813: checking for
/home/paco/D-ELECTRONICA/D-GNU-TOOL/gcc-4.3.0/D-TARGET-AVR3/./gcc/xgcc
-B/home/paco/D-ELECTRONICA/D-GNU-TOOL/gcc-4.3.0/D-TARGET-AVR3/./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 option to accept ANSI C
configure:2883:
/home/paco/D-ELECTRONICA/D-GNU-TOOL/gcc-4.3.0/D-TARGET-AVR3/./gcc/xgcc
-B/home/paco/D-ELECTRONICA/D-GNU-TOOL/gcc-4.3.0/D-TARGET-AVR3/./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 -c -O2 -g -g -O2
conftest.c >&5
conftest.c:13:23: error: sys/types.h: No such file or
directory
conftest.c:14:22: error: sys/stat.h: No such file or
directory


I have the types.h and stat.h in
/usr/include/sys

Francisco Javier Espinola Pozos
FEM SIMULATIONhttp://www.geocities.com/paco_espinolaTelefono

cel 0447221817724
Trabajo 017222795333
Arqueologos 122a misiones Sta esperanza
Toluca



____________________________________________________________________________________
¡Capacidad ilimitada de almacenamiento en tu correo!
No te preocupes más por el espacio de tu cuenta con Correo Yahoo!:http://correo.espanol.yahoo.com/_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

#2 March 22, 2008 08:46:07

Joerg W.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] error: sys/types.h


FRANCISCO ESPINOLA <> wrote:

We don't have an operating system, so there's no sys/types.h.

> But I disable the libssp because the below error.

Which is the correct thing to do. libssp is not supported on the AVR
(and basically, it would only make sense supporting it in an operating
system environment).

So what's your question, are you still running into problems even
without libssp?

Btw., if you build AVR-GCC yourself, you might lack a number of
patches that keep it up to pace with Atmel's development. You might
want to have a look at Bingo600's Linux build script here:http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=42631--
cheers, J"org .-.-. --... ...-- -.. . DL8DTLhttp://www.sax.de/~joerg/NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

Board footer

Moderator control

Enjoy the 16th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support