Vlákno názorů k článku Hrátky s LED a tlačítky pod Linuxem od zaciatocnik - Ked zadam „Makefile par_in.c par_out.c parport.h parport.c“ tak...

  • Článek je starý, nové názory již nelze přidávat.
  • 16. 7. 2009 14:59

    zaciatocnik (neregistrovaný)

    Ked zadam „Makefile par_in.c par_out.c parport.h parport.c“ tak mi to vypise: „bash: Makefile: prikaz nenajdeny“ Vie mi s tým niekto poradit?

  • 16. 7. 2009 15:44

    zaciatocnik (neregistrovaný)

    Uz som to vyriesil, ale mam problem s tym, ze vzdy mi to vypise nejake chyby…

    $ make

    gcc -O2 -Wall -ggdb -c parport.c -o parport.o par­port.c:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘parport’ In file included from /usr/include/stdi­o.h:75,
    from parport.c:2: /usr/include/li­bio.h:332: error: expected specifier-qualifier-list before ‘size_t’ /usr/include/li­bio.h:364: error: expected declaration specifiers or ‘…’ before ‘size_t’ /usr/include/li­bio.h:373: error: expected declaration specifiers or ‘…’ before ‘size_t’ /usr/include/li­bio.h:493: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_IO_sgetn’ In file included from parport.c:2: /usr/include/stdi­o.h:312: error: expected declaration specifiers or ‘…’ before ‘size_t’ /usr/include/stdi­o.h:319: error: expected declaration specifiers or ‘…’ before ‘size_t’ /usr/include/stdi­o.h:361: error: expected declaration specifiers or ‘…’ before ‘size_t’ /usr/include/stdi­o.h:363: error: format string argument not a string type /usr/include/stdi­o.h:365: error: expected declaration specifiers or ‘…’ before ‘size_t’ /usr/include/stdi­o.h:678: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread’ /usr/include/stdi­o.h:684: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite’ /usr/include/stdi­o.h:706: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread_unlocked’ /usr/include/stdi­o.h:708: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite_unlocked’ In file included from /usr/include/stdi­o.h:906,
    from parport.c:2: /usr/include/bit­s/stdio2.h:24: error: expected declaration specifiers or ‘…’ before ‘size_t’ /usr/include/bit­s/stdio2.h:26: error: expected declaration specifiers or ‘…’ before ‘size_t’ /usr/include/bit­s/stdio2.h:53: error: expected declaration specifiers or ‘…’ before ‘size_t’ /usr/include/bit­s/stdio2.h:54: error: expected declaration specifiers or ‘…’ before ‘size_t’ /usr/include/bit­s/stdio2.h:56: error: expected declaration specifiers or ‘…’ before ‘size_t’ /usr/include/bit­s/stdio2.h:57: error: expected declaration specifiers or ‘…’ before ‘size_t’ /usr/include/bit­s/stdio2.h:62: error: expected declaration specifiers or ‘…’ before ‘size_t’ /usr/include/bit­s/stdio2.h: In function ‘snprintf’: /usr/include/bit­s/stdio2.h:65: error: ‘__n’ undeclared (first use in this function) /usr/include/bit­s/stdio2.h:65: error: (Each undeclared identifier is reported only once /usr/include/bit­s/stdio2.h:65: error: for each function it appears in.) /usr/include/bit­s/stdio2.h: At top level: /usr/include/bit­s/stdio2.h:75: error: expected declaration specifiers or ‘…’ before ‘size_t’ /usr/include/bit­s/stdio2.h: In function ‘vsnprintf’: /usr/include/bit­s/stdio2.h:78: error: ‘__n’ undeclared (first use in this function) /usr/include/bit­s/stdio2.h: At top level: /usr/include/bit­s/stdio2.h:220: error: expected declaration specifiers or ‘…’ before ‘size_t’ /usr/include/bit­s/stdio2.h: In function ‘gets’: /usr/include/bit­s/stdio2.h:228: error: ‘size_t’ undeclared (first use in this function) /usr/include/bit­s/stdio2.h:229: error: too many arguments to function ‘__gets_chk’ /usr/include/bit­s/stdio2.h: At top level: /usr/include/bit­s/stdio2.h:233: error: expected declaration specifiers or ‘…’ before ‘size_t’ /usr/include/bit­s/stdio2.h:238: error: expected declaration specifiers or ‘…’ before ‘size_t’ /usr/include/bit­s/stdio2.h: In function ‘fgets’: /usr/include/bit­s/stdio2.h:247: error: ‘size_t’ undeclared (first use in this function) /usr/include/bit­s/stdio2.h:250: error: too many arguments to function ‘__fgets_chk’ /usr/include/bit­s/stdio2.h:252: error: expected ‘)’ before ‘__n’ /usr/include/bit­s/stdio2.h:253: error: too many arguments to function ‘__fgets_chk_warn’ /usr/include/bit­s/stdio2.h: At top level: /usr/include/bit­s/stdio2.h:258: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fread_chk’ /usr/include/bit­s/stdio2.h:261: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fread_alias’ /usr/include/bit­s/stdio2.h:265: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fread_chk_warn’ /usr/include/bit­s/stdio2.h:274: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread’ /usr/include/bit­s/stdio2.h:319: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fread_unloc­ked_chk’ /usr/include/bit­s/stdio2.h:322: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fread_unloc­ked_alias’ /usr/include/bit­s/stdio2.h:326: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fread_unloc­ked_chk_warn’ /usr/include/bit­s/stdio2.h:335: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread_unlocked’ make: *** [parport.o] Chyba 1