[PP] version.h [CC] target/ipodnano4g/crt0.S [CC] target/ipodnano4g/mmu.c In file included from target/ipodnano4g/mmu.c:24: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory make: *** [build/ipodnano4g/./target/ipodnano4g/mmu.o] Error 1 [CC] target/ipodnano4g/lcd.S [CC] target/ipodnano4g/timer.c In file included from target/ipodnano4g/timer.c:24: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory In file included from target/ipodnano4g/timer.c:25: ./timer.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'read_native_timer' ./timer.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'read_usec_timer' In file included from ./thread.h:29, from target/ipodnano4g/timer.c:26: ./contextswitch.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'enter_critical_section' ./contextswitch.h:35: error: expected ')' before 'mode' In file included from target/ipodnano4g/timer.c:26: ./thread.h:76: error: expected specifier-qualifier-list before 'uint32_t' target/ipodnano4g/timer.c: In function 'setup_tick': target/ipodnano4g/timer.c:34: error: expected ')' before 'uint32_t' target/ipodnano4g/timer.c:34: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/timer.c:35: error: expected ')' before 'uint32_t' target/ipodnano4g/timer.c:35: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/timer.c:36: error: expected ')' before 'uint32_t' target/ipodnano4g/timer.c:36: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/timer.c:37: error: expected ')' before 'uint32_t' target/ipodnano4g/timer.c:37: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/timer.c:38: error: expected ')' before 'uint32_t' target/ipodnano4g/timer.c:38: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/timer.c:39: error: expected ')' before 'uint32_t' target/ipodnano4g/timer.c:39: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/timer.c:40: error: expected ')' before 'uint32_t' target/ipodnano4g/timer.c:40: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/timer.c:41: error: expected ')' before 'uint32_t' target/ipodnano4g/timer.c:41: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/timer.c:44: error: expected ')' before 'uint32_t' target/ipodnano4g/timer.c:44: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/timer.c:45: error: expected ')' before 'uint32_t' target/ipodnano4g/timer.c:45: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/timer.c:50: error: expected ')' before 'uint32_t' target/ipodnano4g/timer.c:50: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/timer.c:51: error: expected ')' before 'uint32_t' target/ipodnano4g/timer.c:51: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/timer.c: In function 'INT_TIMERB': target/ipodnano4g/timer.c:56: error: expected ')' before 'uint32_t' target/ipodnano4g/timer.c:56: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/timer.c:56: error: expected ')' before 'uint32_t' target/ipodnano4g/timer.c:56: error: invalid type argument of 'unary *' (have 'int') make: *** [build/ipodnano4g/./target/ipodnano4g/timer.o] Error 1 [CC] target/ipodnano4g/i2c.c In file included from target/ipodnano4g/i2c.c:24: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory In file included from target/ipodnano4g/i2c.c:25: ./i2c.h:32: error: expected ')' before 'bus' ./i2c.h:33: error: expected ')' before 'bus' ./i2c.h:34: error: expected ')' before 'bus' ./i2c.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'i2c_recvbyte' In file included from ./thread.h:29, from target/ipodnano4g/i2c.c:26: ./contextswitch.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'enter_critical_section' ./contextswitch.h:35: error: expected ')' before 'mode' In file included from target/ipodnano4g/i2c.c:26: ./thread.h:76: error: expected specifier-qualifier-list before 'uint32_t' target/ipodnano4g/i2c.c:38: error: expected ')' before 'bus' target/ipodnano4g/i2c.c:66: error: expected ')' before 'bus' target/ipodnano4g/i2c.c:99: error: expected ')' before 'bus' target/ipodnano4g/i2c.c:106: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'i2c_recvbyte' make: *** [build/ipodnano4g/./target/ipodnano4g/i2c.o] Error 1 [CC] target/ipodnano4g/interrupt.c In file included from target/ipodnano4g/interrupt.c:24: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory target/ipodnano4g/interrupt.c: In function 'INT_TIMER': target/ipodnano4g/interrupt.c:120: error: expected ')' before 'uint32_t' target/ipodnano4g/interrupt.c:120: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/interrupt.c:121: error: expected ')' before 'uint32_t' target/ipodnano4g/interrupt.c:121: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/interrupt.c:122: error: expected ')' before 'uint32_t' target/ipodnano4g/interrupt.c:122: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/interrupt.c:123: error: expected ')' before 'uint32_t' target/ipodnano4g/interrupt.c:123: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/interrupt.c:124: error: expected ')' before 'uint32_t' target/ipodnano4g/interrupt.c:124: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/interrupt.c:125: error: expected ')' before 'uint32_t' target/ipodnano4g/interrupt.c:125: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/interrupt.c:126: error: expected ')' before 'uint32_t' target/ipodnano4g/interrupt.c:126: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/interrupt.c:127: error: expected ')' before 'uint32_t' target/ipodnano4g/interrupt.c:127: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/interrupt.c: In function 'irqhandler': target/ipodnano4g/interrupt.c:144: error: 'uint32_t' undeclared (first use in this function) target/ipodnano4g/interrupt.c:144: error: (Each undeclared identifier is reported only once target/ipodnano4g/interrupt.c:144: error: for each function it appears in.) target/ipodnano4g/interrupt.c:144: error: expected ';' before 'dummy' target/ipodnano4g/interrupt.c:145: error: 'dummy' undeclared (first use in this function) target/ipodnano4g/interrupt.c:145: error: expected ')' before 'uint32_t' target/ipodnano4g/interrupt.c:145: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/interrupt.c:146: error: expected ';' before 'irqs0' target/ipodnano4g/interrupt.c:147: error: expected ';' before 'irqs1' target/ipodnano4g/interrupt.c:148: error: 'irqs0' undeclared (first use in this function) target/ipodnano4g/interrupt.c:151: error: 'irqs1' undeclared (first use in this function) target/ipodnano4g/interrupt.c:154: error: expected ')' before 'uint32_t' target/ipodnano4g/interrupt.c:154: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/interrupt.c:155: error: expected ')' before 'uint32_t' target/ipodnano4g/interrupt.c:155: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/interrupt.c: In function 'interrupt_enable': target/ipodnano4g/interrupt.c:160: error: expected ')' before 'uint32_t' target/ipodnano4g/interrupt.c:160: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/interrupt.c:161: error: expected ')' before 'uint32_t' target/ipodnano4g/interrupt.c:161: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/interrupt.c: In function 'interrupt_init': target/ipodnano4g/interrupt.c:178: error: expected ')' before 'uint32_t' target/ipodnano4g/interrupt.c:178: error: invalid type argument of 'unary *' (have 'int') make: *** [build/ipodnano4g/./target/ipodnano4g/interrupt.o] Error 1 [CC] target/ipodnano4g/power.c In file included from target/ipodnano4g/power.c:24: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory make: *** [build/ipodnano4g/./target/ipodnano4g/power.o] Error 1 [CC] target/ipodnano4g/accel.c In file included from target/ipodnano4g/accel.c:24: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory In file included from target/ipodnano4g/accel.c:25: ./i2c.h:32: error: expected ')' before 'bus' ./i2c.h:33: error: expected ')' before 'bus' ./i2c.h:34: error: expected ')' before 'bus' ./i2c.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'i2c_recvbyte' target/ipodnano4g/accel.c:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'accel_get_axis' make: *** [build/ipodnano4g/./target/ipodnano4g/accel.o] Error 1 [CC] target/ipodnano4g/backlight.c In file included from target/ipodnano4g/backlight.c:24: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory In file included from target/ipodnano4g/backlight.c:25: ./i2c.h:32: error: expected ')' before 'bus' ./i2c.h:33: error: expected ')' before 'bus' ./i2c.h:34: error: expected ')' before 'bus' ./i2c.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'i2c_recvbyte' target/ipodnano4g/backlight.c:27: error: expected ')' before 'brightness' target/ipodnano4g/backlight.c:33: error: expected ')' before 'fade' target/ipodnano4g/backlight.c:38: error: expected ')' before 'fade' make: *** [build/ipodnano4g/./target/ipodnano4g/backlight.o] Error 1 [CC] target/ipodnano4g/clockgates.c In file included from target/ipodnano4g/clockgates.c:24: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory target/ipodnano4g/clockgates.c: In function 'clockgate_enable': target/ipodnano4g/clockgates.c:30: error: expected ')' before 'uint32_t' target/ipodnano4g/clockgates.c:30: error: invalid type argument of 'unary *' (have 'int') target/ipodnano4g/clockgates.c:31: error: expected ')' before 'uint32_t' target/ipodnano4g/clockgates.c:31: error: invalid type argument of 'unary *' (have 'int') make: *** [build/ipodnano4g/./target/ipodnano4g/clockgates.o] Error 1 [CC] usb/synopsysotg.c In file included from usb/synopsysotg.c:24: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory In file included from ./thread.h:29, from usb/synopsysotg.c:28: ./contextswitch.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'enter_critical_section' ./contextswitch.h:35: error: expected ')' before 'mode' In file included from usb/synopsysotg.c:28: ./thread.h:76: error: expected specifier-qualifier-list before 'uint32_t' In file included from usb/synopsysotg.c:29: ./timer.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'read_native_timer' ./timer.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'read_usec_timer' In file included from usb/usb.h:29, from usb/synopsysotg.c:30: usb/usb_ch9.h:149: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:206: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:215: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:269: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:292: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:306: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:324: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:355: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:372: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:386: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:438: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:451: error: expected specifier-qualifier-list before 'uint16_t' In file included from usb/synopsysotg.c:33: ./util.h:133: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap16' ./util.h:142: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap32' ./util.h:155: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap_odd_even32' usb/synopsysotg.c: In function 'usb_drv_port_speed': usb/synopsysotg.c:53: error: expected ')' before 'uint32_t' usb/synopsysotg.c:53: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c: In function 'reset_endpoints': usb/synopsysotg.c:67: error: expected ')' before 'uint32_t' usb/synopsysotg.c:67: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:68: error: expected ')' before 'uint32_t' usb/synopsysotg.c:68: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:69: error: expected ')' before 'uint32_t' usb/synopsysotg.c:69: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:71: error: expected ')' before 'uint32_t' usb/synopsysotg.c:71: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:71: error: 'uint32_t' undeclared (first use in this function) usb/synopsysotg.c:71: error: (Each undeclared identifier is reported only once usb/synopsysotg.c:71: error: for each function it appears in.) usb/synopsysotg.c:72: error: expected ')' before 'uint32_t' usb/synopsysotg.c:72: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:78: error: expected ')' before 'uint32_t' usb/synopsysotg.c:78: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:80: error: expected ')' before 'uint32_t' usb/synopsysotg.c:80: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:82: error: expected ')' before 'uint32_t' usb/synopsysotg.c:82: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:84: error: expected ')' before 'uint32_t' usb/synopsysotg.c:84: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:89: error: expected ')' before 'uint32_t' usb/synopsysotg.c:89: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:89: error: expected ')' before 'uint32_t' usb/synopsysotg.c:89: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:90: error: expected ')' before 'uint32_t' usb/synopsysotg.c:90: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:90: error: expected ')' before 'uint32_t' usb/synopsysotg.c:90: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:91: error: expected ')' before 'uint32_t' usb/synopsysotg.c:91: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:91: error: expected ')' before 'uint32_t' usb/synopsysotg.c:91: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:92: error: expected ')' before 'uint32_t' usb/synopsysotg.c:92: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:92: error: expected ')' before 'uint32_t' usb/synopsysotg.c:92: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:94: error: expected ')' before 'uint32_t' usb/synopsysotg.c:94: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c: In function 'usb_drv_request_endpoint': usb/synopsysotg.c:99: error: 'size_t' undeclared (first use in this function) usb/synopsysotg.c:99: error: expected ';' before 'ep' usb/synopsysotg.c:102: error: 'ep' undeclared (first use in this function) usb/synopsysotg.c:111: error: 'uint32_t' undeclared (first use in this function) usb/synopsysotg.c:111: error: expected ';' before 'newbits' usb/synopsysotg.c:112: error: expected ')' before 'uint32_t' usb/synopsysotg.c:112: error: expected ')' before 'uint32_t' usb/synopsysotg.c:112: error: 'newbits' undeclared (first use in this function) usb/synopsysotg.c:113: error: expected ')' before 'uint32_t' usb/synopsysotg.c:113: error: expected ')' before 'uint32_t' usb/synopsysotg.c: In function 'usb_reset': usb/synopsysotg.c:135: error: expected ')' before 'uint32_t' usb/synopsysotg.c:135: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:137: error: expected ')' before 'uint32_t' usb/synopsysotg.c:137: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:138: error: expected ')' before 'uint32_t' usb/synopsysotg.c:138: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:139: error: expected ')' before 'uint32_t' usb/synopsysotg.c:139: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:140: error: expected ')' before 'uint32_t' usb/synopsysotg.c:140: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:141: error: expected ')' before 'uint32_t' usb/synopsysotg.c:141: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:143: error: expected ')' before 'uint32_t' usb/synopsysotg.c:143: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:145: error: expected ')' before 'uint32_t' usb/synopsysotg.c:145: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:146: error: expected ')' before 'uint32_t' usb/synopsysotg.c:146: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:147: error: expected ')' before 'uint32_t' usb/synopsysotg.c:147: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:149: error: expected ')' before 'uint32_t' usb/synopsysotg.c:149: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:150: error: expected ')' before 'uint32_t' usb/synopsysotg.c:150: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:151: error: expected ')' before 'uint32_t' usb/synopsysotg.c:151: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:152: error: expected ')' before 'uint32_t' usb/synopsysotg.c:152: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:154: error: expected ')' before 'uint32_t' usb/synopsysotg.c:154: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:155: error: expected ')' before 'uint32_t' usb/synopsysotg.c:155: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:156: error: expected ')' before 'uint32_t' usb/synopsysotg.c:156: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:157: error: expected ')' before 'uint32_t' usb/synopsysotg.c:157: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:158: error: expected ')' before 'uint32_t' usb/synopsysotg.c:158: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:159: error: expected ')' before 'uint32_t' usb/synopsysotg.c:159: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c: In function 'INT_USB_FUNC': usb/synopsysotg.c:168: error: 'uint32_t' undeclared (first use in this function) usb/synopsysotg.c:168: error: expected ';' before 'ints' usb/synopsysotg.c:169: error: expected ';' before 'epints' usb/synopsysotg.c:170: error: 'ints' undeclared (first use in this function) usb/synopsysotg.c:172: error: expected ')' before 'uint32_t' usb/synopsysotg.c:172: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:180: error: expected ';' before 'maxpacket' usb/synopsysotg.c:181: error: expected ')' before 'uint32_t' usb/synopsysotg.c:181: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:181: error: expected ')' before 'uint32_t' usb/synopsysotg.c:181: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:181: error: 'maxpacket' undeclared (first use in this function) usb/synopsysotg.c:182: error: expected ')' before 'uint32_t' usb/synopsysotg.c:182: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:182: error: expected ')' before 'uint32_t' usb/synopsysotg.c:182: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:183: error: expected ')' before 'uint32_t' usb/synopsysotg.c:183: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:183: error: expected ')' before 'uint32_t' usb/synopsysotg.c:183: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:184: error: expected ')' before 'uint32_t' usb/synopsysotg.c:184: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:184: error: expected ')' before 'uint32_t' usb/synopsysotg.c:184: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:189: error: 'epints' undeclared (first use in this function) usb/synopsysotg.c:189: error: expected ')' before 'uint32_t' usb/synopsysotg.c:189: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:194: error: expected ')' before 'uint32_t' usb/synopsysotg.c:194: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:216: error: expected ')' before 'uint32_t' usb/synopsysotg.c:216: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:221: error: expected ')' before 'uint32_t' usb/synopsysotg.c:221: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:226: error: expected ')' before 'uint32_t' usb/synopsysotg.c:226: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:247: error: expected ')' before 'uint32_t' usb/synopsysotg.c:247: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:248: error: expected ')' before 'uint32_t' usb/synopsysotg.c:248: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:249: error: expected ')' before 'uint32_t' usb/synopsysotg.c:249: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:251: error: expected ')' before 'uint32_t' usb/synopsysotg.c:251: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:254: error: expected ')' before 'uint32_t' usb/synopsysotg.c:254: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c: In function 'usb_drv_set_address': usb/synopsysotg.c:259: error: expected ')' before 'uint32_t' usb/synopsysotg.c:259: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:259: error: expected ')' before 'uint32_t' usb/synopsysotg.c:259: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c: In function 'ep_send': usb/synopsysotg.c:266: error: expected ')' before 'uint32_t' usb/synopsysotg.c:266: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:271: error: expected ')' before 'uint32_t' usb/synopsysotg.c:271: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:272: error: expected ')' before 'uint32_t' usb/synopsysotg.c:272: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:276: error: expected ')' before 'uint32_t' usb/synopsysotg.c:276: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:277: error: expected ')' before 'uint32_t' usb/synopsysotg.c:277: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:277: error: 'uint32_t' undeclared (first use in this function) usb/synopsysotg.c:277: error: expected ';' before 'ptr' usb/synopsysotg.c:280: error: expected ')' before 'uint32_t' usb/synopsysotg.c:280: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c: In function 'ep_recv': usb/synopsysotg.c:287: error: expected ')' before 'uint32_t' usb/synopsysotg.c:287: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:288: error: expected ')' before 'uint32_t' usb/synopsysotg.c:288: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:293: error: expected ')' before 'uint32_t' usb/synopsysotg.c:293: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:294: error: expected ')' before 'uint32_t' usb/synopsysotg.c:294: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:298: error: expected ')' before 'uint32_t' usb/synopsysotg.c:298: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:299: error: expected ')' before 'uint32_t' usb/synopsysotg.c:299: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:299: error: 'uint32_t' undeclared (first use in this function) usb/synopsysotg.c:299: error: expected ';' before 'ptr' usb/synopsysotg.c:302: error: expected ')' before 'uint32_t' usb/synopsysotg.c:302: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c: In function 'usb_drv_cancel_all_transfers': usb/synopsysotg.c:329: error: 'uint32_t' undeclared (first use in this function) usb/synopsysotg.c:329: error: expected ';' before 'mode' usb/synopsysotg.c:331: error: 'mode' undeclared (first use in this function) usb/synopsysotg.c: In function 'usb_drv_stalled': usb/synopsysotg.c:336: error: expected ')' before 'uint32_t' usb/synopsysotg.c:336: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:337: error: expected ')' before 'uint32_t' usb/synopsysotg.c:337: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c: In function 'usb_drv_stall': usb/synopsysotg.c:344: error: expected ')' before 'uint32_t' usb/synopsysotg.c:344: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:345: error: expected ')' before 'uint32_t' usb/synopsysotg.c:345: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:349: error: expected ')' before 'uint32_t' usb/synopsysotg.c:349: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c:350: error: expected ')' before 'uint32_t' usb/synopsysotg.c:350: error: invalid type argument of 'unary *' (have 'int') usb/synopsysotg.c: In function 'usb_drv_init': usb/synopsysotg.c:363: error: expected ')' before 'uint32_t' usb/synopsysotg.c:363: error: invalid type argument of 'unary *' (have 'int') make: *** [build/ipodnano4g/./usb/synopsysotg.o] Error 1 [CC] arm/arm-support.S [CC] arm/contextswitch.S [CC] init.c In file included from init.c:24: global.h:42:19: error: errno.h: No such file or directory global.h:43:22: error: inttypes.h: No such file or directory global.h:44:18: error: math.h: No such file or directory global.h:45:20: error: stdint.h: No such file or directory global.h:46:20: error: stdlib.h: No such file or directory global.h:47:20: error: string.h: No such file or directory global.h:48:23: error: sys/types.h: No such file or directory In file included from thread.h:29, from init.c:25: contextswitch.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'enter_critical_section' contextswitch.h:35: error: expected ')' before 'mode' In file included from init.c:25: thread.h:76: error: expected specifier-qualifier-list before 'uint32_t' In file included from init.c:26: console.h:35: error: expected declaration specifiers or '...' before 'size_t' console.h:41: error: expected declaration specifiers or '...' before 'size_t' console.h:42: error: expected declaration specifiers or '...' before 'size_t' In file included from init.c:29: ucl.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ucl_decompress' In file included from init.c:30: util.h:133: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap16' util.h:142: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap32' util.h:155: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap_odd_even32' In file included from init.c:31: execimage.h:37: error: expected specifier-qualifier-list before 'uint32_t' In file included from init.c:34: lcdconsole.h:42: error: expected declaration specifiers or '...' before 'size_t' lcdconsole.h:45: error: expected declaration specifiers or '...' before 'size_t' In file included from init.c:37: i2c.h:32: error: expected ')' before 'bus' i2c.h:33: error: expected ')' before 'bus' i2c.h:34: error: expected ')' before 'bus' i2c.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'i2c_recvbyte' In file included from usb/usb.h:29, from init.c:40: usb/usb_ch9.h:149: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:206: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:215: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:269: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:292: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:306: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:324: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:355: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:372: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:386: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:438: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:451: error: expected specifier-qualifier-list before 'uint16_t' init.c:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'initstack' init.c: In function 'boot': init.c:144: error: 'uint32_t' undeclared (first use in this function) init.c:144: error: (Each undeclared identifier is reported only once init.c:144: error: for each function it appears in.) init.c:144: error: expected expression before ')' token init.c:150: warning: incompatible implicit declaration of built-in function 'memcpy' init.c: In function 'init': init.c:196: error: 'initstack' undeclared (first use in this function) make: *** [build/ipodnano4g/./init.o] Error 1 [CC] util.c In file included from util.c:24: global.h:42:19: error: errno.h: No such file or directory global.h:43:22: error: inttypes.h: No such file or directory global.h:44:18: error: math.h: No such file or directory global.h:45:20: error: stdint.h: No such file or directory global.h:46:20: error: stdlib.h: No such file or directory global.h:47:20: error: string.h: No such file or directory global.h:48:23: error: sys/types.h: No such file or directory In file included from util.c:25: util.h:133: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap16' util.h:142: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap32' util.h:155: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap_odd_even32' make: *** [build/ipodnano4g/./util.o] Error 1 [CC] drawing.S [CC] lcdconsole.c In file included from lcdconsole.c:24: global.h:42:19: error: errno.h: No such file or directory global.h:43:22: error: inttypes.h: No such file or directory global.h:44:18: error: math.h: No such file or directory global.h:45:20: error: stdint.h: No such file or directory global.h:46:20: error: stdlib.h: No such file or directory global.h:47:20: error: string.h: No such file or directory global.h:48:23: error: sys/types.h: No such file or directory In file included from lcdconsole.c:25: lcdconsole.h:42: error: expected declaration specifiers or '...' before 'size_t' lcdconsole.h:45: error: expected declaration specifiers or '...' before 'size_t' In file included from lcdconsole.c:27: util.h:133: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap16' util.h:142: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap32' util.h:155: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap_odd_even32' In file included from lcdconsole.c:28: contextswitch.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'enter_critical_section' contextswitch.h:35: error: expected ')' before 'mode' lcdconsole.c: In function 'lcdconsole_init': lcdconsole.c:48: warning: incompatible implicit declaration of built-in function 'memset' lcdconsole.c: In function 'lcdconsole_putc_noblit': lcdconsole.c:77: warning: incompatible implicit declaration of built-in function 'memcpy' lcdconsole.c:79: warning: incompatible implicit declaration of built-in function 'memset' lcdconsole.c: At top level: lcdconsole.c:92: error: expected declaration specifiers or '...' before 'size_t' lcdconsole.c: In function 'lcdconsole_write_noblit': lcdconsole.c:94: error: 'length' undeclared (first use in this function) lcdconsole.c:94: error: (Each undeclared identifier is reported only once lcdconsole.c:94: error: for each function it appears in.) lcdconsole.c: In function 'lcdconsole_update': lcdconsole.c:99: error: 'uint32_t' undeclared (first use in this function) lcdconsole.c:99: error: expected ';' before 'mode' lcdconsole.c:103: error: 'mode' undeclared (first use in this function) lcdconsole.c: At top level: lcdconsole.c:122: error: expected declaration specifiers or '...' before 'size_t' lcdconsole.c: In function 'lcdconsole_write': lcdconsole.c:124: error: 'length' undeclared (first use in this function) make: *** [build/ipodnano4g/./lcdconsole.o] Error 1 [CC] format.c In file included from format.c:23: global.h:42:19: error: errno.h: No such file or directory global.h:43:22: error: inttypes.h: No such file or directory global.h:44:18: error: math.h: No such file or directory global.h:45:20: error: stdint.h: No such file or directory global.h:46:20: error: stdlib.h: No such file or directory global.h:47:20: error: string.h: No such file or directory global.h:48:23: error: sys/types.h: No such file or directory format.c: In function 'format': format.c:175: warning: incompatible implicit declaration of built-in function 'strlen' make: *** [build/ipodnano4g/./format.o] Error 1 [CC] panic.c In file included from panic.c:24: global.h:42:19: error: errno.h: No such file or directory global.h:43:22: error: inttypes.h: No such file or directory global.h:44:18: error: math.h: No such file or directory global.h:45:20: error: stdint.h: No such file or directory global.h:46:20: error: stdlib.h: No such file or directory global.h:47:20: error: string.h: No such file or directory global.h:48:23: error: sys/types.h: No such file or directory In file included from panic.c:27: lcdconsole.h:42: error: expected declaration specifiers or '...' before 'size_t' lcdconsole.h:45: error: expected declaration specifiers or '...' before 'size_t' In file included from panic.c:28: console.h:35: error: expected declaration specifiers or '...' before 'size_t' console.h:41: error: expected declaration specifiers or '...' before 'size_t' console.h:42: error: expected declaration specifiers or '...' before 'size_t' In file included from thread.h:29, from panic.c:30: contextswitch.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'enter_critical_section' contextswitch.h:35: error: expected ')' before 'mode' In file included from panic.c:30: thread.h:76: error: expected specifier-qualifier-list before 'uint32_t' panic.c: In function 'handle_panic': panic.c:45: error: 'uint32_t' undeclared (first use in this function) panic.c:45: error: (Each undeclared identifier is reported only once panic.c:45: error: for each function it appears in.) panic.c:45: error: expected ';' before 'mode' panic.c:47: error: 'struct scheduler_thread' has no member named 'type' panic.c:48: error: 'struct scheduler_thread' has no member named 'state' panic.c:49: error: 'struct scheduler_thread' has no member named 'state' panic.c:50: error: 'struct scheduler_thread' has no member named 'block_type' panic.c:51: error: 'mode' undeclared (first use in this function) panic.c: In function 'panicf': panic.c:92: error: 'NULL' undeclared (first use in this function) make: *** [build/ipodnano4g/./panic.o] Error 1 [CC] console.c In file included from console.c:24: global.h:42:19: error: errno.h: No such file or directory global.h:43:22: error: inttypes.h: No such file or directory global.h:44:18: error: math.h: No such file or directory global.h:45:20: error: stdint.h: No such file or directory global.h:46:20: error: stdlib.h: No such file or directory global.h:47:20: error: string.h: No such file or directory global.h:48:23: error: sys/types.h: No such file or directory In file included from console.c:25: console.h:35: error: expected declaration specifiers or '...' before 'size_t' console.h:41: error: expected declaration specifiers or '...' before 'size_t' console.h:42: error: expected declaration specifiers or '...' before 'size_t' In file included from console.c:26: lcdconsole.h:42: error: expected declaration specifiers or '...' before 'size_t' lcdconsole.h:45: error: expected declaration specifiers or '...' before 'size_t' In file included from console.c:27: usb/dbgconsole.h:33: error: expected declaration specifiers or '...' before 'size_t' usb/dbgconsole.h:35: error: expected declaration specifiers or '...' before 'size_t' In file included from thread.h:29, from console.c:29: contextswitch.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'enter_critical_section' contextswitch.h:35: error: expected ')' before 'mode' In file included from console.c:29: thread.h:76: error: expected specifier-qualifier-list before 'uint32_t' console.c:37: error: expected specifier-qualifier-list before 'size_t' console.c: In function 'cprfunc': console.c:66: error: 'struct for_cprintf' has no member named 'bytes' console.c: In function 'cprintf': console.c:76: error: 'struct for_cprintf' has no member named 'bytes' console.c:84: error: 'struct for_cprintf' has no member named 'bytes' console.c: In function 'cvprintf': console.c:92: error: 'struct for_cprintf' has no member named 'bytes' console.c:98: error: 'struct for_cprintf' has no member named 'bytes' console.c: At top level: console.c:120: error: expected declaration specifiers or '...' before 'size_t' console.c: In function 'cwrite': console.c:124: error: 'length' undeclared (first use in this function) console.c:124: error: (Each undeclared identifier is reported only once console.c:124: error: for each function it appears in.) console.c:124: error: too many arguments to function 'lcdconsole_write' console.c:127: error: too many arguments to function 'dbgconsole_write' console.c: At top level: console.c:151: error: expected declaration specifiers or '...' before 'size_t' console.c: In function 'cread': console.c:156: error: 'length' undeclared (first use in this function) console.c:156: error: too many arguments to function 'dbgconsole_read' console.c: At top level: console.c:161: error: expected declaration specifiers or '...' before 'size_t' console.c: In function 'creada': console.c:165: error: 'length' undeclared (first use in this function) console.c:168: error: too many arguments to function 'dbgconsole_read' make: *** [build/ipodnano4g/./console.o] Error 1 [CC] ucl.S [CC] thread.c In file included from thread.c:24: global.h:42:19: error: errno.h: No such file or directory global.h:43:22: error: inttypes.h: No such file or directory global.h:44:18: error: math.h: No such file or directory global.h:45:20: error: stdint.h: No such file or directory global.h:46:20: error: stdlib.h: No such file or directory global.h:47:20: error: string.h: No such file or directory global.h:48:23: error: sys/types.h: No such file or directory In file included from thread.h:29, from thread.c:25: contextswitch.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'enter_critical_section' contextswitch.h:35: error: expected ')' before 'mode' In file included from thread.c:25: thread.h:76: error: expected specifier-qualifier-list before 'uint32_t' In file included from thread.c:26: timer.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'read_native_timer' timer.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'read_usec_timer' In file included from thread.c:28: util.h:133: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap16' util.h:142: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap32' util.h:155: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap_odd_even32' thread.c:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'last_tick' thread.c: In function 'mutex_init': thread.c:44: warning: incompatible implicit declaration of built-in function 'memset' thread.c: In function 'mutex_add_to_queue': thread.c:50: error: 'struct scheduler_thread' has no member named 'priority' thread.c:50: error: 'struct scheduler_thread' has no member named 'priority' thread.c:52: error: 'struct scheduler_thread' has no member named 'queue_next' thread.c:58: error: 'struct scheduler_thread' has no member named 'queue_next' thread.c:58: error: 'struct scheduler_thread' has no member named 'queue_next' thread.c:58: error: 'struct scheduler_thread' has no member named 'priority' thread.c:59: error: 'struct scheduler_thread' has no member named 'queue_next' thread.c:60: error: 'struct scheduler_thread' has no member named 'queue_next' thread.c:60: error: 'struct scheduler_thread' has no member named 'queue_next' thread.c:61: error: 'struct scheduler_thread' has no member named 'queue_next' thread.c: In function 'mutex_remove_from_queue': thread.c:69: error: 'struct scheduler_thread' has no member named 'queue_next' thread.c:73: error: 'struct scheduler_thread' has no member named 'queue_next' thread.c:75: error: 'struct scheduler_thread' has no member named 'queue_next' thread.c:75: error: 'struct scheduler_thread' has no member named 'queue_next' thread.c:75: error: 'struct scheduler_thread' has no member named 'queue_next' thread.c:76: error: 'struct scheduler_thread' has no member named 'queue_next' thread.c: In function 'mutex_lock': thread.c:85: error: 'uint32_t' undeclared (first use in this function) thread.c:85: error: (Each undeclared identifier is reported only once thread.c:85: error: for each function it appears in.) thread.c:85: error: expected ';' before 'mode' thread.c:97: error: 'struct scheduler_thread' has no member named 'state' thread.c:98: error: 'struct scheduler_thread' has no member named 'block_type' thread.c:99: error: 'struct scheduler_thread' has no member named 'blocked_by' thread.c:100: error: 'struct scheduler_thread' has no member named 'timeout' thread.c:101: error: 'struct scheduler_thread' has no member named 'blocked_since' thread.c:103: error: 'mode' undeclared (first use in this function) thread.c: In function 'mutex_unlock': thread.c:118: error: 'uint32_t' undeclared (first use in this function) thread.c:118: error: expected ';' before 'mode' thread.c:122: error: 'mode' undeclared (first use in this function) thread.c:137: error: 'struct scheduler_thread' has no member named 'state' thread.c:138: error: 'struct scheduler_thread' has no member named 'block_type' thread.c:139: error: 'struct scheduler_thread' has no member named 'blocked_by' thread.c:140: error: 'struct scheduler_thread' has no member named 'timeout' thread.c:141: error: 'struct scheduler_thread' has no member named 'queue_next' thread.c: In function 'wakeup_init': thread.c:150: warning: incompatible implicit declaration of built-in function 'memset' thread.c: In function 'wakeup_wait': thread.c:156: error: 'uint32_t' undeclared (first use in this function) thread.c:156: error: expected ';' before 'mode' thread.c:160: error: 'mode' undeclared (first use in this function) thread.c:169: error: 'struct scheduler_thread' has no member named 'state' thread.c:170: error: 'struct scheduler_thread' has no member named 'block_type' thread.c:171: error: 'struct scheduler_thread' has no member named 'blocked_by' thread.c:172: error: 'struct scheduler_thread' has no member named 'timeout' thread.c:173: error: 'struct scheduler_thread' has no member named 'blocked_since' thread.c: In function 'wakeup_signal': thread.c:192: error: 'uint32_t' undeclared (first use in this function) thread.c:192: error: expected ';' before 'mode' thread.c:197: error: 'struct scheduler_thread' has no member named 'state' thread.c:198: error: 'struct scheduler_thread' has no member named 'block_type' thread.c:199: error: 'struct scheduler_thread' has no member named 'blocked_by' thread.c:200: error: 'struct scheduler_thread' has no member named 'timeout' thread.c:204: error: 'mode' undeclared (first use in this function) thread.c: In function 'sleep': thread.c:212: error: 'uint32_t' undeclared (first use in this function) thread.c:212: error: expected ';' before 'mode' thread.c:213: error: 'struct scheduler_thread' has no member named 'state' thread.c:214: error: 'struct scheduler_thread' has no member named 'block_type' thread.c:215: error: 'struct scheduler_thread' has no member named 'timeout' thread.c:216: error: 'struct scheduler_thread' has no member named 'blocked_since' thread.c:217: error: 'mode' undeclared (first use in this function) thread.c: In function 'scheduler_init': thread.c:224: warning: incompatible implicit declaration of built-in function 'memset' thread.c:226: error: 'last_tick' undeclared (first use in this function) thread.c:228: error: 'struct scheduler_thread' has no member named 'state' thread.c:229: error: 'struct scheduler_thread' has no member named 'startusec' thread.c:230: error: 'struct scheduler_thread' has no member named 'name' thread.c:231: error: 'struct scheduler_thread' has no member named 'stack' thread.c:231: error: 'uint32_t' undeclared (first use in this function) thread.c:231: error: expected expression before ')' token thread.c: In function 'scheduler_switch': thread.c:245: error: 'uint32_t' undeclared (first use in this function) thread.c:245: error: expected ';' before 'score' thread.c:246: error: expected ';' before 'usec' thread.c:247: error: 'struct scheduler_thread' has no member named 'state' thread.c:247: error: 'struct scheduler_thread' has no member named 'state' thread.c:248: error: 'struct scheduler_thread' has no member named 'cputime_total' thread.c:248: error: 'usec' undeclared (first use in this function) thread.c:248: error: 'struct scheduler_thread' has no member named 'startusec' thread.c:249: error: 'struct scheduler_thread' has no member named 'cputime_current' thread.c:249: error: 'struct scheduler_thread' has no member named 'startusec' thread.c:250: error: 'struct scheduler_thread' has no member named 'stack' thread.c:250: error: 'struct scheduler_thread' has no member named 'stack' thread.c:253: error: 'struct scheduler_thread' has no member named 'type' thread.c:254: error: 'struct scheduler_thread' has no member named 'state' thread.c:255: error: 'struct scheduler_thread' has no member named 'state' thread.c:256: error: 'struct scheduler_thread' has no member named 'block_type' thread.c:260: error: 'last_tick' undeclared (first use in this function) thread.c:265: error: 'struct scheduler_thread' has no member named 'cpuload' thread.c:265: error: 'struct scheduler_thread' has no member named 'cputime_current' thread.c:266: error: 'struct scheduler_thread' has no member named 'cputime_current' thread.c:274: error: 'struct scheduler_thread' has no member named 'state' thread.c:275: error: 'struct scheduler_thread' has no member named 'timeout' thread.c:276: error: 'struct scheduler_thread' has no member named 'blocked_since' thread.c:276: error: 'struct scheduler_thread' has no member named 'timeout' thread.c:279: error: 'struct scheduler_thread' has no member named 'block_type' thread.c:280: error: 'struct scheduler_thread' has no member named 'blocked_by' thread.c:282: error: 'struct scheduler_thread' has no member named 'state' thread.c:283: error: 'struct scheduler_thread' has no member named 'block_type' thread.c:284: error: 'struct scheduler_thread' has no member named 'blocked_by' thread.c:285: error: 'struct scheduler_thread' has no member named 'timeout' thread.c:288: error: 'struct scheduler_thread' has no member named 'state' thread.c:293: error: 'best' undeclared (first use in this function) thread.c:295: error: 'struct scheduler_thread' has no member named 'state' thread.c:295: error: 'struct scheduler_thread' has no member named 'priority' thread.c:297: error: 'score' undeclared (first use in this function) thread.c:297: error: 'struct scheduler_thread' has no member named 'cputime_current' thread.c:297: error: 'struct scheduler_thread' has no member named 'priority' thread.c:308: error: 'struct scheduler_thread' has no member named 'state' thread.c:309: error: 'struct scheduler_thread' has no member named 'startusec' thread.c: In function 'thread_create': thread.c:318: error: 'uint32_t' undeclared (first use in this function) thread.c:318: error: expected expression before ')' token thread.c:320: error: expected ';' before 'mode' thread.c:323: error: 'struct scheduler_thread' has no member named 'state' thread.c:326: warning: incompatible implicit declaration of built-in function 'memset' thread.c:327: error: 'struct scheduler_thread' has no member named 'state' thread.c:328: error: 'struct scheduler_thread' has no member named 'type' thread.c:329: error: 'struct scheduler_thread' has no member named 'name' thread.c:330: error: 'struct scheduler_thread' has no member named 'priority' thread.c:331: error: 'struct scheduler_thread' has no member named 'cpsr' thread.c:332: error: 'struct scheduler_thread' has no member named 'regs' thread.c:332: error: expected ';' before 'code' thread.c:333: error: 'struct scheduler_thread' has no member named 'regs' thread.c:333: error: expected ';' before 'thread_exit' thread.c:334: error: 'struct scheduler_thread' has no member named 'regs' thread.c:334: error: expected ';' before 'stack' thread.c:335: error: 'struct scheduler_thread' has no member named 'stack' thread.c:339: error: 'mode' undeclared (first use in this function) thread.c: In function 'thread_suspend': thread.c:348: error: 'uint32_t' undeclared (first use in this function) thread.c:348: error: expected ';' before 'mode' thread.c:352: error: 'struct scheduler_thread' has no member named 'state' thread.c:353: error: 'struct scheduler_thread' has no member named 'state' thread.c:356: error: 'struct scheduler_thread' has no member named 'state' thread.c:357: error: 'struct scheduler_thread' has no member named 'state' thread.c:359: error: 'struct scheduler_thread' has no member named 'block_type' thread.c:361: error: 'struct scheduler_thread' has no member named 'timeout' thread.c:361: error: 'struct scheduler_thread' has no member named 'timeout' thread.c:361: error: 'struct scheduler_thread' has no member named 'blocked_since' thread.c:363: error: 'struct scheduler_thread' has no member named 'block_type' thread.c:365: error: 'struct scheduler_thread' has no member named 'blocked_by' thread.c:366: error: 'struct scheduler_thread' has no member named 'timeout' thread.c:366: error: 'struct scheduler_thread' has no member named 'timeout' thread.c:366: error: 'struct scheduler_thread' has no member named 'blocked_since' thread.c:368: error: 'struct scheduler_thread' has no member named 'block_type' thread.c:370: error: 'struct scheduler_thread' has no member named 'timeout' thread.c:370: error: 'struct scheduler_thread' has no member named 'timeout' thread.c:370: error: 'struct scheduler_thread' has no member named 'blocked_since' thread.c:373: error: 'struct scheduler_thread' has no member named 'state' thread.c:376: error: 'mode' undeclared (first use in this function) thread.c: In function 'thread_resume': thread.c:388: error: 'uint32_t' undeclared (first use in this function) thread.c:388: error: expected ';' before 'mode' thread.c:392: error: 'struct scheduler_thread' has no member named 'state' thread.c:393: error: 'struct scheduler_thread' has no member named 'state' thread.c:396: error: 'struct scheduler_thread' has no member named 'block_type' thread.c:397: error: 'struct scheduler_thread' has no member named 'blocked_since' thread.c:398: error: 'struct scheduler_thread' has no member named 'block_type' thread.c:400: error: 'struct scheduler_thread' has no member named 'blocked_by' thread.c:401: error: 'struct scheduler_thread' has no member named 'blocked_since' thread.c:402: error: 'struct scheduler_thread' has no member named 'state' thread.c:404: error: 'struct scheduler_thread' has no member named 'block_type' thread.c:406: error: 'struct scheduler_thread' has no member named 'blocked_since' thread.c:407: error: 'struct scheduler_thread' has no member named 'state' thread.c:409: error: 'struct scheduler_thread' has no member named 'state' thread.c:412: error: 'mode' undeclared (first use in this function) thread.c: In function 'thread_terminate': thread.c:421: error: 'uint32_t' undeclared (first use in this function) thread.c:421: error: expected ';' before 'mode' thread.c:425: error: 'struct scheduler_thread' has no member named 'state' thread.c:428: error: 'struct scheduler_thread' has no member named 'state' thread.c:429: error: 'struct scheduler_thread' has no member named 'state' thread.c:431: error: 'struct scheduler_thread' has no member named 'block_type' thread.c:432: error: 'struct scheduler_thread' has no member named 'blocked_by' thread.c:433: error: 'struct scheduler_thread' has no member named 'block_type' thread.c:434: error: 'struct scheduler_thread' has no member named 'blocked_by' thread.c:436: error: 'struct scheduler_thread' has no member named 'state' thread.c:443: error: 'mode' undeclared (first use in this function) thread.c: In function '__errno': thread.c:457: error: 'struct scheduler_thread' has no member named 'err_no' make: *** [build/ipodnano4g/./thread.o] Error 1 [CC] usb/usb.c In file included from usb/usb.c:24: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory In file included from usb/usb.h:29, from usb/usb.c:26: usb/usb_ch9.h:149: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:206: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:215: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:269: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:292: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:306: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:324: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:355: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:372: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:386: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:438: error: expected specifier-qualifier-list before 'uint8_t' usb/usb_ch9.h:451: error: expected specifier-qualifier-list before 'uint16_t' In file included from ./thread.h:29, from usb/usb.c:29: ./contextswitch.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'enter_critical_section' ./contextswitch.h:35: error: expected ')' before 'mode' In file included from usb/usb.c:29: ./thread.h:76: error: expected specifier-qualifier-list before 'uint32_t' In file included from usb/usb.c:30: ./console.h:35: error: expected declaration specifiers or '...' before 'size_t' ./console.h:41: error: expected declaration specifiers or '...' before 'size_t' ./console.h:42: error: expected declaration specifiers or '...' before 'size_t' In file included from usb/usb.c:31: ./util.h:133: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap16' ./util.h:142: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap32' ./util.h:155: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap_odd_even32' In file included from usb/usb.c:36: ./execimage.h:37: error: expected specifier-qualifier-list before 'uint32_t' In file included from usb/usb.c:38: ./i2c.h:32: error: expected ')' before 'bus' ./i2c.h:33: error: expected ')' before 'bus' ./i2c.h:34: error: expected ')' before 'bus' ./i2c.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'i2c_recvbyte' usb/usb.c:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ctrlresp' usb/usb.c:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dbgrecvbuf' usb/usb.c:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dbgsendbuf' usb/usb.c:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dbgasyncsendbuf' usb/usb.c:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dbgstack' usb/usb.c:95: error: unknown field 'bLength' specified in initializer usb/usb.c:95: warning: excess elements in struct initializer usb/usb.c:95: warning: (near initialization for 'device_descriptor') usb/usb.c:96: error: unknown field 'bDescriptorType' specified in initializer usb/usb.c:96: warning: excess elements in struct initializer usb/usb.c:96: warning: (near initialization for 'device_descriptor') usb/usb.c:97: error: unknown field 'bcdUSB' specified in initializer usb/usb.c:97: warning: excess elements in struct initializer usb/usb.c:97: warning: (near initialization for 'device_descriptor') usb/usb.c:98: error: unknown field 'bDeviceClass' specified in initializer usb/usb.c:98: warning: excess elements in struct initializer usb/usb.c:98: warning: (near initialization for 'device_descriptor') usb/usb.c:99: error: unknown field 'bDeviceSubClass' specified in initializer usb/usb.c:99: warning: excess elements in struct initializer usb/usb.c:99: warning: (near initialization for 'device_descriptor') usb/usb.c:100: error: unknown field 'bDeviceProtocol' specified in initializer usb/usb.c:100: warning: excess elements in struct initializer usb/usb.c:100: warning: (near initialization for 'device_descriptor') usb/usb.c:101: error: unknown field 'bMaxPacketSize0' specified in initializer usb/usb.c:101: warning: excess elements in struct initializer usb/usb.c:101: warning: (near initialization for 'device_descriptor') usb/usb.c:102: error: unknown field 'idVendor' specified in initializer usb/usb.c:102: warning: excess elements in struct initializer usb/usb.c:102: warning: (near initialization for 'device_descriptor') usb/usb.c:103: error: unknown field 'idProduct' specified in initializer usb/usb.c:103: warning: excess elements in struct initializer usb/usb.c:103: warning: (near initialization for 'device_descriptor') usb/usb.c:104: error: unknown field 'bcdDevice' specified in initializer usb/usb.c:104: warning: excess elements in struct initializer usb/usb.c:104: warning: (near initialization for 'device_descriptor') usb/usb.c:105: error: unknown field 'iManufacturer' specified in initializer usb/usb.c:105: warning: excess elements in struct initializer usb/usb.c:105: warning: (near initialization for 'device_descriptor') usb/usb.c:106: error: unknown field 'iProduct' specified in initializer usb/usb.c:106: warning: excess elements in struct initializer usb/usb.c:106: warning: (near initialization for 'device_descriptor') usb/usb.c:107: error: unknown field 'iSerialNumber' specified in initializer usb/usb.c:107: warning: excess elements in struct initializer usb/usb.c:107: warning: (near initialization for 'device_descriptor') usb/usb.c:108: error: unknown field 'bNumConfigurations' specified in initializer usb/usb.c:109: warning: excess elements in struct initializer usb/usb.c:109: warning: (near initialization for 'device_descriptor') usb/usb.c:123: error: unknown field 'bLength' specified in initializer usb/usb.c:123: warning: excess elements in struct initializer usb/usb.c:123: warning: (near initialization for 'config_bundle.config_descriptor') usb/usb.c:124: error: unknown field 'bDescriptorType' specified in initializer usb/usb.c:124: warning: excess elements in struct initializer usb/usb.c:124: warning: (near initialization for 'config_bundle.config_descriptor') usb/usb.c:125: error: unknown field 'wTotalLength' specified in initializer usb/usb.c:127: warning: excess elements in struct initializer usb/usb.c:127: warning: (near initialization for 'config_bundle.config_descriptor') usb/usb.c:128: error: unknown field 'bNumInterfaces' specified in initializer usb/usb.c:128: warning: excess elements in struct initializer usb/usb.c:128: warning: (near initialization for 'config_bundle.config_descriptor') usb/usb.c:129: error: unknown field 'bConfigurationValue' specified in initializer usb/usb.c:129: warning: excess elements in struct initializer usb/usb.c:129: warning: (near initialization for 'config_bundle.config_descriptor') usb/usb.c:130: error: unknown field 'iConfiguration' specified in initializer usb/usb.c:130: warning: excess elements in struct initializer usb/usb.c:130: warning: (near initialization for 'config_bundle.config_descriptor') usb/usb.c:131: error: unknown field 'bmAttributes' specified in initializer usb/usb.c:131: warning: excess elements in struct initializer usb/usb.c:131: warning: (near initialization for 'config_bundle.config_descriptor') usb/usb.c:132: error: unknown field 'bMaxPower' specified in initializer usb/usb.c:133: warning: excess elements in struct initializer usb/usb.c:133: warning: (near initialization for 'config_bundle.config_descriptor') usb/usb.c:136: error: unknown field 'bLength' specified in initializer usb/usb.c:136: warning: excess elements in struct initializer usb/usb.c:136: warning: (near initialization for 'config_bundle.interface_descriptor') usb/usb.c:137: error: unknown field 'bDescriptorType' specified in initializer usb/usb.c:137: warning: excess elements in struct initializer usb/usb.c:137: warning: (near initialization for 'config_bundle.interface_descriptor') usb/usb.c:138: error: unknown field 'bInterfaceNumber' specified in initializer usb/usb.c:138: warning: excess elements in struct initializer usb/usb.c:138: warning: (near initialization for 'config_bundle.interface_descriptor') usb/usb.c:139: error: unknown field 'bAlternateSetting' specified in initializer usb/usb.c:139: warning: excess elements in struct initializer usb/usb.c:139: warning: (near initialization for 'config_bundle.interface_descriptor') usb/usb.c:140: error: unknown field 'bNumEndpoints' specified in initializer usb/usb.c:140: warning: excess elements in struct initializer usb/usb.c:140: warning: (near initialization for 'config_bundle.interface_descriptor') usb/usb.c:141: error: unknown field 'bInterfaceClass' specified in initializer usb/usb.c:141: warning: excess elements in struct initializer usb/usb.c:141: warning: (near initialization for 'config_bundle.interface_descriptor') usb/usb.c:142: error: unknown field 'bInterfaceSubClass' specified in initializer usb/usb.c:142: warning: excess elements in struct initializer usb/usb.c:142: warning: (near initialization for 'config_bundle.interface_descriptor') usb/usb.c:143: error: unknown field 'bInterfaceProtocol' specified in initializer usb/usb.c:143: warning: excess elements in struct initializer usb/usb.c:143: warning: (near initialization for 'config_bundle.interface_descriptor') usb/usb.c:144: error: unknown field 'iInterface' specified in initializer usb/usb.c:145: warning: excess elements in struct initializer usb/usb.c:145: warning: (near initialization for 'config_bundle.interface_descriptor') usb/usb.c:148: error: unknown field 'bLength' specified in initializer usb/usb.c:148: warning: excess elements in struct initializer usb/usb.c:148: warning: (near initialization for 'config_bundle.endpoint1_descriptor') usb/usb.c:149: error: unknown field 'bDescriptorType' specified in initializer usb/usb.c:149: warning: excess elements in struct initializer usb/usb.c:149: warning: (near initialization for 'config_bundle.endpoint1_descriptor') usb/usb.c:150: error: unknown field 'bEndpointAddress' specified in initializer usb/usb.c:150: warning: excess elements in struct initializer usb/usb.c:150: warning: (near initialization for 'config_bundle.endpoint1_descriptor') usb/usb.c:151: error: unknown field 'bmAttributes' specified in initializer usb/usb.c:151: warning: excess elements in struct initializer usb/usb.c:151: warning: (near initialization for 'config_bundle.endpoint1_descriptor') usb/usb.c:152: error: unknown field 'wMaxPacketSize' specified in initializer usb/usb.c:152: warning: excess elements in struct initializer usb/usb.c:152: warning: (near initialization for 'config_bundle.endpoint1_descriptor') usb/usb.c:153: error: unknown field 'bInterval' specified in initializer usb/usb.c:154: warning: excess elements in struct initializer usb/usb.c:154: warning: (near initialization for 'config_bundle.endpoint1_descriptor') usb/usb.c:157: error: unknown field 'bLength' specified in initializer usb/usb.c:157: warning: excess elements in struct initializer usb/usb.c:157: warning: (near initialization for 'config_bundle.endpoint2_descriptor') usb/usb.c:158: error: unknown field 'bDescriptorType' specified in initializer usb/usb.c:158: warning: excess elements in struct initializer usb/usb.c:158: warning: (near initialization for 'config_bundle.endpoint2_descriptor') usb/usb.c:159: error: unknown field 'bEndpointAddress' specified in initializer usb/usb.c:159: warning: excess elements in struct initializer usb/usb.c:159: warning: (near initialization for 'config_bundle.endpoint2_descriptor') usb/usb.c:160: error: unknown field 'bmAttributes' specified in initializer usb/usb.c:160: warning: excess elements in struct initializer usb/usb.c:160: warning: (near initialization for 'config_bundle.endpoint2_descriptor') usb/usb.c:161: error: unknown field 'wMaxPacketSize' specified in initializer usb/usb.c:161: warning: excess elements in struct initializer usb/usb.c:161: warning: (near initialization for 'config_bundle.endpoint2_descriptor') usb/usb.c:162: error: unknown field 'bInterval' specified in initializer usb/usb.c:163: warning: excess elements in struct initializer usb/usb.c:163: warning: (near initialization for 'config_bundle.endpoint2_descriptor') usb/usb.c:166: error: unknown field 'bLength' specified in initializer usb/usb.c:166: warning: excess elements in struct initializer usb/usb.c:166: warning: (near initialization for 'config_bundle.endpoint3_descriptor') usb/usb.c:167: error: unknown field 'bDescriptorType' specified in initializer usb/usb.c:167: warning: excess elements in struct initializer usb/usb.c:167: warning: (near initialization for 'config_bundle.endpoint3_descriptor') usb/usb.c:168: error: unknown field 'bEndpointAddress' specified in initializer usb/usb.c:168: warning: excess elements in struct initializer usb/usb.c:168: warning: (near initialization for 'config_bundle.endpoint3_descriptor') usb/usb.c:169: error: unknown field 'bmAttributes' specified in initializer usb/usb.c:169: warning: excess elements in struct initializer usb/usb.c:169: warning: (near initialization for 'config_bundle.endpoint3_descriptor') usb/usb.c:170: error: unknown field 'wMaxPacketSize' specified in initializer usb/usb.c:170: warning: excess elements in struct initializer usb/usb.c:170: warning: (near initialization for 'config_bundle.endpoint3_descriptor') usb/usb.c:171: error: unknown field 'bInterval' specified in initializer usb/usb.c:172: warning: excess elements in struct initializer usb/usb.c:172: warning: (near initialization for 'config_bundle.endpoint3_descriptor') usb/usb.c:175: error: unknown field 'bLength' specified in initializer usb/usb.c:175: warning: excess elements in struct initializer usb/usb.c:175: warning: (near initialization for 'config_bundle.endpoint4_descriptor') usb/usb.c:176: error: unknown field 'bDescriptorType' specified in initializer usb/usb.c:176: warning: excess elements in struct initializer usb/usb.c:176: warning: (near initialization for 'config_bundle.endpoint4_descriptor') usb/usb.c:177: error: unknown field 'bEndpointAddress' specified in initializer usb/usb.c:177: warning: excess elements in struct initializer usb/usb.c:177: warning: (near initialization for 'config_bundle.endpoint4_descriptor') usb/usb.c:178: error: unknown field 'bmAttributes' specified in initializer usb/usb.c:178: warning: excess elements in struct initializer usb/usb.c:178: warning: (near initialization for 'config_bundle.endpoint4_descriptor') usb/usb.c:179: error: unknown field 'wMaxPacketSize' specified in initializer usb/usb.c:179: warning: excess elements in struct initializer usb/usb.c:179: warning: (near initialization for 'config_bundle.endpoint4_descriptor') usb/usb.c:180: error: unknown field 'bInterval' specified in initializer usb/usb.c:181: warning: excess elements in struct initializer usb/usb.c:181: warning: (near initialization for 'config_bundle.endpoint4_descriptor') usb/usb.c:186: warning: excess elements in struct initializer usb/usb.c:186: warning: (near initialization for 'string_devicename') usb/usb.c:187: warning: excess elements in struct initializer usb/usb.c:187: warning: (near initialization for 'string_devicename') usb/usb.c:188: error: extra brace group at end of initializer usb/usb.c:188: error: (near initialization for 'string_devicename') usb/usb.c:188: warning: excess elements in struct initializer usb/usb.c:188: warning: (near initialization for 'string_devicename') usb/usb.c:193: warning: excess elements in struct initializer usb/usb.c:193: warning: (near initialization for 'lang_descriptor') usb/usb.c:194: warning: excess elements in struct initializer usb/usb.c:194: warning: (near initialization for 'lang_descriptor') usb/usb.c:195: error: extra brace group at end of initializer usb/usb.c:195: error: (near initialization for 'lang_descriptor') usb/usb.c:195: warning: excess elements in struct initializer usb/usb.c:195: warning: (near initialization for 'lang_descriptor') usb/usb.c: In function 'usb_setup_dbg_listener': usb/usb.c:201: error: 'dbgrecvbuf' undeclared (first use in this function) usb/usb.c:201: error: (Each undeclared identifier is reported only once usb/usb.c:201: error: for each function it appears in.) usb/usb.c: In function 'usb_handle_control_request': usb/usb.c:208: error: 'struct usb_ctrlrequest' has no member named 'bRequest' usb/usb.c:211: error: 'struct usb_ctrlrequest' has no member named 'bRequestType' usb/usb.c:211: error: 'ctrlresp' undeclared (first use in this function) usb/usb.c:218: error: 'struct usb_ctrlrequest' has no member named 'bRequestType' usb/usb.c:218: error: 'struct usb_ctrlrequest' has no member named 'wValue' usb/usb.c:219: error: 'struct usb_ctrlrequest' has no member named 'wIndex' usb/usb.c:219: error: 'struct usb_ctrlrequest' has no member named 'wIndex' usb/usb.c:228: error: 'struct usb_ctrlrequest' has no member named 'wValue' usb/usb.c:232: error: 'struct usb_ctrlrequest' has no member named 'wValue' usb/usb.c:240: error: 'struct usb_ctrlrequest' has no member named 'wValue' usb/usb.c:243: error: 'struct usb_endpoint_descriptor' has no member named 'wMaxPacketSize' usb/usb.c:244: error: 'struct usb_endpoint_descriptor' has no member named 'wMaxPacketSize' usb/usb.c:245: error: 'struct usb_endpoint_descriptor' has no member named 'wMaxPacketSize' usb/usb.c:246: error: 'struct usb_endpoint_descriptor' has no member named 'wMaxPacketSize' usb/usb.c:247: error: 'struct usb_config_descriptor' has no member named 'bDescriptorType' usb/usb.c:252: error: 'struct usb_endpoint_descriptor' has no member named 'wMaxPacketSize' usb/usb.c:253: error: 'struct usb_endpoint_descriptor' has no member named 'wMaxPacketSize' usb/usb.c:254: error: 'struct usb_endpoint_descriptor' has no member named 'wMaxPacketSize' usb/usb.c:255: error: 'struct usb_endpoint_descriptor' has no member named 'wMaxPacketSize' usb/usb.c:256: error: 'struct usb_config_descriptor' has no member named 'bDescriptorType' usb/usb.c:262: error: 'struct usb_ctrlrequest' has no member named 'wValue' usb/usb.c:269: error: 'struct usb_string_descriptor' has no member named 'bLength' usb/usb.c:273: error: 'struct usb_string_descriptor' has no member named 'bLength' usb/usb.c:301: error: 'struct usb_ctrlrequest' has no member named 'wLength' usb/usb.c:301: error: 'struct usb_ctrlrequest' has no member named 'wLength' usb/usb.c: In function 'set_dbgaction': usb/usb.c:309: error: 'dbgsendbuf' undeclared (first use in this function) usb/usb.c: In function 'usb_handle_transfer_complete': usb/usb.c:322: error: 'dbgsendbuf' undeclared (first use in this function) usb/usb.c:326: error: 'dbgrecvbuf' undeclared (first use in this function) usb/usb.c:345: error: 'uint32_t' undeclared (first use in this function) usb/usb.c:369: warning: incompatible implicit declaration of built-in function 'memcpy' usb/usb.c:401: error: 'dbgasyncsendbuf' undeclared (first use in this function) usb/usb.c:477: error: expected ')' before 'scheduler_threads' usb/usb.c: In function 'usb_handle_bus_reset': usb/usb.c:551: error: 'struct usb_endpoint_descriptor' has no member named 'bEndpointAddress' usb/usb.c:552: error: 'struct usb_endpoint_descriptor' has no member named 'bEndpointAddress' usb/usb.c:553: error: 'struct usb_endpoint_descriptor' has no member named 'bEndpointAddress' usb/usb.c:554: error: 'struct usb_endpoint_descriptor' has no member named 'bEndpointAddress' usb/usb.c: In function 'dbgthread': usb/usb.c:566: error: 'struct scheduler_thread' has no member named 'state' usb/usb.c:568: error: 'struct scheduler_thread' has no member named 'block_type' usb/usb.c:570: error: 'struct scheduler_thread' has no member named 'name' usb/usb.c:572: error: 'struct scheduler_thread' has no member named 'name' usb/usb.c:575: error: 'struct scheduler_thread' has no member named 'state' usb/usb.c:584: error: 'uint8_t' undeclared (first use in this function) usb/usb.c:584: error: expected expression before ')' token usb/usb.c:585: error: 'dbgasyncsendbuf' undeclared (first use in this function) usb/usb.c:590: error: expected expression before ')' token usb/usb.c:604: error: too many arguments to function 'cwrite' usb/usb.c:611: error: too many arguments to function 'cread' usb/usb.c: In function 'usb_init': usb/usb.c:653: error: 'dbgstack' undeclared (first use in this function) usb/usb.c: In function 'dbgconsole_makespace': usb/usb.c:677: error: 'uint32_t' undeclared (first use in this function) usb/usb.c:677: error: expected ';' before 'mode' usb/usb.c:686: warning: incompatible implicit declaration of built-in function 'memcpy' usb/usb.c:689: warning: incompatible implicit declaration of built-in function 'memcpy' usb/usb.c:690: error: 'mode' undeclared (first use in this function) usb/usb.c: At top level: usb/usb.c:702: error: expected declaration specifiers or '...' before 'size_t' usb/usb.c: In function 'dbgconsole_write': usb/usb.c:704: error: 'length' undeclared (first use in this function) usb/usb.c:710: warning: incompatible implicit declaration of built-in function 'memcpy' usb/usb.c:716: warning: incompatible implicit declaration of built-in function 'memcpy' usb/usb.c: In function 'dbgconsole_puts': usb/usb.c:725: warning: incompatible implicit declaration of built-in function 'strlen' usb/usb.c:725: error: too many arguments to function 'dbgconsole_write' usb/usb.c: At top level: usb/usb.c:753: error: expected declaration specifiers or '...' before 'size_t' usb/usb.c: In function 'dbgconsole_read': usb/usb.c:755: error: 'length' undeclared (first use in this function) usb/usb.c:773: warning: incompatible implicit declaration of built-in function 'memcpy' usb/usb.c:778: warning: incompatible implicit declaration of built-in function 'memcpy' make: *** [build/ipodnano4g/./usb/usb.o] Error 1 [CC] shutdown.c In file included from shutdown.c:24: global.h:42:19: error: errno.h: No such file or directory global.h:43:22: error: inttypes.h: No such file or directory global.h:44:18: error: math.h: No such file or directory global.h:45:20: error: stdint.h: No such file or directory global.h:46:20: error: stdlib.h: No such file or directory global.h:47:20: error: string.h: No such file or directory global.h:48:23: error: sys/types.h: No such file or directory make: *** [build/ipodnano4g/./shutdown.o] Error 1 [CC] syscall.c In file included from syscall.c:24: global.h:42:19: error: errno.h: No such file or directory global.h:43:22: error: inttypes.h: No such file or directory global.h:44:18: error: math.h: No such file or directory global.h:45:20: error: stdint.h: No such file or directory global.h:46:20: error: stdlib.h: No such file or directory global.h:47:20: error: string.h: No such file or directory global.h:48:23: error: sys/types.h: No such file or directory In file included from export/syscallapi.h:30, from syscall.h:29, from syscall.c:25: export/../console.h:35: error: expected declaration specifiers or '...' before 'size_t' export/../console.h:41: error: expected declaration specifiers or '...' before 'size_t' export/../console.h:42: error: expected declaration specifiers or '...' before 'size_t' In file included from export/../thread.h:29, from export/../dir.h:25, from export/syscallapi.h:31, from syscall.h:29, from syscall.c:25: export/../contextswitch.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'enter_critical_section' export/../contextswitch.h:35: error: expected ')' before 'mode' In file included from export/../dir.h:25, from export/syscallapi.h:31, from syscall.h:29, from syscall.c:25: export/../thread.h:76: error: expected specifier-qualifier-list before 'uint32_t' In file included from export/../dir.h:26, from export/syscallapi.h:31, from syscall.h:29, from syscall.c:25: export/../file.h:55: error: expected declaration specifiers or '...' before '*' token export/../file.h:55: error: expected declaration specifiers or '...' before 'size_t' export/../file.h:55: error: 'ssize_t' declared as function returning a function export/../file.h:56: error: expected declaration specifiers or '...' before 'mode_t' export/../file.h:57: error: expected declaration specifiers or '...' before 'size_t' export/../file.h:57: error: 'write_func' declared as function returning a function export/../file.h:58: error: expected declaration specifiers or '...' before 'size_t' export/../file.h:58: error: expected declaration specifiers or '...' before 'size_t' export/../file.h:65: error: expected declaration specifiers or '...' before 'size_t' export/../file.h:65: error: 'read' declared as function returning a function export/../file.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'lseek' export/../file.h:70: error: expected declaration specifiers or '...' before 'mode_t' export/../file.h: In function 'creat': export/../file.h:72: error: 'mode' undeclared (first use in this function) export/../file.h:72: error: (Each undeclared identifier is reported only once export/../file.h:72: error: for each function it appears in.) export/../file.h: At top level: export/../file.h:78: error: expected declaration specifiers or '...' before 'size_t' export/../file.h:78: error: 'write' declared as function returning a function export/../file.h:81: error: expected declaration specifiers or '...' before 'off_t' export/../file.h:82: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'filesize' In file included from export/../fat.h:26, from export/../dir.h:45, from export/syscallapi.h:31, from syscall.h:29, from syscall.c:25: export/../util.h:133: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap16' export/../util.h:142: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap32' export/../util.h:155: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap_odd_even32' In file included from export/syscallapi.h:34, from syscall.h:29, from syscall.c:25: export/../lcdconsole.h:42: error: expected declaration specifiers or '...' before 'size_t' export/../lcdconsole.h:45: error: expected declaration specifiers or '...' before 'size_t' In file included from export/syscallapi.h:38, from syscall.h:29, from syscall.c:25: export/../ucl.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ucl_decompress' In file included from export/syscallapi.h:40, from syscall.h:29, from syscall.c:25: export/../timer.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'read_native_timer' export/../timer.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'read_usec_timer' In file included from export/syscallapi.h:41, from syscall.h:29, from syscall.c:25: export/../i2c.h:32: error: expected ')' before 'bus' export/../i2c.h:33: error: expected ')' before 'bus' export/../i2c.h:34: error: expected ')' before 'bus' export/../i2c.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'i2c_recvbyte' In file included from export/syscallapi.h:45, from syscall.h:29, from syscall.c:25: export/../nand.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nand_read_page' export/../nand.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nand_write_page' export/../nand.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nand_block_erase' export/../nand.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nand_read_page_fast' export/../nand.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nand_write_page_start' export/../nand.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nand_write_page_collect' export/../nand.h:44: error: expected ')' before 'bank' In file included from export/syscallapi.h:47, from syscall.h:29, from syscall.c:25: export/../execimage.h:37: error: expected specifier-qualifier-list before 'uint32_t' In file included from export/syscallapi.h:50, from syscall.h:29, from syscall.c:25: export/../libc/include/stdio.h:5:19: error: _ansi.h: No such file or directory In file included from syscall.h:29, from syscall.c:25: export/syscallapi.h:67: error: expected specifier-qualifier-list before 'uint32_t' make: *** [build/ipodnano4g/./syscall.o] Error 1 [CC] strcasestr.c In file included from strcasestr.c:32: global.h:42:19: error: errno.h: No such file or directory global.h:43:22: error: inttypes.h: No such file or directory global.h:44:18: error: math.h: No such file or directory global.h:45:20: error: stdint.h: No such file or directory global.h:46:20: error: stdlib.h: No such file or directory global.h:47:20: error: string.h: No such file or directory global.h:48:23: error: sys/types.h: No such file or directory make: *** [build/ipodnano4g/./strcasestr.o] Error 1 [CC] strcasecmp.c In file included from strcasecmp.c:1: global.h:42:19: error: errno.h: No such file or directory global.h:43:22: error: inttypes.h: No such file or directory global.h:44:18: error: math.h: No such file or directory global.h:45:20: error: stdint.h: No such file or directory global.h:46:20: error: stdlib.h: No such file or directory global.h:47:20: error: string.h: No such file or directory global.h:48:23: error: sys/types.h: No such file or directory strcasecmp.c:15: error: expected declaration specifiers or '...' before 'size_t' strcasecmp.c:15: warning: conflicting types for built-in function 'strncasecmp' strcasecmp.c: In function 'strncasecmp': strcasecmp.c:19: error: 'n' undeclared (first use in this function) strcasecmp.c:19: error: (Each undeclared identifier is reported only once strcasecmp.c:19: error: for each function it appears in.) make: *** [build/ipodnano4g/./strcasecmp.o] Error 1 [CC] strlcpy.c In file included from strlcpy.c:19: global.h:42:19: error: errno.h: No such file or directory global.h:43:22: error: inttypes.h: No such file or directory global.h:44:18: error: math.h: No such file or directory global.h:45:20: error: stdint.h: No such file or directory global.h:46:20: error: stdlib.h: No such file or directory global.h:47:20: error: string.h: No such file or directory global.h:48:23: error: sys/types.h: No such file or directory strlcpy.c:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strlcpy' make: *** [build/ipodnano4g/./strlcpy.o] Error 1 [CC] strlcat.c In file included from strlcat.c:19: global.h:42:19: error: errno.h: No such file or directory global.h:43:22: error: inttypes.h: No such file or directory global.h:44:18: error: math.h: No such file or directory global.h:45:20: error: stdint.h: No such file or directory global.h:46:20: error: stdlib.h: No such file or directory global.h:47:20: error: string.h: No such file or directory global.h:48:23: error: sys/types.h: No such file or directory strlcat.c:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strlcat' make: *** [build/ipodnano4g/./strlcat.o] Error 1 [CC] execimage.c In file included from execimage.c:24: global.h:42:19: error: errno.h: No such file or directory global.h:43:22: error: inttypes.h: No such file or directory global.h:44:18: error: math.h: No such file or directory global.h:45:20: error: stdint.h: No such file or directory global.h:46:20: error: stdlib.h: No such file or directory global.h:47:20: error: string.h: No such file or directory global.h:48:23: error: sys/types.h: No such file or directory In file included from execimage.c:25: console.h:35: error: expected declaration specifiers or '...' before 'size_t' console.h:41: error: expected declaration specifiers or '...' before 'size_t' console.h:42: error: expected declaration specifiers or '...' before 'size_t' In file included from execimage.c:26: execimage.h:37: error: expected specifier-qualifier-list before 'uint32_t' execimage.c: In function 'execimage': execimage.c:55: error: 'struct execimage_header' has no member named 'threadname' execimage.c:55: error: 'struct execimage_header' has no member named 'entrypoint' execimage.c:55: error: 'struct execimage_header' has no member named 'stackaddr' execimage.c:56: error: 'struct execimage_header' has no member named 'stacksize' execimage.c:56: error: 'struct execimage_header' has no member named 'threadtype' execimage.c:56: error: 'struct execimage_header' has no member named 'threadpriority' make: *** [build/ipodnano4g/./execimage.o] Error 1 [CC] syscallapi.c In file included from syscallapi.c:24: global.h:42:19: error: errno.h: No such file or directory global.h:43:22: error: inttypes.h: No such file or directory global.h:44:18: error: math.h: No such file or directory global.h:45:20: error: stdint.h: No such file or directory global.h:46:20: error: stdlib.h: No such file or directory global.h:47:20: error: string.h: No such file or directory global.h:48:23: error: sys/types.h: No such file or directory In file included from export/syscallapi.h:30, from syscallapi.c:25: export/../console.h:35: error: expected declaration specifiers or '...' before 'size_t' export/../console.h:41: error: expected declaration specifiers or '...' before 'size_t' export/../console.h:42: error: expected declaration specifiers or '...' before 'size_t' In file included from export/../thread.h:29, from export/../dir.h:25, from export/syscallapi.h:31, from syscallapi.c:25: export/../contextswitch.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'enter_critical_section' export/../contextswitch.h:35: error: expected ')' before 'mode' In file included from export/../dir.h:25, from export/syscallapi.h:31, from syscallapi.c:25: export/../thread.h:76: error: expected specifier-qualifier-list before 'uint32_t' In file included from export/../dir.h:26, from export/syscallapi.h:31, from syscallapi.c:25: export/../file.h:55: error: expected declaration specifiers or '...' before '*' token export/../file.h:55: error: expected declaration specifiers or '...' before 'size_t' export/../file.h:55: error: 'ssize_t' declared as function returning a function export/../file.h:56: error: expected declaration specifiers or '...' before 'mode_t' export/../file.h:57: error: expected declaration specifiers or '...' before 'size_t' export/../file.h:57: error: 'write_func' declared as function returning a function export/../file.h:58: error: expected declaration specifiers or '...' before 'size_t' export/../file.h:58: error: expected declaration specifiers or '...' before 'size_t' export/../file.h:65: error: expected declaration specifiers or '...' before 'size_t' export/../file.h:65: error: 'read' declared as function returning a function export/../file.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'lseek' export/../file.h:70: error: expected declaration specifiers or '...' before 'mode_t' export/../file.h: In function 'creat': export/../file.h:72: error: 'mode' undeclared (first use in this function) export/../file.h:72: error: (Each undeclared identifier is reported only once export/../file.h:72: error: for each function it appears in.) export/../file.h: At top level: export/../file.h:78: error: expected declaration specifiers or '...' before 'size_t' export/../file.h:78: error: 'write' declared as function returning a function export/../file.h:81: error: expected declaration specifiers or '...' before 'off_t' export/../file.h:82: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'filesize' In file included from export/../fat.h:26, from export/../dir.h:45, from export/syscallapi.h:31, from syscallapi.c:25: export/../util.h:133: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap16' export/../util.h:142: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap32' export/../util.h:155: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'swap_odd_even32' In file included from export/syscallapi.h:34, from syscallapi.c:25: export/../lcdconsole.h:42: error: expected declaration specifiers or '...' before 'size_t' export/../lcdconsole.h:45: error: expected declaration specifiers or '...' before 'size_t' In file included from export/syscallapi.h:38, from syscallapi.c:25: export/../ucl.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ucl_decompress' In file included from export/syscallapi.h:40, from syscallapi.c:25: export/../timer.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'read_native_timer' export/../timer.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'read_usec_timer' In file included from export/syscallapi.h:41, from syscallapi.c:25: export/../i2c.h:32: error: expected ')' before 'bus' export/../i2c.h:33: error: expected ')' before 'bus' export/../i2c.h:34: error: expected ')' before 'bus' export/../i2c.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'i2c_recvbyte' In file included from export/syscallapi.h:45, from syscallapi.c:25: export/../nand.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nand_read_page' export/../nand.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nand_write_page' export/../nand.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nand_block_erase' export/../nand.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nand_read_page_fast' export/../nand.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nand_write_page_start' export/../nand.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nand_write_page_collect' export/../nand.h:44: error: expected ')' before 'bank' In file included from export/syscallapi.h:47, from syscallapi.c:25: export/../execimage.h:37: error: expected specifier-qualifier-list before 'uint32_t' In file included from export/syscallapi.h:50, from syscallapi.c:25: export/../libc/include/stdio.h:5:19: error: _ansi.h: No such file or directory In file included from syscallapi.c:25: export/syscallapi.h:67: error: expected specifier-qualifier-list before 'uint32_t' syscallapi.c:52: error: unknown field 'table_version' specified in initializer syscallapi.c:52: warning: excess elements in struct initializer syscallapi.c:52: warning: (near initialization for 'syscall_table') syscallapi.c:53: error: unknown field 'table_minversion' specified in initializer syscallapi.c:53: warning: excess elements in struct initializer syscallapi.c:53: warning: (near initialization for 'syscall_table') syscallapi.c:54: error: unknown field 'panic' specified in initializer syscallapi.c:54: warning: excess elements in struct initializer syscallapi.c:54: warning: (near initialization for 'syscall_table') syscallapi.c:55: error: unknown field 'panicf' specified in initializer syscallapi.c:55: warning: excess elements in struct initializer syscallapi.c:55: warning: (near initialization for 'syscall_table') syscallapi.c:56: error: unknown field 'cprintf' specified in initializer syscallapi.c:56: warning: excess elements in struct initializer syscallapi.c:56: warning: (near initialization for 'syscall_table') syscallapi.c:57: error: unknown field 'cvprintf' specified in initializer syscallapi.c:57: warning: excess elements in struct initializer syscallapi.c:57: warning: (near initialization for 'syscall_table') syscallapi.c:58: error: unknown field 'cputc' specified in initializer syscallapi.c:58: warning: excess elements in struct initializer syscallapi.c:58: warning: (near initialization for 'syscall_table') syscallapi.c:59: error: unknown field 'cputs' specified in initializer syscallapi.c:59: warning: excess elements in struct initializer syscallapi.c:59: warning: (near initialization for 'syscall_table') syscallapi.c:60: error: unknown field 'cwrite' specified in initializer syscallapi.c:60: warning: excess elements in struct initializer syscallapi.c:60: warning: (near initialization for 'syscall_table') syscallapi.c:61: error: unknown field 'cflush' specified in initializer syscallapi.c:61: warning: excess elements in struct initializer syscallapi.c:61: warning: (near initialization for 'syscall_table') syscallapi.c:62: error: unknown field 'cgetc' specified in initializer syscallapi.c:62: warning: excess elements in struct initializer syscallapi.c:62: warning: (near initialization for 'syscall_table') syscallapi.c:63: error: unknown field 'cread' specified in initializer syscallapi.c:63: warning: excess elements in struct initializer syscallapi.c:63: warning: (near initialization for 'syscall_table') syscallapi.c:64: error: unknown field 'creada' specified in initializer syscallapi.c:64: warning: excess elements in struct initializer syscallapi.c:64: warning: (near initialization for 'syscall_table') syscallapi.c:65: error: unknown field 'format' specified in initializer syscallapi.c:65: warning: excess elements in struct initializer syscallapi.c:65: warning: (near initialization for 'syscall_table') syscallapi.c:66: error: unknown field 'vuprintf' specified in initializer syscallapi.c:66: warning: excess elements in struct initializer syscallapi.c:66: warning: (near initialization for 'syscall_table') syscallapi.c:67: error: unknown field 'shutdown' specified in initializer syscallapi.c:67: warning: excess elements in struct initializer syscallapi.c:67: warning: (near initialization for 'syscall_table') syscallapi.c:68: error: unknown field 'strcasecmp' specified in initializer syscallapi.c:68: warning: excess elements in struct initializer syscallapi.c:68: warning: (near initialization for 'syscall_table') syscallapi.c:69: error: unknown field 'strncasecmp' specified in initializer syscallapi.c:69: warning: excess elements in struct initializer syscallapi.c:69: warning: (near initialization for 'syscall_table') syscallapi.c:70: error: unknown field 'strcasestr' specified in initializer syscallapi.c:70: warning: excess elements in struct initializer syscallapi.c:70: warning: (near initialization for 'syscall_table') syscallapi.c:71: error: unknown field 'strlcat' specified in initializer syscallapi.c:71: warning: excess elements in struct initializer syscallapi.c:71: warning: (near initialization for 'syscall_table') syscallapi.c:72: error: unknown field 'strlcpy' specified in initializer syscallapi.c:72: warning: excess elements in struct initializer syscallapi.c:72: warning: (near initialization for 'syscall_table') syscallapi.c:73: error: unknown field 'mutex_init' specified in initializer syscallapi.c:73: warning: excess elements in struct initializer syscallapi.c:73: warning: (near initialization for 'syscall_table') syscallapi.c:74: error: unknown field 'mutex_lock' specified in initializer syscallapi.c:74: warning: excess elements in struct initializer syscallapi.c:74: warning: (near initialization for 'syscall_table') syscallapi.c:75: error: unknown field 'mutex_unlock' specified in initializer syscallapi.c:75: warning: excess elements in struct initializer syscallapi.c:75: warning: (near initialization for 'syscall_table') syscallapi.c:76: error: unknown field 'wakeup_init' specified in initializer syscallapi.c:76: warning: excess elements in struct initializer syscallapi.c:76: warning: (near initialization for 'syscall_table') syscallapi.c:77: error: unknown field 'wakeup_wait' specified in initializer syscallapi.c:77: warning: excess elements in struct initializer syscallapi.c:77: warning: (near initialization for 'syscall_table') syscallapi.c:78: error: unknown field 'wakeup_signal' specified in initializer syscallapi.c:78: warning: excess elements in struct initializer syscallapi.c:78: warning: (near initialization for 'syscall_table') syscallapi.c:79: error: unknown field 'sleep' specified in initializer syscallapi.c:79: warning: excess elements in struct initializer syscallapi.c:79: warning: (near initialization for 'syscall_table') syscallapi.c:80: error: unknown field 'thread_create' specified in initializer syscallapi.c:80: warning: excess elements in struct initializer syscallapi.c:80: warning: (near initialization for 'syscall_table') syscallapi.c:81: error: unknown field 'thread_exit' specified in initializer syscallapi.c:81: warning: excess elements in struct initializer syscallapi.c:81: warning: (near initialization for 'syscall_table') syscallapi.c:82: error: unknown field 'thread_suspend' specified in initializer syscallapi.c:82: warning: excess elements in struct initializer syscallapi.c:82: warning: (near initialization for 'syscall_table') syscallapi.c:83: error: unknown field 'thread_resume' specified in initializer syscallapi.c:83: warning: excess elements in struct initializer syscallapi.c:83: warning: (near initialization for 'syscall_table') syscallapi.c:84: error: unknown field 'thread_terminate' specified in initializer syscallapi.c:84: warning: excess elements in struct initializer syscallapi.c:84: warning: (near initialization for 'syscall_table') syscallapi.c:85: error: unknown field '__errno' specified in initializer syscallapi.c:85: error: '__errno' undeclared here (not in a function) syscallapi.c:85: warning: excess elements in struct initializer syscallapi.c:85: warning: (near initialization for 'syscall_table') syscallapi.c:86: error: unknown field 'ucl_decompress' specified in initializer syscallapi.c:86: error: 'ucl_decompress' undeclared here (not in a function) syscallapi.c:86: warning: excess elements in struct initializer syscallapi.c:86: warning: (near initialization for 'syscall_table') syscallapi.c:87: error: unknown field 'read_native_timer' specified in initializer syscallapi.c:87: error: 'read_native_timer' undeclared here (not in a function) syscallapi.c:87: warning: excess elements in struct initializer syscallapi.c:87: warning: (near initialization for 'syscall_table') syscallapi.c:88: error: unknown field 'read_usec_timer' specified in initializer syscallapi.c:88: error: 'read_usec_timer' undeclared here (not in a function) syscallapi.c:88: warning: excess elements in struct initializer syscallapi.c:88: warning: (near initialization for 'syscall_table') syscallapi.c:89: error: unknown field 'i2c_send' specified in initializer syscallapi.c:89: error: 'i2c_send' undeclared here (not in a function) syscallapi.c:89: warning: excess elements in struct initializer syscallapi.c:89: warning: (near initialization for 'syscall_table') syscallapi.c:90: error: unknown field 'i2c_recv' specified in initializer syscallapi.c:90: error: 'i2c_recv' undeclared here (not in a function) syscallapi.c:90: warning: excess elements in struct initializer syscallapi.c:90: warning: (near initialization for 'syscall_table') syscallapi.c:91: error: unknown field 'i2c_sendbyte' specified in initializer syscallapi.c:91: error: 'i2c_sendbyte' undeclared here (not in a function) syscallapi.c:91: warning: excess elements in struct initializer syscallapi.c:91: warning: (near initialization for 'syscall_table') syscallapi.c:92: error: unknown field 'i2c_recvbyte' specified in initializer syscallapi.c:92: error: 'i2c_recvbyte' undeclared here (not in a function) syscallapi.c:92: warning: excess elements in struct initializer syscallapi.c:92: warning: (near initialization for 'syscall_table') syscallapi.c:93: error: unknown field 'interrupt_enable' specified in initializer syscallapi.c:93: warning: excess elements in struct initializer syscallapi.c:93: warning: (near initialization for 'syscall_table') syscallapi.c:94: error: unknown field 'interrupt_set_handler' specified in initializer syscallapi.c:94: warning: excess elements in struct initializer syscallapi.c:94: warning: (near initialization for 'syscall_table') syscallapi.c:95: error: unknown field 'int_timer_set_handler' specified in initializer syscallapi.c:95: warning: excess elements in struct initializer syscallapi.c:95: warning: (near initialization for 'syscall_table') syscallapi.c:96: error: unknown field 'clean_dcache' specified in initializer syscallapi.c:96: warning: excess elements in struct initializer syscallapi.c:96: warning: (near initialization for 'syscall_table') syscallapi.c:97: error: unknown field 'invalidate_dcache' specified in initializer syscallapi.c:97: warning: excess elements in struct initializer syscallapi.c:97: warning: (near initialization for 'syscall_table') syscallapi.c:98: error: unknown field 'invalidate_icache' specified in initializer syscallapi.c:98: warning: excess elements in struct initializer syscallapi.c:98: warning: (near initialization for 'syscall_table') syscallapi.c:99: error: unknown field 'power_off' specified in initializer syscallapi.c:99: warning: excess elements in struct initializer syscallapi.c:99: warning: (near initialization for 'syscall_table') syscallapi.c:100: error: unknown field 'charging_state' specified in initializer syscallapi.c:100: warning: excess elements in struct initializer syscallapi.c:100: warning: (near initialization for 'syscall_table') syscallapi.c:101: error: unknown field 'atoi' specified in initializer syscallapi.c:101: warning: excess elements in struct initializer syscallapi.c:101: warning: (near initialization for 'syscall_table') syscallapi.c:102: error: unknown field 'memchr' specified in initializer syscallapi.c:102: warning: excess elements in struct initializer syscallapi.c:102: warning: (near initialization for 'syscall_table') syscallapi.c:103: error: unknown field 'memcmp' specified in initializer syscallapi.c:103: warning: excess elements in struct initializer syscallapi.c:103: warning: (near initialization for 'syscall_table') syscallapi.c:104: error: unknown field 'memcpy' specified in initializer syscallapi.c:104: warning: excess elements in struct initializer syscallapi.c:104: warning: (near initialization for 'syscall_table') syscallapi.c:105: error: unknown field 'memmove' specified in initializer syscallapi.c:105: warning: excess elements in struct initializer syscallapi.c:105: warning: (near initialization for 'syscall_table') syscallapi.c:106: error: unknown field 'memset' specified in initializer syscallapi.c:106: warning: excess elements in struct initializer syscallapi.c:106: warning: (near initialization for 'syscall_table') syscallapi.c:107: error: unknown field 'qsort' specified in initializer syscallapi.c:107: warning: excess elements in struct initializer syscallapi.c:107: warning: (near initialization for 'syscall_table') syscallapi.c:108: error: unknown field 'srand' specified in initializer syscallapi.c:108: warning: excess elements in struct initializer syscallapi.c:108: warning: (near initialization for 'syscall_table') syscallapi.c:109: error: unknown field 'rand' specified in initializer syscallapi.c:109: warning: excess elements in struct initializer syscallapi.c:109: warning: (near initialization for 'syscall_table') syscallapi.c:110: error: unknown field 'snprintf' specified in initializer syscallapi.c:110: warning: excess elements in struct initializer syscallapi.c:110: warning: (near initialization for 'syscall_table') syscallapi.c:111: error: unknown field 'vsnprintf' specified in initializer syscallapi.c:111: warning: excess elements in struct initializer syscallapi.c:111: warning: (near initialization for 'syscall_table') syscallapi.c:112: error: unknown field 'sscanf' specified in initializer syscallapi.c:112: warning: excess elements in struct initializer syscallapi.c:112: warning: (near initialization for 'syscall_table') syscallapi.c:113: error: unknown field 'strcat' specified in initializer syscallapi.c:113: warning: excess elements in struct initializer syscallapi.c:113: warning: (near initialization for 'syscall_table') syscallapi.c:114: error: unknown field 'strchr' specified in initializer syscallapi.c:114: warning: excess elements in struct initializer syscallapi.c:114: warning: (near initialization for 'syscall_table') syscallapi.c:115: error: unknown field 'strcmp' specified in initializer syscallapi.c:115: warning: excess elements in struct initializer syscallapi.c:115: warning: (near initialization for 'syscall_table') syscallapi.c:116: error: unknown field 'strcpy' specified in initializer syscallapi.c:116: warning: excess elements in struct initializer syscallapi.c:116: warning: (near initialization for 'syscall_table') syscallapi.c:117: error: unknown field 'strlen' specified in initializer syscallapi.c:117: warning: excess elements in struct initializer syscallapi.c:117: warning: (near initialization for 'syscall_table') syscallapi.c:118: error: unknown field 'strncmp' specified in initializer syscallapi.c:118: warning: excess elements in struct initializer syscallapi.c:118: warning: (near initialization for 'syscall_table') syscallapi.c:119: error: unknown field 'strrchr' specified in initializer syscallapi.c:119: warning: excess elements in struct initializer syscallapi.c:119: warning: (near initialization for 'syscall_table') syscallapi.c:120: error: unknown field 'strstr' specified in initializer syscallapi.c:120: warning: excess elements in struct initializer syscallapi.c:120: warning: (near initialization for 'syscall_table') syscallapi.c:121: error: unknown field 'strtok_r' specified in initializer syscallapi.c:121: warning: excess elements in struct initializer syscallapi.c:121: warning: (near initialization for 'syscall_table') syscallapi.c:146: error: unknown field 'lcdconsole_putc_noblit' specified in initializer syscallapi.c:146: warning: excess elements in struct initializer syscallapi.c:146: warning: (near initialization for 'syscall_table') syscallapi.c:147: error: unknown field 'lcdconsole_puts_noblit' specified in initializer syscallapi.c:147: warning: excess elements in struct initializer syscallapi.c:147: warning: (near initialization for 'syscall_table') syscallapi.c:148: error: unknown field 'lcdconsole_write_noblit' specified in initializer syscallapi.c:148: warning: excess elements in struct initializer syscallapi.c:148: warning: (near initialization for 'syscall_table') syscallapi.c:149: error: unknown field 'lcdconsole_update' specified in initializer syscallapi.c:149: warning: excess elements in struct initializer syscallapi.c:149: warning: (near initialization for 'syscall_table') syscallapi.c:150: error: unknown field 'lcdconsole_putc' specified in initializer syscallapi.c:150: warning: excess elements in struct initializer syscallapi.c:150: warning: (near initialization for 'syscall_table') syscallapi.c:151: error: unknown field 'lcdconsole_puts' specified in initializer syscallapi.c:151: warning: excess elements in struct initializer syscallapi.c:151: warning: (near initialization for 'syscall_table') syscallapi.c:152: error: unknown field 'lcdconsole_write' specified in initializer syscallapi.c:152: warning: excess elements in struct initializer syscallapi.c:152: warning: (near initialization for 'syscall_table') syscallapi.c:153: error: unknown field 'displaylcd' specified in initializer syscallapi.c:153: warning: excess elements in struct initializer syscallapi.c:153: warning: (near initialization for 'syscall_table') syscallapi.c:154: error: unknown field 'displaylcd_sync' specified in initializer syscallapi.c:154: warning: excess elements in struct initializer syscallapi.c:154: warning: (near initialization for 'syscall_table') syscallapi.c:155: error: unknown field 'displaylcd_busy' specified in initializer syscallapi.c:155: warning: excess elements in struct initializer syscallapi.c:155: warning: (near initialization for 'syscall_table') syscallapi.c:156: error: unknown field 'displaylcd_safe' specified in initializer syscallapi.c:156: warning: excess elements in struct initializer syscallapi.c:156: warning: (near initialization for 'syscall_table') make: *** [build/ipodnano4g/./syscallapi.o] Error 1 [CC] libc/strstr.c In file included from libc/strstr.c:15: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory libc/strstr.c: In function 'strstr': libc/strstr.c:27: warning: incompatible implicit declaration of built-in function 'strlen' libc/strstr.c:37: error: 'NULL' undeclared (first use in this function) libc/strstr.c:37: error: (Each undeclared identifier is reported only once libc/strstr.c:37: error: for each function it appears in.) make: *** [build/ipodnano4g/./libc/strstr.o] Error 1 [CC] libc/strtok.c In file included from libc/strtok.c:21: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory libc/strtok.c: In function 'strtok_r': libc/strtok.c:35: warning: incompatible implicit declaration of built-in function 'strchr' make: *** [build/ipodnano4g/./libc/strtok.o] Error 1 [CC] libc/atoi.c In file included from libc/atoi.c:22: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory make: *** [build/ipodnano4g/./libc/atoi.o] Error 1 [CC] libc/ctype.c [CC] libc/memchr.c In file included from libc/memchr.c:36: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory libc/memchr.c:62: error: expected ')' before '(' token make: *** [build/ipodnano4g/./libc/memchr.o] Error 1 [CC] libc/memcmp.c In file included from libc/memcmp.c:39: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory libc/memcmp.c:54: error: expected ')' before '(' token make: *** [build/ipodnano4g/./libc/memcmp.o] Error 1 [CC] libc/memcpy.c In file included from libc/memcpy.c:35: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory libc/memcpy.c:36:19: error: _ansi.h: No such file or directory libc/memcpy.c:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_DEFUN' libc/memcpy.c:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_DEFUN' make: *** [build/ipodnano4g/./libc/memcpy.o] Error 1 [CC] libc/memmove.c In file included from libc/memmove.c:38: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory libc/memmove.c:39:19: error: _ansi.h: No such file or directory libc/memmove.c:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_DEFUN' libc/memmove.c:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_DEFUN' make: *** [build/ipodnano4g/./libc/memmove.o] Error 1 [CC] libc/memset.c In file included from libc/memset.c:36: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory libc/memset.c:38:19: error: _ansi.h: No such file or directory libc/memset.c:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_DEFUN' make: *** [build/ipodnano4g/./libc/memset.o] Error 1 [CC] libc/mktime.c In file included from libc/mktime.c:23: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory libc/mktime.c:24:18: error: time.h: No such file or directory make: *** [build/ipodnano4g/./libc/mktime.o] Error 1 [CC] libc/qsort.c In file included from libc/qsort.c:77: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory libc/qsort.c:78:19: error: _ansi.h: No such file or directory libc/qsort.c:85: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_PARAMS' libc/qsort.c:86: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_PARAMS' libc/qsort.c:108: error: expected ')' before '(' token libc/qsort.c:131: error: expected ')' before '(' token libc/qsort.c:143: error: expected ')' before '(' token make: *** [build/ipodnano4g/./libc/qsort.o] Error 1 [CC] libc/random.c In file included from libc/random.c:48: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory make: *** [build/ipodnano4g/./libc/random.o] Error 1 [CC] libc/sprintf.c In file included from libc/sprintf.c:29: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory libc/sprintf.c:30:19: error: stdio.h: No such file or directory libc/sprintf.c:42: error: expected specifier-qualifier-list before 'size_t' libc/sprintf.c: In function 'sprfunc': libc/sprintf.c:49: error: 'struct for_snprintf' has no member named 'bytes' libc/sprintf.c:49: error: 'struct for_snprintf' has no member named 'max' libc/sprintf.c:52: error: 'struct for_snprintf' has no member named 'bytes' libc/sprintf.c: At top level: libc/sprintf.c:59: error: expected declaration specifiers or '...' before 'size_t' libc/sprintf.c:59: warning: conflicting types for built-in function 'snprintf' libc/sprintf.c: In function 'snprintf': libc/sprintf.c:66: error: 'struct for_snprintf' has no member named 'bytes' libc/sprintf.c:67: error: 'struct for_snprintf' has no member named 'max' libc/sprintf.c:67: error: 'size' undeclared (first use in this function) libc/sprintf.c:67: error: (Each undeclared identifier is reported only once libc/sprintf.c:67: error: for each function it appears in.) libc/sprintf.c:74: error: 'struct for_snprintf' has no member named 'bytes' libc/sprintf.c:74: error: 'struct for_snprintf' has no member named 'max' libc/sprintf.c:76: error: 'struct for_snprintf' has no member named 'bytes' libc/sprintf.c: At top level: libc/sprintf.c:79: error: expected declaration specifiers or '...' before 'size_t' libc/sprintf.c:79: warning: conflicting types for built-in function 'vsnprintf' libc/sprintf.c: In function 'vsnprintf': libc/sprintf.c:85: error: 'struct for_snprintf' has no member named 'bytes' libc/sprintf.c:86: error: 'struct for_snprintf' has no member named 'max' libc/sprintf.c:86: error: 'size' undeclared (first use in this function) libc/sprintf.c:91: error: 'struct for_snprintf' has no member named 'bytes' libc/sprintf.c:91: error: 'struct for_snprintf' has no member named 'max' libc/sprintf.c:93: error: 'struct for_snprintf' has no member named 'bytes' make: *** [build/ipodnano4g/./libc/sprintf.o] Error 1 [CC] libc/sscanf.c In file included from libc/sscanf.c:1: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory make: *** [build/ipodnano4g/./libc/sscanf.o] Error 1 [CC] libc/strcat.c In file included from libc/strcat.c:1: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory make: *** [build/ipodnano4g/./libc/strcat.o] Error 1 [CC] libc/strchr.c In file included from libc/strchr.c:36: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory libc/strchr.c:62: error: expected ')' before '(' token make: *** [build/ipodnano4g/./libc/strchr.o] Error 1 [CC] libc/strcmp.c In file included from libc/strcmp.c:38: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory libc/strcmp.c:62: error: expected ')' before '(' token make: *** [build/ipodnano4g/./libc/strcmp.o] Error 1 [CC] libc/strcpy.c In file included from libc/strcpy.c:35: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory libc/strcpy.c:62: error: expected ')' before '(' token make: *** [build/ipodnano4g/./libc/strcpy.o] Error 1 [CC] libc/strlen.c In file included from libc/strlen.c:34: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory libc/strlen.c:35:19: error: _ansi.h: No such file or directory libc/strlen.c:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_DEFUN' libc/strlen.c:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_DEFUN' make: *** [build/ipodnano4g/./libc/strlen.o] Error 1 [CC] libc/strncmp.c In file included from libc/strncmp.c:39: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory libc/strncmp.c:63: error: expected ')' before '(' token make: *** [build/ipodnano4g/./libc/strncmp.o] Error 1 [CC] libc/strrchr.c In file included from libc/strrchr.c:36: ./global.h:42:19: error: errno.h: No such file or directory ./global.h:43:22: error: inttypes.h: No such file or directory ./global.h:44:18: error: math.h: No such file or directory ./global.h:45:20: error: stdint.h: No such file or directory ./global.h:46:20: error: stdlib.h: No such file or directory ./global.h:47:20: error: string.h: No such file or directory ./global.h:48:23: error: sys/types.h: No such file or directory libc/strrchr.c:40: error: expected ')' before '(' token make: *** [build/ipodnano4g/./libc/strrchr.o] Error 1 make: Target `ipodnano4g' not remade because of errors.