Chyby pri kompilaci cehokoli

Michal Kaspar xkasm08 na sorry.vse.cz
Pondělí Květen 29 09:31:32 CEST 2000


Dobry den.
O vikendu jsem si chtel zkompilovat nejaky program a zjistil jsem, ze se
mi nedari zkompilovat vubec nic. Ani zcela jednoduchy program z nejake
ucebnice c.
Na konci je vypis egcs pri pokusu zkompilovat programek ukazujici praci se
vstupem a vystupem. Instalaci zakladnich knihoven i egcs jsem prohledl,
ale vsechno vypada v poradku. Nevim presne po cem se problem zacal
objevovat, v posledni dobe jsem si zkousel nainstalovat jenom GNUstep.
Dekuji za pripadnou radu.

cpp: -lang-c: linker input file unused since linking not done
In file included from /usr/include/stdio.h:57,
                 from simpleio.c:1:
/usr/include/libio.h:263: parse error before `size_t'
/usr/include/libio.h:272: parse error before `size_t'
/usr/include/libio.h:368: parse error before `_IO_sgetn'
/usr/include/libio.h:368: parse error before `size_t'
/usr/include/libio.h:368: warning: data definition has no type or storage class
In file included from simpleio.c:1:
/usr/include/stdio.h:237: parse error before `size_t'
/usr/include/stdio.h:243: parse error before `size_t'
/usr/include/stdio.h:273: parse error before `size_t'
/usr/include/stdio.h:277: parse error before `size_t'
/usr/include/stdio.h:281: parse error before `size_t'
/usr/include/stdio.h:446: parse error before `fread'
/usr/include/stdio.h:446: parse error before `size_t'
/usr/include/stdio.h:447: warning: data definition has no type or storage class
/usr/include/stdio.h:449: parse error before `fwrite'
/usr/include/stdio.h:449: parse error before `size_t'
/usr/include/stdio.h:450: warning: data definition has no type or storage class
/usr/include/stdio.h:454: parse error before `fread_unlocked'
/usr/include/stdio.h:454: parse error before `size_t'
/usr/include/stdio.h:455: warning: data definition has no type or storage class
/usr/include/stdio.h:456: parse error before `fwrite_unlocked'
/usr/include/stdio.h:457: parse error before `size_t'
/usr/include/stdio.h:458: warning: data definition has no type or storage class


--
Michal Kaspar

VSE Praha



Další informace o konferenci Linux