Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Hp 1020  (gelezen 1046 keer)

Hp 1020
« Gepost op: 2007/01/26, 18:19:50 »
Sinds ik ben over gestapt ben van dapper naar edgy.
Kan ik mijn printer niet meer installeren.
Hij geeft de volgende foutmelding:
thijssie@thijssie:~/foo2zjs$ make
#
# Dependencies...
#
# ... OK!
#
cc -O2 -Wall   -c -o foo2zjs.o foo2zjs.c
foo2zjs.c:60:19: error: stdio.h: No such file or directory
foo2zjs.c:61:20: error: stdlib.h: No such file or directory
foo2zjs.c:62:19: error: ctype.h: No such file or directory
foo2zjs.c:63:20: error: string.h: No such file or directory
foo2zjs.c:64:20: error: unistd.h: No such file or directory
In file included from foo2zjs.c:67:
zjs.h:9:22: error: inttypes.h: No such file or directory
In file included from foo2zjs.c:67:
zjs.h:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘DWORD’
zjs.h:11: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WORD’
zjs.h:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BYTE’
zjs.h:36: error: expected specifier-qualifier-list before ‘DWORD’
zjs.h:246: error: expected specifier-qualifier-list before ‘DWORD’
zjs.h:254: error: expected specifier-qualifier-list before ‘DWORD’
zjs.h:259: error: expected specifier-qualifier-list before ‘int32_t’
zjs.h:263: error: ‘uint32_t’ undeclared here (not in a function)
zjs.h:264: error: expected specifier-qualifier-list before ‘uint32_t’
zjs.h:268: error: ‘uint16_t’ undeclared here (not in a function)
zjs.h:269: error: expected specifier-qualifier-list before ‘uint16_t’
zjs.h:273: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘be32’
zjs.h:291: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘be16’
foo2zjs.c:114: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
foo2zjs.c:117: error: expected specifier-qualifier-list before ‘off_t’
foo2zjs.c:121: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘SeekMedia’
foo2zjs.c: In function ‘usage’:
foo2zjs.c:140: warning: implicit declaration of function ‘fprintf’
foo2zjs.c:140: warning: incompatible implicit declaration of built-in function ‘fprintf’
foo2zjs.c:140: error: ‘stderr’ undeclared (first use in this function)
foo2zjs.c:140: error: (Each undeclared identifier is reported only once
foo2zjs.c:140: error: for each function it appears in.)
foo2zjs.c:222: warning: implicit declaration of function ‘exit’
foo2zjs.c:222: warning: incompatible implicit declaration of built-in function ‘exit’
foo2zjs.c: In function ‘debug’:
foo2zjs.c:319: warning: implicit declaration of function ‘setvbuf’
foo2zjs.c:319: error: ‘stderr’ undeclared (first use in this function)
foo2zjs.c:319: error: ‘_IOLBF’ undeclared (first use in this function)
foo2zjs.c:319: error: ‘BUFSIZ’ undeclared (first use in this function)
foo2zjs.c:321: warning: implicit declaration of function ‘vfprintf’
foo2zjs.c: In function ‘error’:
foo2zjs.c:331: error: ‘stderr’ undeclared (first use in this function)
foo2zjs.c:335: warning: incompatible implicit declaration of built-in function ‘exit’
foo2zjs.c: At top level:
foo2zjs.c:340: error: expected declaration specifiers or ‘...’ before ‘FILE’
foo2zjs.c: In function ‘chunk_write_rsvd’:
foo2zjs.c:344: error: ‘ZJ_HEADER’ has no member named ‘type’
foo2zjs.c:344: warning: implicit declaration of function ‘be32’
foo2zjs.c:345: error: ‘ZJ_HEADER’ has no member named ‘items’
foo2zjs.c:346: error: ‘ZJ_HEADER’ has no member named ‘size’
foo2zjs.c:347: error: ‘ZJ_HEADER’ has no member named ‘reserved’
foo2zjs.c:347: warning: implicit declaration of function ‘be16’
foo2zjs.c:348: error: ‘ZJ_HEADER’ has no member named ‘signature’
foo2zjs.c:349: warning: implicit declaration of function ‘fwrite’
foo2zjs.c:349: warning: incompatible implicit declaration of built-in function ‘fwrite’
foo2zjs.c:349: error: ‘fp’ undeclared (first use in this function)
foo2zjs.c: At top level:
foo2zjs.c:354: error: expected declaration specifiers or ‘...’ before ‘FILE’
foo2zjs.c: In function ‘chunk_write’:
foo2zjs.c:356: error: ‘fp’ undeclared (first use in this function)
foo2zjs.c:356: error: too many arguments to function ‘chunk_write_rsvd’
foo2zjs.c: At top level:
foo2zjs.c:360: error: expected declaration specifiers or ‘...’ before ‘FILE’
foo2zjs.c: In function ‘item_uint32_write’:
foo2zjs.c:364: error: ‘ZJ_ITEM_HEADER’ has no member named ‘size’
foo2zjs.c:365: error: ‘ZJ_ITEM_HEADER’ has no member named ‘item’
foo2zjs.c:366: error: ‘ZJ_ITEM_HEADER’ has no member named ‘type’
foo2zjs.c:367: error: ‘ZJ_ITEM_HEADER’ has no member named ‘param’
foo2zjs.c:368: error: ‘ZJ_ITEM_UINT32’ has no member named ‘value’
foo2zjs.c:369: warning: incompatible implicit declaration of built-in function ‘fwrite’
foo2zjs.c:369: error: ‘fp’ undeclared (first use in this function)
foo2zjs.c: At top level:
foo2zjs.c:373: error: expected declaration specifiers or ‘...’ before ‘FILE’
foo2zjs.c: In function ‘item_str_write’:
foo2zjs.c:378: warning: implicit declaration of function ‘strlen’
foo2zjs.c:378: warning: incompatible implicit declaration of built-in function ‘strlen’
foo2zjs.c:380: error: ‘ZJ_ITEM_HEADER’ has no member named ‘size’
foo2zjs.c:381: error: ‘ZJ_ITEM_HEADER’ has no member named ‘item’
foo2zjs.c:382: error: ‘ZJ_ITEM_HEADER’ has no member named ‘type’
foo2zjs.c:383: error: ‘ZJ_ITEM_HEADER’ has no member named ‘param’
foo2zjs.c:384: error: ‘fp’ undeclared (first use in this function)
foo2zjs.c:386: warning: incompatible implicit declaration of built-in function ‘fwrite’
foo2zjs.c: In function ‘free_chain’:
foo2zjs.c:410: warning: implicit declaration of function ‘free’
foo2zjs.c: At top level:
foo2zjs.c:416: error: expected declaration specifiers or ‘...’ before ‘FILE’
foo2zjs.c: In function ‘write_plane’:
foo2zjs.c:435: error: ‘fp’ undeclared (first use in this function)
foo2zjs.c:435: error: too many arguments to function ‘chunk_write’
foo2zjs.c:436: error: too many arguments to function ‘item_uint32_write’
foo2zjs.c:443: error: too many arguments to function ‘chunk_write’
foo2zjs.c:444: warning: incompatible implicit declaration of built-in function ‘fwrite’
foo2zjs.c:454: error: too many arguments to function ‘chunk_write’
foo2zjs.c:455: warning: incompatible implicit declaration of built-in function ‘fwrite’
foo2zjs.c:457: warning: implicit declaration of function ‘putc’
foo2zjs.c:463: error: too many arguments to function ‘chunk_write’
foo2zjs.c:465: error: too many arguments to function ‘chunk_write’
foo2zjs.c: At top level:
foo2zjs.c:470: error: expected declaration specifiers or ‘...’ before ‘FILE’
foo2zjs.c: In function ‘start_page’:
foo2zjs.c:505: error: ‘ofp’ undeclared (first use in this function)
foo2zjs.c:505: error: too many arguments to function ‘chunk_write’
foo2zjs.c:508: error: too many arguments to function ‘chunk_write_rsvd’
foo2zjs.c:509: error: too many arguments to function ‘item_uint32_write’
foo2zjs.c:511: error: too many arguments to function ‘item_uint32_write’
foo2zjs.c:512: error: too many arguments to function ‘item_uint32_write’
foo2zjs.c:513: error: too many arguments to function ‘item_uint32_write’
foo2zjs.c:514: error: too many arguments to function ‘item_uint32_write’
foo2zjs.c:515: error: too many arguments to function ‘item_uint32_write’
foo2zjs.c:516: error: too many arguments to function ‘item_uint32_write’
foo2zjs.c:518: error: too many arguments to function ‘item_uint32_write’
foo2zjs.c:520: error: too many arguments to function ‘item_uint32_write’
foo2zjs.c:521: error: too many arguments to function ‘item_uint32_write’
foo2zjs.c:522: error: too many arguments to function ‘item_uint32_write’
foo2zjs.c:523: error: too many arguments to function ‘item_uint32_write’
foo2zjs.c:524: error: too many arguments to function ‘item_uint32_write’
foo2zjs.c:525: error: too many arguments to function ‘item_uint32_write’
foo2zjs.c:526: error: too many arguments to function ‘item_uint32_write’
foo2zjs.c:527: error: too many arguments to function ‘item_uint32_write’
foo2zjs.c:528: error: ‘EvenPages’ undeclared (first use in this function)
foo2zjs.c:529: error: ‘SeekMedia’ undeclared (first use in this function)
foo2zjs.c:529: warning: implicit declaration of function ‘ftell’
foo2zjs.c:531: error: too many arguments to function ‘item_uint32_write’
foo2zjs.c: At top level:
foo2zjs.c:535: error: expected ‘)’ before ‘*’ token
foo2zjs.c:542: error: expected declaration specifiers or ‘...’ before ‘FILE’
foo2zjs.c: In function ‘write_page’:
foo2zjs.c:546: error: ‘ofp’ undeclared (first use in this function)
foo2zjs.c:546: error: too many arguments to function ‘start_page’
foo2zjs.c:549: error: too many arguments to function ‘write_plane’
foo2zjs.c:551: error: too many arguments to function ‘write_plane’
foo2zjs.c:555: error: too many arguments to function ‘write_plane’
foo2zjs.c:557: error: too many arguments to function ‘write_plane’
foo2zjs.c:560: error: too many arguments to function ‘write_plane’
foo2zjs.c:562: warning: implicit declaration of function ‘end_page’
foo2zjs.c: In function ‘output_jbig’:
foo2zjs.c:579: warning: implicit declaration of function ‘malloc’
foo2zjs.c:579: warning: incompatible implicit declaration of built-in function ‘malloc’
foo2zjs.c:601: warning: incompatible implicit declaration of built-in function ‘malloc’
foo2zjs.c:608: warning: implicit declaration of function ‘memcpy’
foo2zjs.c:608: warning: incompatible implicit declaration of built-in function ‘memcpy’
foo2zjs.c:615: warning: incompatible implicit declaration of built-in function ‘malloc’
foo2zjs.c: At top level:
foo2zjs.c:627: error: expected ‘)’ before ‘*’ token
foo2zjs.c:670: error: expected ‘)’ before ‘*’ token
foo2zjs.c:681: error: expected ‘)’ before ‘*’ token
foo2zjs.c: In function ‘cmyk_planes’:
foo2zjs.c:705: warning: implicit declaration of function ‘memset’
foo2zjs.c:705: warning: incompatible implicit declaration of built-in function ‘memset’
foo2zjs.c: At top level:
foo2zjs.c:775: error: expected declaration specifiers or ‘...’ before ‘FILE’
foo2zjs.c: In function ‘cmyk_page’:
foo2zjs.c:786: warning: incompatible implicit declaration of built-in function ‘malloc’
foo2zjs.c:796: error: ‘FILE’ undeclared (first use in this function)
foo2zjs.c:796: error: ‘dfp’ undeclared (first use in this function)
foo2zjs.c:798: warning: implicit declaration of function ‘sprintf’
foo2zjs.c:798: warning: incompatible implicit declaration of built-in function ‘sprintf’
foo2zjs.c:799: warning: implicit declaration of function ‘fopen’
foo2zjs.c:802: warning: incompatible implicit declaration of built-in function ‘fwrite’
foo2zjs.c:803: warning: implicit declaration of function ‘fclose’
foo2zjs.c:817: error: ‘ofp’ undeclared (first use in this function)
foo2zjs.c:817: error: too many arguments to function ‘write_page’
foo2zjs.c:819: error: too many arguments to function ‘write_page’
foo2zjs.c:821: error: too many arguments to function ‘write_page’
foo2zjs.c: At top level:
foo2zjs.c:829: error: expected declaration specifiers or ‘...’ before ‘FILE’
foo2zjs.c: In function ‘pksm_page’:
foo2zjs.c:852: error: ‘ofp’ undeclared (first use in this function)
foo2zjs.c:852: error: too many arguments to function ‘write_page’
foo2zjs.c:854: error: too many arguments to function ‘write_page’
foo2zjs.c:856: error: too many arguments to function ‘write_page’
foo2zjs.c: At top level:
foo2zjs.c:862: error: expected declaration specifiers or ‘...’ before ‘FILE’
foo2zjs.c: In function ‘pbm_page’:
foo2zjs.c:899: error: ‘ofp’ undeclared (first use in this function)
foo2zjs.c:899: error: too many arguments to function ‘write_page’
foo2zjs.c: At top level:
foo2zjs.c:907: error: expected declaration specifiers or ‘...’ before ‘FILE’
foo2zjs.c: In function ‘read_and_clip_image’:
foo2zjs.c:913: warning: incompatible implicit declaration of built-in function ‘malloc’
foo2zjs.c:922: warning: implicit declaration of function ‘fread’
foo2zjs.c:922: error: ‘ifp’ undeclared (first use in this function)
foo2zjs.c:945: warning: incompatible implicit declaration of built-in function ‘memset’
foo2zjs.c:977: error: ‘EOF’ undeclared (first use in this function)
foo2zjs.c: At top level:
foo2zjs.c:981: error: expected ‘)’ before ‘*’ token
foo2zjs.c:1049: error: expected ‘)’ before ‘*’ token
foo2zjs.c:1066: error: expected ‘)’ before ‘*’ token
foo2zjs.c:1080: error: expected ‘)’ before ‘*’ token
foo2zjs.c:1105: error: expected ‘)’ before ‘*’ token
foo2zjs.c:1233: error: expected ‘)’ before ‘*’ token
foo2zjs.c:1309: error: expected ‘)’ before ‘*’ token
foo2zjs.c: In function ‘parse_xy’:
foo2zjs.c:1341: warning: implicit declaration of function ‘strtoul’
foo2zjs.c: At top level:
foo2zjs.c:1353: error: expected ‘)’ before ‘*’ token
foo2zjs.c: In function ‘main’:
foo2zjs.c:1393: warning: implicit declaration of function ‘getopt’
foo2zjs.c:1394: error: ‘EOF’ undeclared (first use in this function)
foo2zjs.c:1398: warning: implicit declaration of function ‘atoi’
foo2zjs.c:1398: error: ‘optarg’ undeclared (first use in this function)
foo2zjs.c:1420: warning: implicit declaration of function ‘strcmp’
foo2zjs.c:1446: warning: implicit declaration of function ‘printf’
foo2zjs.c:1446: warning: incompatible implicit declaration of built-in function ‘printf’
foo2zjs.c:1446: warning: incompatible implicit declaration of built-in function ‘exit’
foo2zjs.c:1459: error: ‘optind’ undeclared (first use in this function)
foo2zjs.c:1477: error: ‘EvenPages’ undeclared (first use in this function)
foo2zjs.c:1477: warning: implicit declaration of function ‘tmpfile’
foo2zjs.c:1481: warning: implicit declaration of function ‘start_doc’
foo2zjs.c:1481: error: ‘stdout’ undeclared (first use in this function)
foo2zjs.c:1485: warning: implicit declaration of function ‘do_one’
foo2zjs.c:1485: error: ‘stdin’ undeclared (first use in this function)
foo2zjs.c:1491: error: ‘FILE’ undeclared (first use in this function)
foo2zjs.c:1491: error: ‘ifp’ undeclared (first use in this function)
foo2zjs.c:1506: error: ‘DWORD’ undeclared (first use in this function)
foo2zjs.c:1506: error: expected ‘;’ before ‘media’
foo2zjs.c:1511: error: ‘struct ’ has no member named ‘b’
foo2zjs.c:1512: warning: implicit declaration of function ‘blank_page’
foo2zjs.c:1513: error: ‘struct ’ has no member named ‘e’
foo2zjs.c:1515: error: ‘struct ’ has no member named ‘b’
foo2zjs.c:1515: error: ‘struct ’ has no member named ‘e’
foo2zjs.c:1523: warning: implicit declaration of function ‘load_tray2’
foo2zjs.c:1525: warning: implicit declaration of function ‘fseek’
foo2zjs.c:1525: error: ‘SeekMedia’ undeclared (first use in this function)
foo2zjs.c:1526: error: ‘media’ undeclared (first use in this function)
foo2zjs.c:1527: warning: incompatible implicit declaration of built-in function ‘fwrite’
foo2zjs.c:1533: error: ‘struct ’ has no member named ‘b’
foo2zjs.c:1533: error: ‘struct ’ has no member named ‘e’
foo2zjs.c:1534: error: ‘struct ’ has no member named ‘b’
foo2zjs.c:1535: error: ‘struct ’ has no member named ‘e’
foo2zjs.c:1535: error: ‘struct ’ has no member named ‘b’
foo2zjs.c:1536: warning: implicit declaration of function ‘getc’
foo2zjs.c:1541: warning: implicit declaration of function ‘end_doc’
foo2zjs.c:1543: warning: incompatible implicit declaration of built-in function ‘exit’
make: *** [foo2zjs.o] Fout 1
Ik hoop dat jullie me misschien verder kunnen helpen.

Offline Kiwinote

  • Lid
    • Launchpad
Hp 1020
« Reactie #1 Gepost op: 2007/01/26, 18:22:20 »
Even het pakket build-essential installeren zou moeten helpen.

Hp 1020
« Reactie #2 Gepost op: 2007/01/26, 18:28:16 »
Ja ik zag het net, helemaal over het hoofd gezien!
Dank je wel

edit:
jeee hij doet het weer :)