l440bx $ make gcc -x assembler-with-cpp -DASSEMBLY -E ... crt0.S > crt0.s gcc ... -o crt0.o crt0.s /home/roger/src/linuxbios/freebios/src/northbridge/intel/440bx/raminit.inc: Assembler messages: /home/roger/src/linuxbios/freebios/src/northbridge/intel/440bx/raminit.inc:478: Warning: using `%al' instead of `%eax' due to `b' suffix crt0.S:156: Warning: indirect jmp without `*' gcc ... -o version.o /home/roger/src/linuxbios/freebios/src/lib/version.c gcc ... -o ide.o /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:27: parse error before '<<' token /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:31: parse error before '>>' token In file included from /home/roger/src/linuxbios/freebios/src/include/pci.h:280, from /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:32: /home/roger/src/linuxbios/freebios/src/include/types.h:7: parse error before "u8" /home/roger/src/linuxbios/freebios/src/include/types.h:7: warning: type defaults to `int' in declaration of `u8' /home/roger/src/linuxbios/freebios/src/include/types.h:7: warning: data definition has no type or storage class In file included from /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:32: /home/roger/src/linuxbios/freebios/src/include/pci.h:325: parse error before "uint8_t" /home/roger/src/linuxbios/freebios/src/include/pci.h:325: warning: no semicolon at end of struct or union /home/roger/src/linuxbios/freebios/src/include/pci.h:346: parse error before '}' token /home/roger/src/linuxbios/freebios/src/include/pci.h:349: parse error before "bus" /home/roger/src/linuxbios/freebios/src/include/pci.h:350: parse error before "bus" /home/roger/src/linuxbios/freebios/src/include/pci.h:351: parse error before "bus" /home/roger/src/linuxbios/freebios/src/include/pci.h:352: parse error before "bus" /home/roger/src/linuxbios/freebios/src/include/pci.h:353: parse error before "bus" /home/roger/src/linuxbios/freebios/src/include/pci.h:354: parse error before "bus" /home/roger/src/linuxbios/freebios/src/include/pci.h:377: parse error before "u8" /home/roger/src/linuxbios/freebios/src/include/pci.h:383: parse error before "u8" /home/roger/src/linuxbios/freebios/src/include/pci.h:389: parse error before "u8" /home/roger/src/linuxbios/freebios/src/include/pci.h:411: parse error before "u8" /home/roger/src/linuxbios/freebios/src/include/pci.h:412: parse error before "u8" /home/roger/src/linuxbios/freebios/src/include/pci.h:413: parse error before "u8" /home/roger/src/linuxbios/freebios/src/include/pci.h:414: parse error before "u8" /home/roger/src/linuxbios/freebios/src/include/pci.h:415: parse error before "u8" /home/roger/src/linuxbios/freebios/src/include/pci.h:416: parse error before "u8" /home/roger/src/linuxbios/freebios/src/include/pci.h:417: parse error before "u8" /home/roger/src/linuxbios/freebios/src/include/pci.h:418: parse error before "u8" /home/roger/src/linuxbios/freebios/src/include/pci.h:419: parse error before "u8" In file included from /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:33: /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:35: parse error before "uint8_t" /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:35: warning: no semicolon at end of struct or union /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:36: warning: type defaults to `int' in declaration of `slave' /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:36: warning: data definition has no type or storage class /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:45: parse error before '}' token /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:77: parse error before "uint8_t" /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:77: warning: no semicolon at end of struct or union /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:78: warning: type defaults to `int' in declaration of `sector_count' /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:78: warning: data definition has no type or storage class /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:79: parse error before "lba_low" /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:79: warning: type defaults to `int' in declaration of `lba_low' /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:79: warning: data definition has no type or storage class /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:80: parse error before "lba_mid" /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:80: warning: type defaults to `int' in declaration of `lba_mid' /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:80: warning: data definition has no type or storage class /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:81: parse error before "lba_high" /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:81: warning: type defaults to `int' in declaration of `lba_high' /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:81: warning: data definition has no type or storage class /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:82: parse error before "device" /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:82: warning: type defaults to `int' in declaration of `device' /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:82: warning: data definition has no type or storage class /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:89: parse error before "command" /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:89: warning: type defaults to `int' in declaration of `command' /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:89: warning: data definition has no type or storage class /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:90: parse error before "sector_count2" /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:90: warning: type defaults to `int' in declaration of `sector_count2' /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:90: warning: data definition has no type or storage class /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:91: parse error before "lba_low2" /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:91: warning: type defaults to `int' in declaration of `lba_low2' /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:91: warning: data definition has no type or storage class /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:92: parse error before "lba_mid2" /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:92: warning: type defaults to `int' in declaration of `lba_mid2' /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:92: warning: data definition has no type or storage class /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:93: parse error before "lba_high2" /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:93: warning: type defaults to `int' in declaration of `lba_high2' /home/roger/src/linuxbios/freebios/src/include/pc80/ide.h:93: warning: data definition has no type or storage class /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c: In function `await_ide': /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:51: warning: implicit declaration of function `udelay' /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c: In function `pio_set_registers': /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:101: `uint8_t' undeclared (first use in this function) /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:101: (Each undeclared identifier is reported only once /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:101: for each function it appears in.) /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:101: parse error before "device" /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:107: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:108: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:115: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:116: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:117: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:118: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:119: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:120: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:121: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:122: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:123: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:124: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c: In function `ide_read_sector_chs': /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:174: storage size of `cmd' isn't known /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:182: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:184: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:185: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:190: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:191: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:194: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:174: warning: unused variable `cmd' /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c: In function `ide_read_sector_lba': /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:200: storage size of `cmd' isn't known /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:209: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:212: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:200: warning: unused variable `cmd' /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c: In function `ide_read_sector_lba48': /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:218: storage size of `cmd' isn't known /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:228: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:230: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:218: warning: unused variable `cmd' /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c: In function `ide_read_sector': /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:236: invalid use of undefined type `struct harddisk_info' /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:240: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:243: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:246: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:249: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c: In function `init_drive': /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:261: storage size of `cmd' isn't known /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:265: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:266: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:267: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:268: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:269: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:270: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:271: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:272: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:273: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:274: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:276: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:279: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:303: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:306: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:322: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:334: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:350: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:351: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:353: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:354: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:358: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:359: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:364: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:365: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:372: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:373: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:374: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:375: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:376: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:377: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:378: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:379: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:384: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:384: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:384: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:387: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:388: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:394: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:407: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:407: dereferencing pointer to incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:261: warning: unused variable `cmd' /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c: In function `init_controller': /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:461: invalid use of undefined type `struct harddisk_info' /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c: In function `ide_init': /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:482: sizeof applied to an incomplete type /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c: At top level: /home/roger/src/linuxbios/freebios/src/pc80/ide/ide.c:37: storage size of `harddisk_info' isn't known make: *** [ide.o] Error 1