Code: Alles auswählen
despo@despo-laptop:~/Desktop/tfdisk-020907$ make
gcc -O2 -I. -Wall -c -o tfget.o tfget.c
In file included from /usr/include/bits/types.h:31,
from /usr/include/unistd.h:186,
from topfield.h:31,
from tfget.c:21:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/stddef.h:214: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘typedef’
In file included from topfield.h:31,
from tfget.c:21:
/usr/include/unistd.h:325: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:331: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:469: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from topfield.h:31,
from tfget.c:21:
/usr/include/unistd.h:566: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘confstr’
/usr/include/unistd.h:738: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:774: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from topfield.h:31,
from tfget.c:21:
/usr/include/unistd.h:842: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:849: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:860: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:862: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:880: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/unistd.h:881: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from /usr/include/fcntl.h:34,
from topfield.h:34,
from tfget.c:21:
/usr/include/bits/fcntl.h:186: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from topfield.h:35,
from tfget.c:21:
/usr/include/string.h:39: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:43: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:52: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:59: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:62: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:66: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:88: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:96: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:102: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:109: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strxfrm’
/usr/include/string.h:184: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strcspn’
/usr/include/string.h:188: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strspn’
/usr/include/string.h:242: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strlen’
/usr/include/string.h:270: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:288: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:292: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:296: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:299: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/string.h:329: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from /usr/include/string.h:417,
from topfield.h:35,
from tfget.c:21:
/usr/include/bits/string2.h:969: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strcspn_c1’
/usr/include/bits/string2.h:971: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strcspn_c1’
/usr/include/bits/string2.h:979: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strcspn_c2’
/usr/include/bits/string2.h:982: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strcspn_c2’
/usr/include/bits/string2.h:991: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strcspn_c3’
/usr/include/bits/string2.h:994: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strcspn_c3’
/usr/include/bits/string2.h:1045: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strspn_c1’
/usr/include/bits/string2.h:1047: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strspn_c1’
/usr/include/bits/string2.h:1056: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strspn_c2’
/usr/include/bits/string2.h:1059: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strspn_c2’
/usr/include/bits/string2.h:1068: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strspn_c3’
/usr/include/bits/string2.h:1071: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__strspn_c3’
/usr/include/bits/string2.h: In function ‘__strpbrk_c2’:
/usr/include/bits/string2.h:1129: error: ‘size_t’ undeclared (first use in this function)
/usr/include/bits/string2.h:1129: error: (Each undeclared identifier is reported only once
/usr/include/bits/string2.h:1129: error: for each function it appears in.)
/usr/include/bits/string2.h:1129: error: expected ‘;’ before ‘__s’
/usr/include/bits/string2.h: In function ‘__strpbrk_c3’:
/usr/include/bits/string2.h:1142: error: ‘size_t’ undeclared (first use in this function)
/usr/include/bits/string2.h:1142: error: expected ‘;’ before ‘__s’
In file included from /usr/include/bits/string2.h:1299,
from /usr/include/string.h:417,
from topfield.h:35,
from tfget.c:21:
/usr/include/stdlib.h: At top level:
/usr/include/stdlib.h:589: error: expected ‘ ;) ’ before ‘__size’
/usr/include/stdlib.h:591: error: expected ‘ ;) ’ before ‘__nmemb’
In file included from /usr/include/string.h:417,
from topfield.h:35,
from tfget.c:21:
/usr/include/bits/string2.h:1323: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from topfield.h:36,
from tfget.c:21:
/usr/include/time.h:200: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘strftime’
In file included from /usr/include/_G_config.h:44,
from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from topfield.h:50,
from tfget.c:21:
/usr/include/gconv.h:72: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/gconv.h:88: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/gconv.h:97: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/gconv.h:174: error: expected specifier-qualifier-list before ‘size_t’
In file included from /usr/include/stdio.h:72,
from topfield.h:50,
from tfget.c:21:
/usr/include/libio.h:328: error: expected specifier-qualifier-list before ‘size_t’
/usr/include/libio.h:360: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/libio.h:369: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/libio.h:485: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_IO_sgetn’
In file included from topfield.h:50,
from tfget.c:21:
/usr/include/stdio.h:312: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:319: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:361: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:363: error: format string argument not a string type
/usr/include/stdio.h:365: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdio.h:614: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread’
/usr/include/stdio.h:620: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite’
/usr/include/stdio.h:642: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread_unlocked’
/usr/include/stdio.h:644: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite_unlocked’
In file included from topfield.h:51,
from tfget.c:21:
/usr/include/stdlib.h:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__ctype_get_mb_cur_max’
/usr/include/stdlib.h:455: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:485: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:487: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
/usr/include/stdlib.h:600: error: expected declaration specifiers or ‘...’ before ‘size_t’
In file included from /usr/include/stdlib.h:612,
from topfield.h:51,
from tfget.c:21:
/usr/include/alloca.h:33: error: expected ‘ ;) ’ before ‘__size’
In file included from topfield.h:51,
from tfget.c:21:
/usr/include/stdlib.h:617: error: expected ‘ ;) ’ before ‘__size’
/usr/include/stdlib.h:622: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:622: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:776: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:776: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:777: error: nonnull argument with out-of-range operand number (argument 1, operand 5)
/usr/include/stdlib.h:781: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:781: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:782: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
/usr/include/stdlib.h:854: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:857: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:861: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:865: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:874: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:878: error: expected declaration specifiers or ‘...’ before ‘size_t’
/usr/include/stdlib.h:885: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mbstowcs’
/usr/include/stdlib.h:888: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wcstombs’
tfget.c: In function ‘main’:
tfget.c:72: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness
tfget.c:73: warning: pointer targets in passing argument 1 of ‘strtol’ differ in signedness
make: *** [tfget.o] Fehler 1
despo@despo-laptop:~/Desktop/tfdisk-020907$