eraj007 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

utility/w5100.c errors when starting arduino 0015 #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. start arduino0015
2. watch output

What is the expected output? What do you see instead?

proppy@kakarichou:~/Desktop/arduino-0015$ ./arduino 
Experimental:  JNI_OnLoad called.
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7

utility/w5100.c:30:19: error: stdio.h: No such file or directory
utility/w5100.c:31:20: error: string.h: No such file or directory
utility/w5100.c:33:27: error: avr/interrupt.h: No such file or directory
In file included from utility/w5100.c:36:
utility/types.h:19:26: error: avr/pgmspace.h: No such file or directory
utility/w5100.c: In function ‘IINCHIP_WRITE’:
utility/w5100.c:112: error: ‘DDRB’ undeclared (first use in this function)
utility/w5100.c:112: error: (Each undeclared identifier is reported only once
utility/w5100.c:112: error: for each function it appears in.)
utility/w5100.c:112: error: ‘PORTB’ undeclared (first use in this function)
utility/w5100.c:112: error: ‘SPCR’ undeclared (first use in this function)
utility/w5100.c:117: error: ‘SPDR’ undeclared (first use in this function)
utility/w5100.c:117: error: ‘SPSR’ undeclared (first use in this function)
utility/w5100.c: In function ‘IINCHIP_READ’:
utility/w5100.c:154: error: ‘DDRB’ undeclared (first use in this function)
utility/w5100.c:154: error: ‘PORTB’ undeclared (first use in this function)
utility/w5100.c:154: error: ‘SPCR’ undeclared (first use in this function)
utility/w5100.c:157: error: ‘SPDR’ undeclared (first use in this function)
utility/w5100.c:157: error: ‘SPSR’ undeclared (first use in this function)
utility/w5100.c: In function ‘wiz_write_buf’:
utility/w5100.c:194: error: ‘DDRB’ undeclared (first use in this function)
utility/w5100.c:194: error: ‘PORTB’ undeclared (first use in this function)
utility/w5100.c:194: error: ‘SPCR’ undeclared (first use in this function)
utility/w5100.c:201: error: ‘SPDR’ undeclared (first use in this function)
utility/w5100.c:201: error: ‘SPSR’ undeclared (first use in this function)
utility/w5100.c: In function ‘wiz_read_buf’:
utility/w5100.c:237: error: ‘DDRB’ undeclared (first use in this function)
utility/w5100.c:237: error: ‘PORTB’ undeclared (first use in this function)
utility/w5100.c:237: error: ‘SPCR’ undeclared (first use in this function)
utility/w5100.c:243: error: ‘SPDR’ undeclared (first use in this function)
utility/w5100.c:243: error: ‘SPSR’ undeclared (first use in this function)

What version of the Arduino software are you using? On what operating
system?

0015 on Ubuntu GNU/Linux Jaunty 9.04

Original issue reported on code.google.com by pro...@gmail.com on 23 May 2009 at 12:12

GoogleCodeExporter commented 9 years ago
apt-get install avr-libc fixed this issue

Original comment by pro...@gmail.com on 23 May 2009 at 2:35

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 23 May 2009 at 3:53