========================================================== AgostinooDiLena: Unzip: [OK] ===== == AgostinooDiLena : Compiling main1.c with our files, except of xsml_iter.c == AgostinooDiLena : Compiling main2.c with our files, except of xsml_iter.c == AgostinooDiLena : Compiling main3.c with our files, except of xsml_iter.c Compilation with our files [OK] ========================================================== AlainBindele: Unzip: [OK] ===== == AlainBindele : Compiling main1.c with our files, except of xsml_iter.c xsml_parse_query.c:12: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:20: error: ‘BUF_SIZE’ undeclared (first use in this function) xsml_parse_query.c:20: error: (Each undeclared identifier is reported only once xsml_parse_query.c:20: error: for each function it appears in.) xsml_parse_query.c:25: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:25: error: ‘QUERY_ERROR’ undeclared (first use in this function) xsml_parse_query.c:30: error: ‘qptr’ undeclared (first use in this function) xsml_parse_query.c:77: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_query.c: In function ‘check_attributes’: xsml_query.c:21: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c:32: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_query.c: In function ‘query’: xsml_query.c:85: warning: incompatible implicit declaration of built-in function ‘malloc’ == AlainBindele : Compiling main2.c with our files, except of xsml_iter.c xsml_parse_query.c:12: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:20: error: ‘BUF_SIZE’ undeclared (first use in this function) xsml_parse_query.c:20: error: (Each undeclared identifier is reported only once xsml_parse_query.c:20: error: for each function it appears in.) xsml_parse_query.c:25: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:25: error: ‘QUERY_ERROR’ undeclared (first use in this function) xsml_parse_query.c:30: error: ‘qptr’ undeclared (first use in this function) xsml_parse_query.c:77: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_query.c: In function ‘check_attributes’: xsml_query.c:21: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c:32: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_query.c: In function ‘query’: xsml_query.c:85: warning: incompatible implicit declaration of built-in function ‘malloc’ == AlainBindele : Compiling main3.c with our files, except of xsml_iter.c xsml_parse_query.c:12: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:20: error: ‘BUF_SIZE’ undeclared (first use in this function) xsml_parse_query.c:20: error: (Each undeclared identifier is reported only once xsml_parse_query.c:20: error: for each function it appears in.) xsml_parse_query.c:25: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:25: error: ‘QUERY_ERROR’ undeclared (first use in this function) xsml_parse_query.c:30: error: ‘qptr’ undeclared (first use in this function) xsml_parse_query.c:77: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_query.c: In function ‘check_attributes’: xsml_query.c:21: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c:32: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_query.c: In function ‘query’: xsml_query.c:85: warning: incompatible implicit declaration of built-in function ‘malloc’ Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AlainBindele/AlainBindele' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AlainBindele/progetto_LabProg2_patch' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AlainBindele/test' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AlainBindele/AlainBindele' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AlainBindele/progetto_LabProg2_patch' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AlainBindele/test' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/AlainBindele/AlainBindele' == AlainBindele : Compiling main1.c with the student files xsml_iter.c: In function ‘next_attr’: xsml_iter.c:24: error: ‘struct iteratore’ has no member named ‘p’ xsml_iter.c:26: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:26: error: (Each undeclared identifier is reported only once xsml_iter.c:26: error: for each function it appears in.) xsml_parse_query.c:12: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:20: error: ‘BUF_SIZE’ undeclared (first use in this function) xsml_parse_query.c:20: error: (Each undeclared identifier is reported only once xsml_parse_query.c:20: error: for each function it appears in.) xsml_parse_query.c:25: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:25: error: ‘QUERY_ERROR’ undeclared (first use in this function) xsml_parse_query.c:30: error: ‘qptr’ undeclared (first use in this function) xsml_parse_query.c:77: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_query.c: In function ‘check_attributes’: xsml_query.c:19: error: ‘attr’ undeclared (first use in this function) xsml_query.c:19: error: (Each undeclared identifier is reported only once xsml_query.c:19: error: for each function it appears in.) xsml_query.c:19: error: expected ‘;’ before ‘sourcAttr’ xsml_query.c:31: error: ‘sourcAttr’ undeclared (first use in this function) xsml_query.c:31: error: expected ‘;’ before ‘next’ xsml_query.c:32: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_query.c: In function ‘query’: xsml_query.c:80: error: ‘struct gen_list’ has no member named ‘first’ xsml_query.c:96: error: ‘struct gen_list’ has no member named ‘first’ xsml_query.c:111: error: ‘struct gen_list’ has no member named ‘first’ xsml_query.c:144: error: ‘struct gen_list’ has no member named ‘first’ == AlainBindele : Compiling main2.c with the student files xsml_iter.c: In function ‘next_attr’: xsml_iter.c:24: error: ‘struct iteratore’ has no member named ‘p’ xsml_iter.c:26: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:26: error: (Each undeclared identifier is reported only once xsml_iter.c:26: error: for each function it appears in.) xsml_parse_query.c:12: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:20: error: ‘BUF_SIZE’ undeclared (first use in this function) xsml_parse_query.c:20: error: (Each undeclared identifier is reported only once xsml_parse_query.c:20: error: for each function it appears in.) xsml_parse_query.c:25: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:25: error: ‘QUERY_ERROR’ undeclared (first use in this function) xsml_parse_query.c:30: error: ‘qptr’ undeclared (first use in this function) xsml_parse_query.c:77: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_query.c: In function ‘check_attributes’: xsml_query.c:19: error: ‘attr’ undeclared (first use in this function) xsml_query.c:19: error: (Each undeclared identifier is reported only once xsml_query.c:19: error: for each function it appears in.) xsml_query.c:19: error: expected ‘;’ before ‘sourcAttr’ xsml_query.c:31: error: ‘sourcAttr’ undeclared (first use in this function) xsml_query.c:31: error: expected ‘;’ before ‘next’ xsml_query.c:32: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_query.c: In function ‘query’: xsml_query.c:80: error: ‘struct gen_list’ has no member named ‘first’ xsml_query.c:96: error: ‘struct gen_list’ has no member named ‘first’ xsml_query.c:111: error: ‘struct gen_list’ has no member named ‘first’ xsml_query.c:144: error: ‘struct gen_list’ has no member named ‘first’ == AlainBindele : Compiling main3.c with the student files xsml_iter.c: In function ‘next_attr’: xsml_iter.c:24: error: ‘struct iteratore’ has no member named ‘p’ xsml_iter.c:26: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:26: error: (Each undeclared identifier is reported only once xsml_iter.c:26: error: for each function it appears in.) xsml_parse_query.c:12: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:20: error: ‘BUF_SIZE’ undeclared (first use in this function) xsml_parse_query.c:20: error: (Each undeclared identifier is reported only once xsml_parse_query.c:20: error: for each function it appears in.) xsml_parse_query.c:25: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:25: error: ‘QUERY_ERROR’ undeclared (first use in this function) xsml_parse_query.c:30: error: ‘qptr’ undeclared (first use in this function) xsml_parse_query.c:77: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_query.c: In function ‘check_attributes’: xsml_query.c:19: error: ‘attr’ undeclared (first use in this function) xsml_query.c:19: error: (Each undeclared identifier is reported only once xsml_query.c:19: error: for each function it appears in.) xsml_query.c:19: error: expected ‘;’ before ‘sourcAttr’ xsml_query.c:31: error: ‘sourcAttr’ undeclared (first use in this function) xsml_query.c:31: error: expected ‘;’ before ‘next’ xsml_query.c:32: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_query.c: In function ‘query’: xsml_query.c:80: error: ‘struct gen_list’ has no member named ‘first’ xsml_query.c:96: error: ‘struct gen_list’ has no member named ‘first’ xsml_query.c:111: error: ‘struct gen_list’ has no member named ‘first’ xsml_query.c:144: error: ‘struct gen_list’ has no member named ‘first’ Compilation with the student files [FAILED]. ========================================================== AlbertoRivelli: Unzip: [OK] ===== == AlbertoRivelli : Compiling main1.c with our files, except of xsml_iter.c gcc: xsml_parse_query.c: No such file or directory xsml_iter.c: In function ‘next_attr’: xsml_iter.c:18: error: dereferencing pointer to incomplete type xsml_query.c:3: error: expected declaration specifiers or ‘...’ before ‘elem’ xsml_query.c:5: error: expected declaration specifiers or ‘...’ before ‘elem’ xsml_query.c: In function ‘compare’: xsml_query.c:13: error: ‘NULL’ undeclared (first use in this function) xsml_query.c:13: error: (Each undeclared identifier is reported only once xsml_query.c:13: error: for each function it appears in.) xsml_query.c:21: error: ‘attrib’ undeclared (first use in this function) xsml_query.c:21: error: expected ‘;’ before ‘temp’ xsml_query.c:23: error: ‘temp’ undeclared (first use in this function) xsml_query.c: In function ‘query’: xsml_query.c:34: error: ‘NULL’ undeclared (first use in this function) xsml_query.c:38: error: incompatible type for argument 2 of ‘rootsearch’ xsml_query.c:38: error: too many arguments to function ‘rootsearch’ xsml_query.c:40: error: incompatible type for argument 2 of ‘search’ xsml_query.c:40: error: too many arguments to function ‘search’ xsml_query.c: At top level: xsml_query.c:48: error: expected declaration specifiers or ‘...’ before ‘elem’ xsml_query.c: In function ‘search’: xsml_query.c:59: error: ‘find’ undeclared (first use in this function) xsml_query.c:59: error: too many arguments to function ‘search’ xsml_query.c:63: error: too many arguments to function ‘rootsearch’ xsml_query.c: At top level: xsml_query.c:78: error: expected declaration specifiers or ‘...’ before ‘elem’ xsml_query.c: In function ‘rootsearch’: xsml_query.c:82: error: ‘find’ undeclared (first use in this function) xsml_query.c:85: error: ‘NULL’ undeclared (first use in this function) xsml_query.c:102: error: too many arguments to function ‘rootsearch’ == AlbertoRivelli : Compiling main2.c with our files, except of xsml_iter.c gcc: xsml_parse_query.c: No such file or directory xsml_iter.c: In function ‘next_attr’: xsml_iter.c:18: error: dereferencing pointer to incomplete type xsml_query.c:3: error: expected declaration specifiers or ‘...’ before ‘elem’ xsml_query.c:5: error: expected declaration specifiers or ‘...’ before ‘elem’ xsml_query.c: In function ‘compare’: xsml_query.c:13: error: ‘NULL’ undeclared (first use in this function) xsml_query.c:13: error: (Each undeclared identifier is reported only once xsml_query.c:13: error: for each function it appears in.) xsml_query.c:21: error: ‘attrib’ undeclared (first use in this function) xsml_query.c:21: error: expected ‘;’ before ‘temp’ xsml_query.c:23: error: ‘temp’ undeclared (first use in this function) xsml_query.c: In function ‘query’: xsml_query.c:34: error: ‘NULL’ undeclared (first use in this function) xsml_query.c:38: error: incompatible type for argument 2 of ‘rootsearch’ xsml_query.c:38: error: too many arguments to function ‘rootsearch’ xsml_query.c:40: error: incompatible type for argument 2 of ‘search’ xsml_query.c:40: error: too many arguments to function ‘search’ xsml_query.c: At top level: xsml_query.c:48: error: expected declaration specifiers or ‘...’ before ‘elem’ xsml_query.c: In function ‘search’: xsml_query.c:59: error: ‘find’ undeclared (first use in this function) xsml_query.c:59: error: too many arguments to function ‘search’ xsml_query.c:63: error: too many arguments to function ‘rootsearch’ xsml_query.c: At top level: xsml_query.c:78: error: expected declaration specifiers or ‘...’ before ‘elem’ xsml_query.c: In function ‘rootsearch’: xsml_query.c:82: error: ‘find’ undeclared (first use in this function) xsml_query.c:85: error: ‘NULL’ undeclared (first use in this function) xsml_query.c:102: error: too many arguments to function ‘rootsearch’ == AlbertoRivelli : Compiling main3.c with our files, except of xsml_iter.c gcc: xsml_parse_query.c: No such file or directory xsml_iter.c: In function ‘next_attr’: xsml_iter.c:18: error: dereferencing pointer to incomplete type xsml_query.c:3: error: expected declaration specifiers or ‘...’ before ‘elem’ xsml_query.c:5: error: expected declaration specifiers or ‘...’ before ‘elem’ xsml_query.c: In function ‘compare’: xsml_query.c:13: error: ‘NULL’ undeclared (first use in this function) xsml_query.c:13: error: (Each undeclared identifier is reported only once xsml_query.c:13: error: for each function it appears in.) xsml_query.c:21: error: ‘attrib’ undeclared (first use in this function) xsml_query.c:21: error: expected ‘;’ before ‘temp’ xsml_query.c:23: error: ‘temp’ undeclared (first use in this function) xsml_query.c: In function ‘query’: xsml_query.c:34: error: ‘NULL’ undeclared (first use in this function) xsml_query.c:38: error: incompatible type for argument 2 of ‘rootsearch’ xsml_query.c:38: error: too many arguments to function ‘rootsearch’ xsml_query.c:40: error: incompatible type for argument 2 of ‘search’ xsml_query.c:40: error: too many arguments to function ‘search’ xsml_query.c: At top level: xsml_query.c:48: error: expected declaration specifiers or ‘...’ before ‘elem’ xsml_query.c: In function ‘search’: xsml_query.c:59: error: ‘find’ undeclared (first use in this function) xsml_query.c:59: error: too many arguments to function ‘search’ xsml_query.c:63: error: too many arguments to function ‘rootsearch’ xsml_query.c: At top level: xsml_query.c:78: error: expected declaration specifiers or ‘...’ before ‘elem’ xsml_query.c: In function ‘rootsearch’: xsml_query.c:82: error: ‘find’ undeclared (first use in this function) xsml_query.c:85: error: ‘NULL’ undeclared (first use in this function) xsml_query.c:102: error: too many arguments to function ‘rootsearch’ Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AlbertoRivelli/AlbertoRivelli' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AlbertoRivelli/AlbertoRivelli' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/AlbertoRivelli/AlbertoRivelli' == AlbertoRivelli : Compiling main1.c with the student files gcc: xsml_parse_query.c: No such file or directory xsml_list.c:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token xsml_list.c:1:12: warning: null character(s) ignored xsml_list.c:1:108: warning: null character(s) ignored xsml_list.c:1:116: warning: null character(s) ignored xsml_list.c:1:124: warning: null character(s) ignored xsml_list.c:1:136: warning: null character(s) ignored xsml_list.c:1: warning: integer constant is too large for ‘long’ type xsml_list.c:1:148: warning: null character(s) ignored xsml_list.c:1:155: warning: null character(s) ignored xsml_list.c:1:158: warning: null character(s) ignored xsml_list.c:1:263: warning: null character(s) ignored xsml_list.c:1:270: warning: null character(s) ignored xsml_list.c:1:302: warning: null character(s) ignored xsml_list.c:1: error: stray ‘#’ in program In file included from xsml_list.c:2: /usr/include/stdlib.h:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__ctype_get_mb_cur_max’ In file included from xsml_list.c:2: /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:589: error: expected ‘)’ before ‘__size’ /usr/include/stdlib.h:591: error: expected ‘)’ before ‘__nmemb’ /usr/include/stdlib.h:600: error: expected declaration specifiers or ‘...’ before ‘size_t’ In file included from /usr/include/stdlib.h:612, from xsml_list.c:2: /usr/include/alloca.h:33: error: expected ‘)’ before ‘__size’ In file included from xsml_list.c:2: /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’ xsml_list.c:42:1: warning: null character(s) ignored xsml_list.c:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token xsml_list.c:42:497: warning: null character(s) ignored xsml_list.c:42:593: warning: null character(s) ignored xsml_list.c:42:601: warning: null character(s) ignored xsml_list.c:42:609: warning: null character(s) ignored xsml_list.c:42:621: warning: null character(s) ignored xsml_list.c:42: warning: integer constant is too large for ‘long’ type xsml_list.c:42:633: warning: null character(s) ignored xsml_list.c:42:640: warning: null character(s) ignored xsml_list.c:42:643: warning: null character(s) ignored xsml_list.c:42:748: warning: null character(s) ignored xsml_list.c:42:755: warning: null character(s) ignored xsml_list.c:42:787: warning: null character(s) ignored In file included from /usr/include/_G_config.h:44, from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from xsml_node.h:8, from xsml_list.c:47: /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 xsml_node.h:8, from xsml_list.c:47: /usr/include/libio.h:329: error: expected specifier-qualifier-list before ‘size_t’ /usr/include/libio.h:361: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/libio.h:370: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/libio.h:486: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_IO_sgetn’ In file included from xsml_node.h:8, from xsml_list.c:47: /usr/include/stdio.h:171: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/include/stdio.h:213: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:218: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:228: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:248: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/include/stdio.h:254: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/include/stdio.h:280: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/include/stdio.h:303: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:307: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:314: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:318: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:327: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:342: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:357: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/stdio.h:359: error: format string argument not a string type /usr/include/stdio.h:361: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/stdio.h:399: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:441: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:442: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:460: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:471: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:483: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/include/stdio.h:484: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/include/stdio.h:504: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/include/stdio.h:512: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/include/stdio.h:520: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:523: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/include/stdio.h:532: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/include/stdio.h:590: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/include/stdio.h:603: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/include/stdio.h:610: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread’ /usr/include/stdio.h:616: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite’ /usr/include/stdio.h:638: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread_unlocked’ /usr/include/stdio.h:640: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite_unlocked’ /usr/include/stdio.h:650: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:655: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:660: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:674: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:679: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:699: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:704: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:727: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:729: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:731: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:736: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:737: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:738: error: expected ‘)’ before ‘*’ token In file included from xsml_node.h:8, from xsml_list.c:47: /usr/include/stdio.h:759: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:764: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:774: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/include/stdio.h:780: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:814: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:818: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:821: error: expected ‘)’ before ‘*’ token In file included from xsml_node.h:10, from xsml_list.c:47: /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’ xsml_list.c: In function ‘new_text_node’: xsml_list.c:54: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘new_tag_node’: xsml_list.c:69: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘set_attributo’: xsml_list.c:138: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c:150:1: warning: null character(s) ignored xsml_list.c: At top level: xsml_list.c:150: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token xsml_list.c:150:297: warning: null character(s) ignored xsml_list.c:150:393: warning: null character(s) ignored xsml_list.c:150:401: warning: null character(s) ignored xsml_list.c:150:409: warning: null character(s) ignored xsml_list.c:150:421: warning: null character(s) ignored xsml_list.c:150: warning: integer constant is too large for ‘long’ type xsml_list.c:150:433: warning: null character(s) ignored xsml_list.c:150:440: warning: null character(s) ignored xsml_list.c:150:443: warning: null character(s) ignored xsml_list.c:150:548: warning: null character(s) ignored xsml_list.c:150:555: warning: null character(s) ignored xsml_list.c:150:587: warning: null character(s) ignored xsml_list.c:150: error: stray ‘#’ in program xsml_list.c:167: warning: useless type name in empty declaration xsml_list.c:171: error: redefinition of ‘struct node’ xsml_list.c:182: error: redefinition of typedef ‘node’ xsml_node.h:33: error: previous declaration of ‘node’ was here xsml_list.c:185: error: redefinition of ‘struct attribute’ xsml_list.c:188: error: redefinition of typedef ‘attrib’ xsml_node.h:39: error: previous declaration of ‘attrib’ was here xsml_list.c:203:2: error: #endif without #if xsml_list.c:204:1: warning: null character(s) ignored xsml_list.c:204: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token xsml_list.c:204:107: warning: null character(s) ignored xsml_list.c:204:206: warning: null character(s) ignored xsml_list.c:204:214: warning: null character(s) ignored xsml_list.c:204:222: warning: null character(s) ignored xsml_list.c:204:234: warning: null character(s) ignored xsml_list.c:204: warning: integer constant is too large for ‘long’ type xsml_list.c:204:246: warning: null character(s) ignored xsml_list.c:204:253: warning: null character(s) ignored xsml_list.c:204:256: warning: null character(s) ignored xsml_list.c:204:361: warning: null character(s) ignored xsml_list.c:204:368: warning: null character(s) ignored xsml_list.c:204:400: warning: null character(s) ignored xsml_list.c:205:1: error: invalid suffix "a8" on integer constant xsml_list.c:211: error: expected identifier or ‘(’ before ‘>’ token xsml_list.c:217: error: expected identifier or ‘(’ before ‘>’ token xsml_list.c:218:4: error: invalid suffix "c84" on integer constant xsml_list.c:220: error: expected identifier or ‘(’ before ‘<’ token xsml_list.c:221: error: expected identifier or ‘(’ before ‘<’ token xsml_list.c:222: error: expected identifier or ‘(’ before ‘--’ token xsml_list.c:224: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘/’ token xsml_list.c:225:3: error: invalid suffix "c4" on integer constant xsml_list.c:226: error: stray ‘#’ in program xsml_list.c:227: error: stray ‘#’ in program xsml_list.c:230: error: expected identifier or ‘(’ before numeric constant xsml_list.c:230:3: error: invalid suffix "c6" on integer constant xsml_list.c:234: error: expected identifier or ‘(’ before ‘elem’ xsml_list.c:235: error: expected identifier or ‘(’ before ‘<’ token xsml_list.c:240: error: expected identifier or ‘(’ before ‘list’ xsml_list.c:241: error: expected identifier or ‘(’ before ‘--’ token xsml_list.c:243:1: error: invalid suffix "a8" on integer constant xsml_list.c:243: error: expected identifier or ‘(’ before numeric constant xsml_list.c:245: error: expected identifier or ‘(’ before numeric constant xsml_list.c:245:4: error: invalid suffix "d30" on integer constant xsml_list.c:247: error: stray ‘#’ in program xsml_list.c:249:1: error: invalid suffix "a8" on integer constant xsml_list.c:263: error: expected identifier or ‘(’ before ‘>’ token xsml_list.c:269: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘/’ token xsml_list.c:270:3: error: invalid suffix "d0" on integer constant xsml_list.c:271: error: stray ‘#’ in program xsml_list.c:272: error: stray ‘#’ in program xsml_list.c:273:1: error: invalid suffix "a11" on integer constant xsml_list.c:276: error: expected identifier or ‘(’ before ‘>’ token xsml_list.c:278: error: expected identifier or ‘(’ before numeric constant xsml_list.c:278:4: error: invalid suffix "d21" on integer constant xsml_list.c:292: error: expected identifier or ‘(’ before ‘node’ xsml_list.c:293: error: expected identifier or ‘(’ before ‘<’ token xsml_list.c:298: error: expected identifier or ‘(’ before ‘attrib’ xsml_list.c:299: error: expected identifier or ‘(’ before numeric constant xsml_list.c:299:4: error: invalid suffix "d34" on integer constant xsml_list.c:301: error: stray ‘#’ in program xsml_list.c:301:9: warning: null character(s) ignored xsml_list.c:301:1776: warning: no newline at end of file == AlbertoRivelli : Compiling main2.c with the student files gcc: xsml_parse_query.c: No such file or directory xsml_list.c:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token xsml_list.c:1:12: warning: null character(s) ignored xsml_list.c:1:108: warning: null character(s) ignored xsml_list.c:1:116: warning: null character(s) ignored xsml_list.c:1:124: warning: null character(s) ignored xsml_list.c:1:136: warning: null character(s) ignored xsml_list.c:1: warning: integer constant is too large for ‘long’ type xsml_list.c:1:148: warning: null character(s) ignored xsml_list.c:1:155: warning: null character(s) ignored xsml_list.c:1:158: warning: null character(s) ignored xsml_list.c:1:263: warning: null character(s) ignored xsml_list.c:1:270: warning: null character(s) ignored xsml_list.c:1:302: warning: null character(s) ignored xsml_list.c:1: error: stray ‘#’ in program In file included from xsml_list.c:2: /usr/include/stdlib.h:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__ctype_get_mb_cur_max’ In file included from xsml_list.c:2: /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:589: error: expected ‘)’ before ‘__size’ /usr/include/stdlib.h:591: error: expected ‘)’ before ‘__nmemb’ /usr/include/stdlib.h:600: error: expected declaration specifiers or ‘...’ before ‘size_t’ In file included from /usr/include/stdlib.h:612, from xsml_list.c:2: /usr/include/alloca.h:33: error: expected ‘)’ before ‘__size’ In file included from xsml_list.c:2: /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’ xsml_list.c:42:1: warning: null character(s) ignored xsml_list.c:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token xsml_list.c:42:497: warning: null character(s) ignored xsml_list.c:42:593: warning: null character(s) ignored xsml_list.c:42:601: warning: null character(s) ignored xsml_list.c:42:609: warning: null character(s) ignored xsml_list.c:42:621: warning: null character(s) ignored xsml_list.c:42: warning: integer constant is too large for ‘long’ type xsml_list.c:42:633: warning: null character(s) ignored xsml_list.c:42:640: warning: null character(s) ignored xsml_list.c:42:643: warning: null character(s) ignored xsml_list.c:42:748: warning: null character(s) ignored xsml_list.c:42:755: warning: null character(s) ignored xsml_list.c:42:787: warning: null character(s) ignored In file included from /usr/include/_G_config.h:44, from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from xsml_node.h:8, from xsml_list.c:47: /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 xsml_node.h:8, from xsml_list.c:47: /usr/include/libio.h:329: error: expected specifier-qualifier-list before ‘size_t’ /usr/include/libio.h:361: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/libio.h:370: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/libio.h:486: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_IO_sgetn’ In file included from xsml_node.h:8, from xsml_list.c:47: /usr/include/stdio.h:171: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/include/stdio.h:213: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:218: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:228: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:248: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/include/stdio.h:254: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/include/stdio.h:280: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/include/stdio.h:303: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:307: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:314: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:318: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:327: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:342: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:357: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/stdio.h:359: error: format string argument not a string type /usr/include/stdio.h:361: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/stdio.h:399: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:441: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:442: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:460: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:471: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:483: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/include/stdio.h:484: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/include/stdio.h:504: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/include/stdio.h:512: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/include/stdio.h:520: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:523: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/include/stdio.h:532: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/include/stdio.h:590: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/include/stdio.h:603: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/include/stdio.h:610: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread’ /usr/include/stdio.h:616: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite’ /usr/include/stdio.h:638: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread_unlocked’ /usr/include/stdio.h:640: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite_unlocked’ /usr/include/stdio.h:650: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:655: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:660: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:674: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:679: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:699: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:704: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:727: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:729: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:731: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:736: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:737: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:738: error: expected ‘)’ before ‘*’ token In file included from xsml_node.h:8, from xsml_list.c:47: /usr/include/stdio.h:759: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:764: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:774: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/include/stdio.h:780: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:814: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:818: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:821: error: expected ‘)’ before ‘*’ token In file included from xsml_node.h:10, from xsml_list.c:47: /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’ xsml_list.c: In function ‘new_text_node’: xsml_list.c:54: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘new_tag_node’: xsml_list.c:69: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘set_attributo’: xsml_list.c:138: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c:150:1: warning: null character(s) ignored xsml_list.c: At top level: xsml_list.c:150: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token xsml_list.c:150:297: warning: null character(s) ignored xsml_list.c:150:393: warning: null character(s) ignored xsml_list.c:150:401: warning: null character(s) ignored xsml_list.c:150:409: warning: null character(s) ignored xsml_list.c:150:421: warning: null character(s) ignored xsml_list.c:150: warning: integer constant is too large for ‘long’ type xsml_list.c:150:433: warning: null character(s) ignored xsml_list.c:150:440: warning: null character(s) ignored xsml_list.c:150:443: warning: null character(s) ignored xsml_list.c:150:548: warning: null character(s) ignored xsml_list.c:150:555: warning: null character(s) ignored xsml_list.c:150:587: warning: null character(s) ignored xsml_list.c:150: error: stray ‘#’ in program xsml_list.c:167: warning: useless type name in empty declaration xsml_list.c:171: error: redefinition of ‘struct node’ xsml_list.c:182: error: redefinition of typedef ‘node’ xsml_node.h:33: error: previous declaration of ‘node’ was here xsml_list.c:185: error: redefinition of ‘struct attribute’ xsml_list.c:188: error: redefinition of typedef ‘attrib’ xsml_node.h:39: error: previous declaration of ‘attrib’ was here xsml_list.c:203:2: error: #endif without #if xsml_list.c:204:1: warning: null character(s) ignored xsml_list.c:204: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token xsml_list.c:204:107: warning: null character(s) ignored xsml_list.c:204:206: warning: null character(s) ignored xsml_list.c:204:214: warning: null character(s) ignored xsml_list.c:204:222: warning: null character(s) ignored xsml_list.c:204:234: warning: null character(s) ignored xsml_list.c:204: warning: integer constant is too large for ‘long’ type xsml_list.c:204:246: warning: null character(s) ignored xsml_list.c:204:253: warning: null character(s) ignored xsml_list.c:204:256: warning: null character(s) ignored xsml_list.c:204:361: warning: null character(s) ignored xsml_list.c:204:368: warning: null character(s) ignored xsml_list.c:204:400: warning: null character(s) ignored xsml_list.c:205:1: error: invalid suffix "a8" on integer constant xsml_list.c:211: error: expected identifier or ‘(’ before ‘>’ token xsml_list.c:217: error: expected identifier or ‘(’ before ‘>’ token xsml_list.c:218:4: error: invalid suffix "c84" on integer constant xsml_list.c:220: error: expected identifier or ‘(’ before ‘<’ token xsml_list.c:221: error: expected identifier or ‘(’ before ‘<’ token xsml_list.c:222: error: expected identifier or ‘(’ before ‘--’ token xsml_list.c:224: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘/’ token xsml_list.c:225:3: error: invalid suffix "c4" on integer constant xsml_list.c:226: error: stray ‘#’ in program xsml_list.c:227: error: stray ‘#’ in program xsml_list.c:230: error: expected identifier or ‘(’ before numeric constant xsml_list.c:230:3: error: invalid suffix "c6" on integer constant xsml_list.c:234: error: expected identifier or ‘(’ before ‘elem’ xsml_list.c:235: error: expected identifier or ‘(’ before ‘<’ token xsml_list.c:240: error: expected identifier or ‘(’ before ‘list’ xsml_list.c:241: error: expected identifier or ‘(’ before ‘--’ token xsml_list.c:243:1: error: invalid suffix "a8" on integer constant xsml_list.c:243: error: expected identifier or ‘(’ before numeric constant xsml_list.c:245: error: expected identifier or ‘(’ before numeric constant xsml_list.c:245:4: error: invalid suffix "d30" on integer constant xsml_list.c:247: error: stray ‘#’ in program xsml_list.c:249:1: error: invalid suffix "a8" on integer constant xsml_list.c:263: error: expected identifier or ‘(’ before ‘>’ token xsml_list.c:269: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘/’ token xsml_list.c:270:3: error: invalid suffix "d0" on integer constant xsml_list.c:271: error: stray ‘#’ in program xsml_list.c:272: error: stray ‘#’ in program xsml_list.c:273:1: error: invalid suffix "a11" on integer constant xsml_list.c:276: error: expected identifier or ‘(’ before ‘>’ token xsml_list.c:278: error: expected identifier or ‘(’ before numeric constant xsml_list.c:278:4: error: invalid suffix "d21" on integer constant xsml_list.c:292: error: expected identifier or ‘(’ before ‘node’ xsml_list.c:293: error: expected identifier or ‘(’ before ‘<’ token xsml_list.c:298: error: expected identifier or ‘(’ before ‘attrib’ xsml_list.c:299: error: expected identifier or ‘(’ before numeric constant xsml_list.c:299:4: error: invalid suffix "d34" on integer constant xsml_list.c:301: error: stray ‘#’ in program xsml_list.c:301:9: warning: null character(s) ignored xsml_list.c:301:1776: warning: no newline at end of file == AlbertoRivelli : Compiling main3.c with the student files gcc: xsml_parse_query.c: No such file or directory xsml_list.c:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token xsml_list.c:1:12: warning: null character(s) ignored xsml_list.c:1:108: warning: null character(s) ignored xsml_list.c:1:116: warning: null character(s) ignored xsml_list.c:1:124: warning: null character(s) ignored xsml_list.c:1:136: warning: null character(s) ignored xsml_list.c:1: warning: integer constant is too large for ‘long’ type xsml_list.c:1:148: warning: null character(s) ignored xsml_list.c:1:155: warning: null character(s) ignored xsml_list.c:1:158: warning: null character(s) ignored xsml_list.c:1:263: warning: null character(s) ignored xsml_list.c:1:270: warning: null character(s) ignored xsml_list.c:1:302: warning: null character(s) ignored xsml_list.c:1: error: stray ‘#’ in program In file included from xsml_list.c:2: /usr/include/stdlib.h:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__ctype_get_mb_cur_max’ In file included from xsml_list.c:2: /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:589: error: expected ‘)’ before ‘__size’ /usr/include/stdlib.h:591: error: expected ‘)’ before ‘__nmemb’ /usr/include/stdlib.h:600: error: expected declaration specifiers or ‘...’ before ‘size_t’ In file included from /usr/include/stdlib.h:612, from xsml_list.c:2: /usr/include/alloca.h:33: error: expected ‘)’ before ‘__size’ In file included from xsml_list.c:2: /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’ xsml_list.c:42:1: warning: null character(s) ignored xsml_list.c:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token xsml_list.c:42:497: warning: null character(s) ignored xsml_list.c:42:593: warning: null character(s) ignored xsml_list.c:42:601: warning: null character(s) ignored xsml_list.c:42:609: warning: null character(s) ignored xsml_list.c:42:621: warning: null character(s) ignored xsml_list.c:42: warning: integer constant is too large for ‘long’ type xsml_list.c:42:633: warning: null character(s) ignored xsml_list.c:42:640: warning: null character(s) ignored xsml_list.c:42:643: warning: null character(s) ignored xsml_list.c:42:748: warning: null character(s) ignored xsml_list.c:42:755: warning: null character(s) ignored xsml_list.c:42:787: warning: null character(s) ignored In file included from /usr/include/_G_config.h:44, from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from xsml_node.h:8, from xsml_list.c:47: /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 xsml_node.h:8, from xsml_list.c:47: /usr/include/libio.h:329: error: expected specifier-qualifier-list before ‘size_t’ /usr/include/libio.h:361: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/libio.h:370: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/libio.h:486: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_IO_sgetn’ In file included from xsml_node.h:8, from xsml_list.c:47: /usr/include/stdio.h:171: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/include/stdio.h:213: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:218: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:228: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:248: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/include/stdio.h:254: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/include/stdio.h:280: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/include/stdio.h:303: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:307: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:314: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:318: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:327: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:342: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:357: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/stdio.h:359: error: format string argument not a string type /usr/include/stdio.h:361: error: expected declaration specifiers or ‘...’ before ‘size_t’ /usr/include/stdio.h:399: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:441: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:442: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:460: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:471: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:483: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/include/stdio.h:484: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/include/stdio.h:504: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/include/stdio.h:512: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/include/stdio.h:520: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:523: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/include/stdio.h:532: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/include/stdio.h:590: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/include/stdio.h:603: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/include/stdio.h:610: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread’ /usr/include/stdio.h:616: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite’ /usr/include/stdio.h:638: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fread_unlocked’ /usr/include/stdio.h:640: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fwrite_unlocked’ /usr/include/stdio.h:650: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:655: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:660: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:674: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:679: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:699: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:704: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:727: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:729: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:731: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:736: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:737: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:738: error: expected ‘)’ before ‘*’ token In file included from xsml_node.h:8, from xsml_list.c:47: /usr/include/stdio.h:759: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:764: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:774: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/include/stdio.h:780: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:814: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:818: error: expected ‘)’ before ‘*’ token /usr/include/stdio.h:821: error: expected ‘)’ before ‘*’ token In file included from xsml_node.h:10, from xsml_list.c:47: /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’ xsml_list.c: In function ‘new_text_node’: xsml_list.c:54: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘new_tag_node’: xsml_list.c:69: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘set_attributo’: xsml_list.c:138: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c:150:1: warning: null character(s) ignored xsml_list.c: At top level: xsml_list.c:150: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token xsml_list.c:150:297: warning: null character(s) ignored xsml_list.c:150:393: warning: null character(s) ignored xsml_list.c:150:401: warning: null character(s) ignored xsml_list.c:150:409: warning: null character(s) ignored xsml_list.c:150:421: warning: null character(s) ignored xsml_list.c:150: warning: integer constant is too large for ‘long’ type xsml_list.c:150:433: warning: null character(s) ignored xsml_list.c:150:440: warning: null character(s) ignored xsml_list.c:150:443: warning: null character(s) ignored xsml_list.c:150:548: warning: null character(s) ignored xsml_list.c:150:555: warning: null character(s) ignored xsml_list.c:150:587: warning: null character(s) ignored xsml_list.c:150: error: stray ‘#’ in program xsml_list.c:167: warning: useless type name in empty declaration xsml_list.c:171: error: redefinition of ‘struct node’ xsml_list.c:182: error: redefinition of typedef ‘node’ xsml_node.h:33: error: previous declaration of ‘node’ was here xsml_list.c:185: error: redefinition of ‘struct attribute’ xsml_list.c:188: error: redefinition of typedef ‘attrib’ xsml_node.h:39: error: previous declaration of ‘attrib’ was here xsml_list.c:203:2: error: #endif without #if xsml_list.c:204:1: warning: null character(s) ignored xsml_list.c:204: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token xsml_list.c:204:107: warning: null character(s) ignored xsml_list.c:204:206: warning: null character(s) ignored xsml_list.c:204:214: warning: null character(s) ignored xsml_list.c:204:222: warning: null character(s) ignored xsml_list.c:204:234: warning: null character(s) ignored xsml_list.c:204: warning: integer constant is too large for ‘long’ type xsml_list.c:204:246: warning: null character(s) ignored xsml_list.c:204:253: warning: null character(s) ignored xsml_list.c:204:256: warning: null character(s) ignored xsml_list.c:204:361: warning: null character(s) ignored xsml_list.c:204:368: warning: null character(s) ignored xsml_list.c:204:400: warning: null character(s) ignored xsml_list.c:205:1: error: invalid suffix "a8" on integer constant xsml_list.c:211: error: expected identifier or ‘(’ before ‘>’ token xsml_list.c:217: error: expected identifier or ‘(’ before ‘>’ token xsml_list.c:218:4: error: invalid suffix "c84" on integer constant xsml_list.c:220: error: expected identifier or ‘(’ before ‘<’ token xsml_list.c:221: error: expected identifier or ‘(’ before ‘<’ token xsml_list.c:222: error: expected identifier or ‘(’ before ‘--’ token xsml_list.c:224: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘/’ token xsml_list.c:225:3: error: invalid suffix "c4" on integer constant xsml_list.c:226: error: stray ‘#’ in program xsml_list.c:227: error: stray ‘#’ in program xsml_list.c:230: error: expected identifier or ‘(’ before numeric constant xsml_list.c:230:3: error: invalid suffix "c6" on integer constant xsml_list.c:234: error: expected identifier or ‘(’ before ‘elem’ xsml_list.c:235: error: expected identifier or ‘(’ before ‘<’ token xsml_list.c:240: error: expected identifier or ‘(’ before ‘list’ xsml_list.c:241: error: expected identifier or ‘(’ before ‘--’ token xsml_list.c:243:1: error: invalid suffix "a8" on integer constant xsml_list.c:243: error: expected identifier or ‘(’ before numeric constant xsml_list.c:245: error: expected identifier or ‘(’ before numeric constant xsml_list.c:245:4: error: invalid suffix "d30" on integer constant xsml_list.c:247: error: stray ‘#’ in program xsml_list.c:249:1: error: invalid suffix "a8" on integer constant xsml_list.c:263: error: expected identifier or ‘(’ before ‘>’ token xsml_list.c:269: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘/’ token xsml_list.c:270:3: error: invalid suffix "d0" on integer constant xsml_list.c:271: error: stray ‘#’ in program xsml_list.c:272: error: stray ‘#’ in program xsml_list.c:273:1: error: invalid suffix "a11" on integer constant xsml_list.c:276: error: expected identifier or ‘(’ before ‘>’ token xsml_list.c:278: error: expected identifier or ‘(’ before numeric constant xsml_list.c:278:4: error: invalid suffix "d21" on integer constant xsml_list.c:292: error: expected identifier or ‘(’ before ‘node’ xsml_list.c:293: error: expected identifier or ‘(’ before ‘<’ token xsml_list.c:298: error: expected identifier or ‘(’ before ‘attrib’ xsml_list.c:299: error: expected identifier or ‘(’ before numeric constant xsml_list.c:299:4: error: invalid suffix "d34" on integer constant xsml_list.c:301: error: stray ‘#’ in program xsml_list.c:301:9: warning: null character(s) ignored xsml_list.c:301:1776: warning: no newline at end of file Compilation with the student files [FAILED]. ========================================================== AlessandroMastropietro: Unzip: [OK] ===== == AlessandroMastropietro : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:12: error: ‘attributo’ undeclared (first use in this function) xsml_iter.c:12: error: (Each undeclared identifier is reported only once xsml_iter.c:12: error: for each function it appears in.) xsml_iter.c:12: error: expected ‘;’ before ‘prova’ xsml_iter.c:15: error: ‘prova’ undeclared (first use in this function) xsml_iter.c:15: error: expected ‘;’ before ‘next’ xsml_parse_query.c: In function ‘get_value_attribute’: xsml_parse_query.c:13: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c:43: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_parse_query.c:89: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:103: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:109: warning: incompatible implicit declaration of built-in function ‘malloc’ == AlessandroMastropietro : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:12: error: ‘attributo’ undeclared (first use in this function) xsml_iter.c:12: error: (Each undeclared identifier is reported only once xsml_iter.c:12: error: for each function it appears in.) xsml_iter.c:12: error: expected ‘;’ before ‘prova’ xsml_iter.c:15: error: ‘prova’ undeclared (first use in this function) xsml_iter.c:15: error: expected ‘;’ before ‘next’ xsml_parse_query.c: In function ‘get_value_attribute’: xsml_parse_query.c:13: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c:43: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_parse_query.c:89: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:103: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:109: warning: incompatible implicit declaration of built-in function ‘malloc’ == AlessandroMastropietro : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:12: error: ‘attributo’ undeclared (first use in this function) xsml_iter.c:12: error: (Each undeclared identifier is reported only once xsml_iter.c:12: error: for each function it appears in.) xsml_iter.c:12: error: expected ‘;’ before ‘prova’ xsml_iter.c:15: error: ‘prova’ undeclared (first use in this function) xsml_iter.c:15: error: expected ‘;’ before ‘next’ xsml_parse_query.c: In function ‘get_value_attribute’: xsml_parse_query.c:13: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c:43: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_parse_query.c:89: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:103: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:109: warning: incompatible implicit declaration of built-in function ‘malloc’ Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AlessandroMastropietro/AlessandroMastropietro' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AlessandroMastropietro/AlessandroMastropietro' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/AlessandroMastropietro/AlessandroMastropietro' == AlessandroMastropietro : Compiling main1.c with the student files == AlessandroMastropietro : Compiling main2.c with the student files == AlessandroMastropietro : Compiling main3.c with the student files /tmp/ccLZEzyi.o: In function `main': main3.c:(.text+0x2dc): undefined reference to `get_xsml_doc' main3.c:(.text+0x31e): undefined reference to `last_token' collect2: ld returned 1 exit status Compilation with the student files [FAILED]. ========================================================== AlessandroVergari: Unzip: [OK] ===== == AlessandroVergari : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:12: error: dereferencing pointer to incomplete type xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:20: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c: In function ‘nome’: xsml_parse_query.c:88: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c: In function ‘attributi’: xsml_parse_query.c:147: warning: incompatible implicit declaration of built-in function ‘malloc’ == AlessandroVergari : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:12: error: dereferencing pointer to incomplete type xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:20: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c: In function ‘nome’: xsml_parse_query.c:88: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c: In function ‘attributi’: xsml_parse_query.c:147: warning: incompatible implicit declaration of built-in function ‘malloc’ == AlessandroVergari : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:12: error: dereferencing pointer to incomplete type xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:20: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c: In function ‘nome’: xsml_parse_query.c:88: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c: In function ‘attributi’: xsml_parse_query.c:147: warning: incompatible implicit declaration of built-in function ‘malloc’ Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AlessandroVergari/AlessandroVergari' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AlessandroVergari/AlessandroVergari' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/AlessandroVergari/AlessandroVergari' == AlessandroVergari : Compiling main1.c with the student files == AlessandroVergari : Compiling main2.c with the student files == AlessandroVergari : Compiling main3.c with the student files /tmp/ccgW5L30.o: In function `main': main3.c:(.text+0x2dc): undefined reference to `get_xsml_doc' main3.c:(.text+0x31e): undefined reference to `last_token' collect2: ld returned 1 exit status Compilation with the student files [FAILED]. ========================================================== AndreaDiGiuseppe: Unzip: [OK] ===== == AndreaDiGiuseppe : Compiling main1.c with our files, except of xsml_iter.c == AndreaDiGiuseppe : Compiling main2.c with our files, except of xsml_iter.c == AndreaDiGiuseppe : Compiling main3.c with our files, except of xsml_iter.c Compilation with our files [OK] ========================================================== AndreaMencaroni: Unzip: [OK] ===== == AndreaMencaroni : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:32: error: ‘InfoAttr’ undeclared (first use in this function) xsml_iter.c:32: error: (Each undeclared identifier is reported only once xsml_iter.c:32: error: for each function it appears in.) xsml_iter.c:32: error: expected ‘;’ before ‘record_atrr’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:57: error: ‘InfoAttr’ undeclared (first use in this function) xsml_iter.c:57: error: expected ‘;’ before ‘record_attr’ xsml_iter.c:59: error: ‘YES’ undeclared (first use in this function) xsml_iter.c:61: error: ‘record_attr’ undeclared (first use in this function) xsml_iter.c:61: error: expected ‘;’ before ‘next’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:109: error: ‘YES’ undeclared (first use in this function) xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:55: error: ‘NO’ undeclared (first use in this function) xsml_parse_query.c:55: error: (Each undeclared identifier is reported only once xsml_parse_query.c:55: error: for each function it appears in.) xsml_parse_query.c:57: error: ‘FALSE’ undeclared (first use in this function) xsml_parse_query.c:91: error: ‘TRUE’ undeclared (first use in this function) xsml_parse_query.c: In function ‘crea_attributi’: xsml_parse_query.c:314: error: ‘FALSE’ undeclared (first use in this function) xsml_parse_query.c:360: error: ‘TRUE’ undeclared (first use in this function) xsml_parse_query.c: In function ‘crea_nome’: xsml_parse_query.c:511: error: ‘FALSE’ undeclared (first use in this function) xsml_parse_query.c:564: error: ‘TRUE’ undeclared (first use in this function) xsml_parse_query.c: In function ‘crea_valore’: xsml_parse_query.c:614: error: ‘FALSE’ undeclared (first use in this function) xsml_parse_query.c:707: error: ‘TRUE’ undeclared (first use in this function) xsml_query.c: In function ‘controlla_attributi’: xsml_query.c:162: error: ‘TRUE’ undeclared (first use in this function) xsml_query.c:162: error: (Each undeclared identifier is reported only once xsml_query.c:162: error: for each function it appears in.) xsml_query.c:171: error: ‘FALSE’ undeclared (first use in this function) xsml_query.c: In function ‘analizza_nodo’: xsml_query.c:293: error: ‘YES’ undeclared (first use in this function) xsml_query.c:307: error: ‘struct iterator’ has no member named ‘record’ xsml_query.c:318: error: ‘struct iterator’ has no member named ‘record’ == AndreaMencaroni : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:32: error: ‘InfoAttr’ undeclared (first use in this function) xsml_iter.c:32: error: (Each undeclared identifier is reported only once xsml_iter.c:32: error: for each function it appears in.) xsml_iter.c:32: error: expected ‘;’ before ‘record_atrr’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:57: error: ‘InfoAttr’ undeclared (first use in this function) xsml_iter.c:57: error: expected ‘;’ before ‘record_attr’ xsml_iter.c:59: error: ‘YES’ undeclared (first use in this function) xsml_iter.c:61: error: ‘record_attr’ undeclared (first use in this function) xsml_iter.c:61: error: expected ‘;’ before ‘next’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:109: error: ‘YES’ undeclared (first use in this function) xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:55: error: ‘NO’ undeclared (first use in this function) xsml_parse_query.c:55: error: (Each undeclared identifier is reported only once xsml_parse_query.c:55: error: for each function it appears in.) xsml_parse_query.c:57: error: ‘FALSE’ undeclared (first use in this function) xsml_parse_query.c:91: error: ‘TRUE’ undeclared (first use in this function) xsml_parse_query.c: In function ‘crea_attributi’: xsml_parse_query.c:314: error: ‘FALSE’ undeclared (first use in this function) xsml_parse_query.c:360: error: ‘TRUE’ undeclared (first use in this function) xsml_parse_query.c: In function ‘crea_nome’: xsml_parse_query.c:511: error: ‘FALSE’ undeclared (first use in this function) xsml_parse_query.c:564: error: ‘TRUE’ undeclared (first use in this function) xsml_parse_query.c: In function ‘crea_valore’: xsml_parse_query.c:614: error: ‘FALSE’ undeclared (first use in this function) xsml_parse_query.c:707: error: ‘TRUE’ undeclared (first use in this function) xsml_query.c: In function ‘controlla_attributi’: xsml_query.c:162: error: ‘TRUE’ undeclared (first use in this function) xsml_query.c:162: error: (Each undeclared identifier is reported only once xsml_query.c:162: error: for each function it appears in.) xsml_query.c:171: error: ‘FALSE’ undeclared (first use in this function) xsml_query.c: In function ‘analizza_nodo’: xsml_query.c:293: error: ‘YES’ undeclared (first use in this function) xsml_query.c:307: error: ‘struct iterator’ has no member named ‘record’ xsml_query.c:318: error: ‘struct iterator’ has no member named ‘record’ == AndreaMencaroni : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:32: error: ‘InfoAttr’ undeclared (first use in this function) xsml_iter.c:32: error: (Each undeclared identifier is reported only once xsml_iter.c:32: error: for each function it appears in.) xsml_iter.c:32: error: expected ‘;’ before ‘record_atrr’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:57: error: ‘InfoAttr’ undeclared (first use in this function) xsml_iter.c:57: error: expected ‘;’ before ‘record_attr’ xsml_iter.c:59: error: ‘YES’ undeclared (first use in this function) xsml_iter.c:61: error: ‘record_attr’ undeclared (first use in this function) xsml_iter.c:61: error: expected ‘;’ before ‘next’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:109: error: ‘YES’ undeclared (first use in this function) xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:55: error: ‘NO’ undeclared (first use in this function) xsml_parse_query.c:55: error: (Each undeclared identifier is reported only once xsml_parse_query.c:55: error: for each function it appears in.) xsml_parse_query.c:57: error: ‘FALSE’ undeclared (first use in this function) xsml_parse_query.c:91: error: ‘TRUE’ undeclared (first use in this function) xsml_parse_query.c: In function ‘crea_attributi’: xsml_parse_query.c:314: error: ‘FALSE’ undeclared (first use in this function) xsml_parse_query.c:360: error: ‘TRUE’ undeclared (first use in this function) xsml_parse_query.c: In function ‘crea_nome’: xsml_parse_query.c:511: error: ‘FALSE’ undeclared (first use in this function) xsml_parse_query.c:564: error: ‘TRUE’ undeclared (first use in this function) xsml_parse_query.c: In function ‘crea_valore’: xsml_parse_query.c:614: error: ‘FALSE’ undeclared (first use in this function) xsml_parse_query.c:707: error: ‘TRUE’ undeclared (first use in this function) xsml_query.c: In function ‘controlla_attributi’: xsml_query.c:162: error: ‘TRUE’ undeclared (first use in this function) xsml_query.c:162: error: (Each undeclared identifier is reported only once xsml_query.c:162: error: for each function it appears in.) xsml_query.c:171: error: ‘FALSE’ undeclared (first use in this function) xsml_query.c: In function ‘analizza_nodo’: xsml_query.c:293: error: ‘YES’ undeclared (first use in this function) xsml_query.c:307: error: ‘struct iterator’ has no member named ‘record’ xsml_query.c:318: error: ‘struct iterator’ has no member named ‘record’ Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AndreaMencaroni/AndreaMencaroni' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AndreaMencaroni/AndreaMencaroni' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/AndreaMencaroni/AndreaMencaroni' == AndreaMencaroni : Compiling main1.c with the student files == AndreaMencaroni : Compiling main2.c with the student files == AndreaMencaroni : Compiling main3.c with the student files /tmp/ccgz3aMw.o: In function `main': main3.c:(.text+0x2dc): undefined reference to `get_xsml_doc' main3.c:(.text+0x31e): undefined reference to `last_token' collect2: ld returned 1 exit status Compilation with the student files [FAILED]. ========================================================== AndreaSciacca: Unzip: [OK] cp: cannot stat `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AndreaSciacca/xsml_iter.c': No such file or directory ===== == AndreaSciacca : Compiling main1.c with our files, except of xsml_iter.c xsml_parse_query.c:6:23: error: xsml_iter.h: No such file or directory xsml_query.c:6:23: error: xsml_iter.h: No such file or directory == AndreaSciacca : Compiling main2.c with our files, except of xsml_iter.c xsml_parse_query.c:6:23: error: xsml_iter.h: No such file or directory xsml_query.c:6:23: error: xsml_iter.h: No such file or directory == AndreaSciacca : Compiling main3.c with our files, except of xsml_iter.c xsml_parse_query.c:6:23: error: xsml_iter.h: No such file or directory xsml_query.c:6:23: error: xsml_iter.h: No such file or directory Compilation with our files [FAILED]. Trying with the student files... ===== cp: cannot stat `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AndreaSciacca/*': No such file or directory cp: cannot stat `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AndreaSciacca/*': No such file or directory cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/AndreaSciacca/AndreaSciacca' == AndreaSciacca : Compiling main1.c with the student files In file included from xsml_node.h:1, from xsml_query.h:5, from main1.c:2: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from xsml_iter.c:2: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_iter.c:2: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_iter.c:2: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:11: error: redefinition of ‘struct tabella’ xsml_node.h:17: error: redefinition of typedef ‘tabella’ xsml_node.h:17: error: previous declaration of ‘tabella’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:30: error: redefinition of typedef ‘node’ xsml_node.h:30: error: previous declaration of ‘node’ was here xsml_node.h:42: error: conflicting types for ‘get_node_type’ xsml_node.h:42: error: previous declaration of ‘get_node_type’ was here xsml_iter.c: In function ‘next_attr’: xsml_iter.c:38: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:38: error: (Each undeclared identifier is reported only once xsml_iter.c:38: error: for each function it appears in.) xsml_iter.c:38: error: expected ‘;’ before ‘attribute’ xsml_iter.c:40: error: ‘attribute’ undeclared (first use in this function) xsml_iter.c:40: error: expected ‘;’ before ‘next’ In file included from xsml_query.h:4, from xsml_parse_query.c:5: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_query.h:5, from xsml_parse_query.c:5: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_parse_query.c:5: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:11: error: redefinition of ‘struct tabella’ xsml_node.h:17: error: redefinition of typedef ‘tabella’ xsml_node.h:17: error: previous declaration of ‘tabella’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:30: error: redefinition of typedef ‘node’ xsml_node.h:30: error: previous declaration of ‘node’ was here xsml_node.h:42: error: conflicting types for ‘get_node_type’ xsml_node.h:42: error: previous declaration of ‘get_node_type’ was here xsml_parse_query.c:6:23: error: xsml_iter.h: No such file or directory In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_query.c:4: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_query.c:5: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.c:5: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:11: error: redefinition of ‘struct tabella’ xsml_node.h:17: error: redefinition of typedef ‘tabella’ xsml_node.h:17: error: previous declaration of ‘tabella’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:30: error: redefinition of typedef ‘node’ xsml_node.h:30: error: previous declaration of ‘node’ was here xsml_node.h:42: error: conflicting types for ‘get_node_type’ xsml_node.h:42: error: previous declaration of ‘get_node_type’ was here xsml_query.c:6:23: error: xsml_iter.h: No such file or directory In file included from xsml_query.h:4, from xsml_query.c:7: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_query.h:5, from xsml_query.c:7: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_query.c:7: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:11: error: redefinition of ‘struct tabella’ xsml_node.h:17: error: redefinition of typedef ‘tabella’ xsml_node.h:17: error: previous declaration of ‘tabella’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:30: error: redefinition of typedef ‘node’ xsml_node.h:30: error: previous declaration of ‘node’ was here xsml_node.h:42: error: conflicting types for ‘get_node_type’ xsml_node.h:42: error: previous declaration of ‘get_node_type’ was here == AndreaSciacca : Compiling main2.c with the student files In file included from xsml_node.h:1, from xsml_query.h:5, from main2.c:2: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from xsml_iter.c:2: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_iter.c:2: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_iter.c:2: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:11: error: redefinition of ‘struct tabella’ xsml_node.h:17: error: redefinition of typedef ‘tabella’ xsml_node.h:17: error: previous declaration of ‘tabella’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:30: error: redefinition of typedef ‘node’ xsml_node.h:30: error: previous declaration of ‘node’ was here xsml_node.h:42: error: conflicting types for ‘get_node_type’ xsml_node.h:42: error: previous declaration of ‘get_node_type’ was here xsml_iter.c: In function ‘next_attr’: xsml_iter.c:38: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:38: error: (Each undeclared identifier is reported only once xsml_iter.c:38: error: for each function it appears in.) xsml_iter.c:38: error: expected ‘;’ before ‘attribute’ xsml_iter.c:40: error: ‘attribute’ undeclared (first use in this function) xsml_iter.c:40: error: expected ‘;’ before ‘next’ In file included from xsml_query.h:4, from xsml_parse_query.c:5: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_query.h:5, from xsml_parse_query.c:5: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_parse_query.c:5: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:11: error: redefinition of ‘struct tabella’ xsml_node.h:17: error: redefinition of typedef ‘tabella’ xsml_node.h:17: error: previous declaration of ‘tabella’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:30: error: redefinition of typedef ‘node’ xsml_node.h:30: error: previous declaration of ‘node’ was here xsml_node.h:42: error: conflicting types for ‘get_node_type’ xsml_node.h:42: error: previous declaration of ‘get_node_type’ was here xsml_parse_query.c:6:23: error: xsml_iter.h: No such file or directory In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_query.c:4: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_query.c:5: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.c:5: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:11: error: redefinition of ‘struct tabella’ xsml_node.h:17: error: redefinition of typedef ‘tabella’ xsml_node.h:17: error: previous declaration of ‘tabella’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:30: error: redefinition of typedef ‘node’ xsml_node.h:30: error: previous declaration of ‘node’ was here xsml_node.h:42: error: conflicting types for ‘get_node_type’ xsml_node.h:42: error: previous declaration of ‘get_node_type’ was here xsml_query.c:6:23: error: xsml_iter.h: No such file or directory In file included from xsml_query.h:4, from xsml_query.c:7: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_query.h:5, from xsml_query.c:7: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_query.c:7: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:11: error: redefinition of ‘struct tabella’ xsml_node.h:17: error: redefinition of typedef ‘tabella’ xsml_node.h:17: error: previous declaration of ‘tabella’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:30: error: redefinition of typedef ‘node’ xsml_node.h:30: error: previous declaration of ‘node’ was here xsml_node.h:42: error: conflicting types for ‘get_node_type’ xsml_node.h:42: error: previous declaration of ‘get_node_type’ was here == AndreaSciacca : Compiling main3.c with the student files In file included from xsml_node.h:1, from xsml_query.h:5, from main3.c:2: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from xsml_iter.c:2: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_iter.c:2: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_iter.c:2: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:11: error: redefinition of ‘struct tabella’ xsml_node.h:17: error: redefinition of typedef ‘tabella’ xsml_node.h:17: error: previous declaration of ‘tabella’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:30: error: redefinition of typedef ‘node’ xsml_node.h:30: error: previous declaration of ‘node’ was here xsml_node.h:42: error: conflicting types for ‘get_node_type’ xsml_node.h:42: error: previous declaration of ‘get_node_type’ was here xsml_iter.c: In function ‘next_attr’: xsml_iter.c:38: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:38: error: (Each undeclared identifier is reported only once xsml_iter.c:38: error: for each function it appears in.) xsml_iter.c:38: error: expected ‘;’ before ‘attribute’ xsml_iter.c:40: error: ‘attribute’ undeclared (first use in this function) xsml_iter.c:40: error: expected ‘;’ before ‘next’ In file included from xsml_query.h:4, from xsml_parse_query.c:5: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_query.h:5, from xsml_parse_query.c:5: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_parse_query.c:5: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:11: error: redefinition of ‘struct tabella’ xsml_node.h:17: error: redefinition of typedef ‘tabella’ xsml_node.h:17: error: previous declaration of ‘tabella’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:30: error: redefinition of typedef ‘node’ xsml_node.h:30: error: previous declaration of ‘node’ was here xsml_node.h:42: error: conflicting types for ‘get_node_type’ xsml_node.h:42: error: previous declaration of ‘get_node_type’ was here xsml_parse_query.c:6:23: error: xsml_iter.h: No such file or directory In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_query.c:4: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_query.c:5: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.c:5: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:11: error: redefinition of ‘struct tabella’ xsml_node.h:17: error: redefinition of typedef ‘tabella’ xsml_node.h:17: error: previous declaration of ‘tabella’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:30: error: redefinition of typedef ‘node’ xsml_node.h:30: error: previous declaration of ‘node’ was here xsml_node.h:42: error: conflicting types for ‘get_node_type’ xsml_node.h:42: error: previous declaration of ‘get_node_type’ was here xsml_query.c:6:23: error: xsml_iter.h: No such file or directory In file included from xsml_query.h:4, from xsml_query.c:7: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_query.h:5, from xsml_query.c:7: xsml_list.h:4: error: redefinition of ‘struct dati’ xsml_list.h:9: error: redefinition of typedef ‘dati’ xsml_list.h:9: error: previous declaration of ‘dati’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:24: error: redefinition of typedef ‘iterator’ xsml_list.h:24: error: previous declaration of ‘iterator’ was here xsml_list.h:28: error: nested redefinition of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of ‘enum op_errors’ xsml_list.h:29: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:29: error: previous definition of ‘OP_OK’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:31: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:31: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:33: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_query.c:7: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:11: error: redefinition of ‘struct tabella’ xsml_node.h:17: error: redefinition of typedef ‘tabella’ xsml_node.h:17: error: previous declaration of ‘tabella’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:30: error: redefinition of typedef ‘node’ xsml_node.h:30: error: previous declaration of ‘node’ was here xsml_node.h:42: error: conflicting types for ‘get_node_type’ xsml_node.h:42: error: previous declaration of ‘get_node_type’ was here Compilation with the student files [FAILED]. ========================================================== AntonellaPaluzzi: Unzip: [OK] ===== == AntonellaPaluzzi : Compiling main1.c with our files, except of xsml_iter.c xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:132: warning: passing argument 1 of ‘add_last’ from incompatible pointer type == AntonellaPaluzzi : Compiling main2.c with our files, except of xsml_iter.c xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:132: warning: passing argument 1 of ‘add_last’ from incompatible pointer type == AntonellaPaluzzi : Compiling main3.c with our files, except of xsml_iter.c xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:132: warning: passing argument 1 of ‘add_last’ from incompatible pointer type Compilation with our files [OK] ========================================================== AntonioGaudino: Unzip: [OK] ===== == AntonioGaudino : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:69: error: dereferencing pointer to incomplete type xsml_parse_query.c: In function ‘cmp_node’: xsml_parse_query.c:128: error: dereferencing pointer to incomplete type xsml_parse_query.c:128: error: dereferencing pointer to incomplete type xsml_parse_query.c:130: error: dereferencing pointer to incomplete type xsml_parse_query.c:131: error: dereferencing pointer to incomplete type xsml_parse_query.c:132: error: dereferencing pointer to incomplete type xsml_parse_query.c:132: error: dereferencing pointer to incomplete type xsml_parse_query.c: In function ‘copy_iterator’: xsml_parse_query.c:149: error: ‘struct iterator’ has no member named ‘current’ xsml_parse_query.c:149: error: ‘struct iterator’ has no member named ‘current’ == AntonioGaudino : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:69: error: dereferencing pointer to incomplete type xsml_parse_query.c: In function ‘cmp_node’: xsml_parse_query.c:128: error: dereferencing pointer to incomplete type xsml_parse_query.c:128: error: dereferencing pointer to incomplete type xsml_parse_query.c:130: error: dereferencing pointer to incomplete type xsml_parse_query.c:131: error: dereferencing pointer to incomplete type xsml_parse_query.c:132: error: dereferencing pointer to incomplete type xsml_parse_query.c:132: error: dereferencing pointer to incomplete type xsml_parse_query.c: In function ‘copy_iterator’: xsml_parse_query.c:149: error: ‘struct iterator’ has no member named ‘current’ xsml_parse_query.c:149: error: ‘struct iterator’ has no member named ‘current’ == AntonioGaudino : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:69: error: dereferencing pointer to incomplete type xsml_parse_query.c: In function ‘cmp_node’: xsml_parse_query.c:128: error: dereferencing pointer to incomplete type xsml_parse_query.c:128: error: dereferencing pointer to incomplete type xsml_parse_query.c:130: error: dereferencing pointer to incomplete type xsml_parse_query.c:131: error: dereferencing pointer to incomplete type xsml_parse_query.c:132: error: dereferencing pointer to incomplete type xsml_parse_query.c:132: error: dereferencing pointer to incomplete type xsml_parse_query.c: In function ‘copy_iterator’: xsml_parse_query.c:149: error: ‘struct iterator’ has no member named ‘current’ xsml_parse_query.c:149: error: ‘struct iterator’ has no member named ‘current’ Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AntonioGaudino/AntonioGaudino' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AntonioGaudino/diffs' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AntonioGaudino/patch_modulo3' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AntonioGaudino/AntonioGaudino' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AntonioGaudino/diffs' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AntonioGaudino/patch_modulo3' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/AntonioGaudino/AntonioGaudino' == AntonioGaudino : Compiling main1.c with the student files == AntonioGaudino : Compiling main2.c with the student files == AntonioGaudino : Compiling main3.c with the student files /tmp/ccyHUcuf.o: In function `main': main3.c:(.text+0x2dc): undefined reference to `get_xsml_doc' main3.c:(.text+0x31e): undefined reference to `last_token' collect2: ld returned 1 exit status Compilation with the student files [FAILED]. ========================================================== AntonioMiranda: Unzip: [OK] ===== == AntonioMiranda : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:14: error: ‘coppia’ undeclared (first use in this function) xsml_iter.c:14: error: (Each undeclared identifier is reported only once xsml_iter.c:14: error: for each function it appears in.) xsml_iter.c:14: error: ‘aux’ undeclared (first use in this function) xsml_iter.c:17: error: expected expression before ‘)’ token == AntonioMiranda : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:14: error: ‘coppia’ undeclared (first use in this function) xsml_iter.c:14: error: (Each undeclared identifier is reported only once xsml_iter.c:14: error: for each function it appears in.) xsml_iter.c:14: error: ‘aux’ undeclared (first use in this function) xsml_iter.c:17: error: expected expression before ‘)’ token == AntonioMiranda : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:14: error: ‘coppia’ undeclared (first use in this function) xsml_iter.c:14: error: (Each undeclared identifier is reported only once xsml_iter.c:14: error: for each function it appears in.) xsml_iter.c:14: error: ‘aux’ undeclared (first use in this function) xsml_iter.c:17: error: expected expression before ‘)’ token Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AntonioMiranda/AntonioMiranda' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/AntonioMiranda/AntonioMiranda' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/AntonioMiranda/AntonioMiranda' == AntonioMiranda : Compiling main1.c with the student files In file included from xsml_node.h:1, from xsml_query.h:5, from main1.c:2: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from xsml_iter.c:4: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_iter.c:4: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_iter.c:4: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:19: error: redefinition of ‘struct coppia’ xsml_node.h:21: error: redefinition of typedef ‘coppia’ xsml_node.h:21: error: previous declaration of ‘coppia’ was here xsml_node.h:24: error: redefinition of typedef ‘node’ xsml_node.h:24: error: previous declaration of ‘node’ was here xsml_node.h:31: error: conflicting types for ‘get_node_type’ xsml_node.h:31: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_parse_query.c:6: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_parse_query.c:6: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_parse_query.c:6: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:19: error: redefinition of ‘struct coppia’ xsml_node.h:21: error: redefinition of typedef ‘coppia’ xsml_node.h:21: error: previous declaration of ‘coppia’ was here xsml_node.h:24: error: redefinition of typedef ‘node’ xsml_node.h:24: error: previous declaration of ‘node’ was here xsml_node.h:31: error: conflicting types for ‘get_node_type’ xsml_node.h:31: error: previous declaration of ‘get_node_type’ was here In file included from xsml_query.h:4, from xsml_parse_query.c:7: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_query.h:5, from xsml_parse_query.c:7: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_parse_query.c:7: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:19: error: redefinition of ‘struct coppia’ xsml_node.h:21: error: redefinition of typedef ‘coppia’ xsml_node.h:21: error: previous declaration of ‘coppia’ was here xsml_node.h:24: error: redefinition of typedef ‘node’ xsml_node.h:24: error: previous declaration of ‘node’ was here xsml_node.h:31: error: conflicting types for ‘get_node_type’ xsml_node.h:31: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_query.c:4: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_query.c:4: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_query.c:4: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:19: error: redefinition of ‘struct coppia’ xsml_node.h:21: error: redefinition of typedef ‘coppia’ xsml_node.h:21: error: previous declaration of ‘coppia’ was here xsml_node.h:24: error: redefinition of typedef ‘node’ xsml_node.h:24: error: previous declaration of ‘node’ was here xsml_node.h:31: error: conflicting types for ‘get_node_type’ xsml_node.h:31: error: previous declaration of ‘get_node_type’ was here In file included from xsml_query.h:4, from xsml_query.c:5: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_query.h:5, from xsml_query.c:5: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_query.c:5: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:19: error: redefinition of ‘struct coppia’ xsml_node.h:21: error: redefinition of typedef ‘coppia’ xsml_node.h:21: error: previous declaration of ‘coppia’ was here xsml_node.h:24: error: redefinition of typedef ‘node’ xsml_node.h:24: error: previous declaration of ‘node’ was here xsml_node.h:31: error: conflicting types for ‘get_node_type’ xsml_node.h:31: error: previous declaration of ‘get_node_type’ was here == AntonioMiranda : Compiling main2.c with the student files In file included from xsml_node.h:1, from xsml_query.h:5, from main2.c:2: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from xsml_iter.c:4: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_iter.c:4: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_iter.c:4: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:19: error: redefinition of ‘struct coppia’ xsml_node.h:21: error: redefinition of typedef ‘coppia’ xsml_node.h:21: error: previous declaration of ‘coppia’ was here xsml_node.h:24: error: redefinition of typedef ‘node’ xsml_node.h:24: error: previous declaration of ‘node’ was here xsml_node.h:31: error: conflicting types for ‘get_node_type’ xsml_node.h:31: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_parse_query.c:6: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_parse_query.c:6: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_parse_query.c:6: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:19: error: redefinition of ‘struct coppia’ xsml_node.h:21: error: redefinition of typedef ‘coppia’ xsml_node.h:21: error: previous declaration of ‘coppia’ was here xsml_node.h:24: error: redefinition of typedef ‘node’ xsml_node.h:24: error: previous declaration of ‘node’ was here xsml_node.h:31: error: conflicting types for ‘get_node_type’ xsml_node.h:31: error: previous declaration of ‘get_node_type’ was here In file included from xsml_query.h:4, from xsml_parse_query.c:7: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_query.h:5, from xsml_parse_query.c:7: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_parse_query.c:7: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:19: error: redefinition of ‘struct coppia’ xsml_node.h:21: error: redefinition of typedef ‘coppia’ xsml_node.h:21: error: previous declaration of ‘coppia’ was here xsml_node.h:24: error: redefinition of typedef ‘node’ xsml_node.h:24: error: previous declaration of ‘node’ was here xsml_node.h:31: error: conflicting types for ‘get_node_type’ xsml_node.h:31: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_query.c:4: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_query.c:4: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_query.c:4: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:19: error: redefinition of ‘struct coppia’ xsml_node.h:21: error: redefinition of typedef ‘coppia’ xsml_node.h:21: error: previous declaration of ‘coppia’ was here xsml_node.h:24: error: redefinition of typedef ‘node’ xsml_node.h:24: error: previous declaration of ‘node’ was here xsml_node.h:31: error: conflicting types for ‘get_node_type’ xsml_node.h:31: error: previous declaration of ‘get_node_type’ was here In file included from xsml_query.h:4, from xsml_query.c:5: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_query.h:5, from xsml_query.c:5: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_query.c:5: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:19: error: redefinition of ‘struct coppia’ xsml_node.h:21: error: redefinition of typedef ‘coppia’ xsml_node.h:21: error: previous declaration of ‘coppia’ was here xsml_node.h:24: error: redefinition of typedef ‘node’ xsml_node.h:24: error: previous declaration of ‘node’ was here xsml_node.h:31: error: conflicting types for ‘get_node_type’ xsml_node.h:31: error: previous declaration of ‘get_node_type’ was here == AntonioMiranda : Compiling main3.c with the student files In file included from xsml_node.h:1, from main3.c:6: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:19: error: redefinition of ‘struct coppia’ xsml_node.h:21: error: redefinition of typedef ‘coppia’ xsml_node.h:21: error: previous declaration of ‘coppia’ was here xsml_node.h:24: error: redefinition of typedef ‘node’ xsml_node.h:24: error: previous declaration of ‘node’ was here xsml_node.h:31: error: conflicting types for ‘get_node_type’ xsml_node.h:31: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_iter.c:4: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_iter.c:4: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_iter.c:4: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:19: error: redefinition of ‘struct coppia’ xsml_node.h:21: error: redefinition of typedef ‘coppia’ xsml_node.h:21: error: previous declaration of ‘coppia’ was here xsml_node.h:24: error: redefinition of typedef ‘node’ xsml_node.h:24: error: previous declaration of ‘node’ was here xsml_node.h:31: error: conflicting types for ‘get_node_type’ xsml_node.h:31: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_parse_query.c:6: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_parse_query.c:6: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_parse_query.c:6: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:19: error: redefinition of ‘struct coppia’ xsml_node.h:21: error: redefinition of typedef ‘coppia’ xsml_node.h:21: error: previous declaration of ‘coppia’ was here xsml_node.h:24: error: redefinition of typedef ‘node’ xsml_node.h:24: error: previous declaration of ‘node’ was here xsml_node.h:31: error: conflicting types for ‘get_node_type’ xsml_node.h:31: error: previous declaration of ‘get_node_type’ was here In file included from xsml_query.h:4, from xsml_parse_query.c:7: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_query.h:5, from xsml_parse_query.c:7: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_parse_query.c:7: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:19: error: redefinition of ‘struct coppia’ xsml_node.h:21: error: redefinition of typedef ‘coppia’ xsml_node.h:21: error: previous declaration of ‘coppia’ was here xsml_node.h:24: error: redefinition of typedef ‘node’ xsml_node.h:24: error: previous declaration of ‘node’ was here xsml_node.h:31: error: conflicting types for ‘get_node_type’ xsml_node.h:31: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_query.c:4: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_query.c:4: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from xsml_query.c:4: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:19: error: redefinition of ‘struct coppia’ xsml_node.h:21: error: redefinition of typedef ‘coppia’ xsml_node.h:21: error: previous declaration of ‘coppia’ was here xsml_node.h:24: error: redefinition of typedef ‘node’ xsml_node.h:24: error: previous declaration of ‘node’ was here xsml_node.h:31: error: conflicting types for ‘get_node_type’ xsml_node.h:31: error: previous declaration of ‘get_node_type’ was here In file included from xsml_query.h:4, from xsml_query.c:5: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_query.h:5, from xsml_query.c:5: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:7: error: redefinition of typedef ‘elemento’ xsml_list.h:7: error: previous declaration of ‘elemento’ was here xsml_list.h:9: error: redefinition of typedef ‘ptr’ xsml_list.h:9: error: previous declaration of ‘ptr’ was here xsml_list.h:11: error: redefinition of ‘struct list’ xsml_list.h:15: error: redefinition of typedef ‘list’ xsml_list.h:15: error: previous declaration of ‘list’ was here xsml_list.h:27: error: redefinition of ‘struct itr’ xsml_list.h:28: error: redefinition of typedef ‘itr’ xsml_list.h:28: error: previous declaration of ‘itr’ was here xsml_list.h:30: error: redefinition of typedef ‘iterator’ xsml_list.h:30: error: previous declaration of ‘iterator’ was here xsml_list.h:39: error: nested redefinition of ‘enum op_errors’ xsml_list.h:39: error: redeclaration of ‘enum op_errors’ xsml_list.h:40: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:40: error: previous definition of ‘OP_OK’ was here xsml_list.h:41: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:41: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:42: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:42: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:44: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:44: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_query.c:5: xsml_node.h:5: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:5: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:7: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:7: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:7: error: conflicting types for ‘node_type’ xsml_node.h:7: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct node’ xsml_node.h:19: error: redefinition of ‘struct coppia’ xsml_node.h:21: error: redefinition of typedef ‘coppia’ xsml_node.h:21: error: previous declaration of ‘coppia’ was here xsml_node.h:24: error: redefinition of typedef ‘node’ xsml_node.h:24: error: previous declaration of ‘node’ was here xsml_node.h:31: error: conflicting types for ‘get_node_type’ xsml_node.h:31: error: previous declaration of ‘get_node_type’ was here Compilation with the student files [FAILED]. ========================================================== BahaaNYAbusahlia: Unzip: [OK] ===== == BahaaNYAbusahlia : Compiling main1.c with our files, except of xsml_iter.c == BahaaNYAbusahlia : Compiling main2.c with our files, except of xsml_iter.c == BahaaNYAbusahlia : Compiling main3.c with our files, except of xsml_iter.c Compilation with our files [OK] ========================================================== ClaudiaRapuano: Unzip: [OK] Compile: [NOT PATCHED, IGNORING] ========================================================== ClaudioCalabrese: Unzip: [OK] ===== == ClaudioCalabrese : Compiling main1.c with our files, except of xsml_iter.c == ClaudioCalabrese : Compiling main2.c with our files, except of xsml_iter.c == ClaudioCalabrese : Compiling main3.c with our files, except of xsml_iter.c Compilation with our files [OK] ========================================================== CleoniceMansillo: Unzip: [OK] ===== == CleoniceMansillo : Compiling main1.c with our files, except of xsml_iter.c == CleoniceMansillo : Compiling main2.c with our files, except of xsml_iter.c == CleoniceMansillo : Compiling main3.c with our files, except of xsml_iter.c Compilation with our files [OK] ========================================================== DanieleCesaroni: Unzip: [OK] ===== == DanieleCesaroni : Compiling main1.c with our files, except of xsml_iter.c == DanieleCesaroni : Compiling main2.c with our files, except of xsml_iter.c == DanieleCesaroni : Compiling main3.c with our files, except of xsml_iter.c Compilation with our files [OK] ========================================================== DanieleGuerrisi: Unzip: [OK] ===== == DanieleGuerrisi : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:16: error: ‘data’ undeclared (first use in this function) xsml_iter.c:16: error: (Each undeclared identifier is reported only once xsml_iter.c:16: error: for each function it appears in.) xsml_iter.c:16: error: ‘err_code’ undeclared (first use in this function) xsml_iter.c:17: error: expected expression before ‘)’ token == DanieleGuerrisi : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:16: error: ‘data’ undeclared (first use in this function) xsml_iter.c:16: error: (Each undeclared identifier is reported only once xsml_iter.c:16: error: for each function it appears in.) xsml_iter.c:16: error: ‘err_code’ undeclared (first use in this function) xsml_iter.c:17: error: expected expression before ‘)’ token == DanieleGuerrisi : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:16: error: ‘data’ undeclared (first use in this function) xsml_iter.c:16: error: (Each undeclared identifier is reported only once xsml_iter.c:16: error: for each function it appears in.) xsml_iter.c:16: error: ‘err_code’ undeclared (first use in this function) xsml_iter.c:17: error: expected expression before ‘)’ token Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/DanieleGuerrisi/DanieleGuerrisi' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/DanieleGuerrisi/DanieleGuerrisi' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/DanieleGuerrisi/DanieleGuerrisi' == DanieleGuerrisi : Compiling main1.c with the student files == DanieleGuerrisi : Compiling main2.c with the student files == DanieleGuerrisi : Compiling main3.c with the student files /tmp/ccq8KjsS.o: In function `main': main3.c:(.text+0x2dc): undefined reference to `get_xsml_doc' main3.c:(.text+0x31e): undefined reference to `last_token' collect2: ld returned 1 exit status Compilation with the student files [FAILED]. ========================================================== DanieleR: Unzip: [OK] ===== == DanieleR : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:20: error: ‘attr_dati’ undeclared (first use in this function) xsml_iter.c:20: error: (Each undeclared identifier is reported only once xsml_iter.c:20: error: for each function it appears in.) xsml_iter.c:20: error: expected ‘)’ before ‘valore’ xsml_query.c:10: warning: ‘struct elem’ declared inside parameter list xsml_query.c:10: warning: its scope is only this definition or declaration, which is probably not what you want == DanieleR : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:20: error: ‘attr_dati’ undeclared (first use in this function) xsml_iter.c:20: error: (Each undeclared identifier is reported only once xsml_iter.c:20: error: for each function it appears in.) xsml_iter.c:20: error: expected ‘)’ before ‘valore’ xsml_query.c:10: warning: ‘struct elem’ declared inside parameter list xsml_query.c:10: warning: its scope is only this definition or declaration, which is probably not what you want == DanieleR : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:20: error: ‘attr_dati’ undeclared (first use in this function) xsml_iter.c:20: error: (Each undeclared identifier is reported only once xsml_iter.c:20: error: for each function it appears in.) xsml_iter.c:20: error: expected ‘)’ before ‘valore’ xsml_query.c:10: warning: ‘struct elem’ declared inside parameter list xsml_query.c:10: warning: its scope is only this definition or declaration, which is probably not what you want Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/DanieleR/DanieleR' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/DanieleR/DanieleR' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/DanieleR/DanieleR' == DanieleR : Compiling main1.c with the student files == DanieleR : Compiling main2.c with the student files == DanieleR : Compiling main3.c with the student files /tmp/cc46I01K.o: In function `main': main3.c:(.text+0x2dc): undefined reference to `get_xsml_doc' main3.c:(.text+0x31e): undefined reference to `last_token' collect2: ld returned 1 exit status Compilation with the student files [FAILED]. ========================================================== DavideDELLAVALLE: Unzip: [OK] Compile: [NOT PATCHED, IGNORING] ========================================================== DeliaPassalacqua: Unzip: [OK] ===== == DeliaPassalacqua : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:12: error: ‘attrib’ undeclared (first use in this function) xsml_iter.c:12: error: (Each undeclared identifier is reported only once xsml_iter.c:12: error: for each function it appears in.) xsml_iter.c:12: error: expected ‘;’ before ‘attribute’ xsml_iter.c:13: error: ‘attribute’ undeclared (first use in this function) xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:13: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_parse_query.c:21: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c: In function ‘check_nodi’: xsml_parse_query.c:94: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_parse_query.c:99: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_parse_query.c: In function ‘check_attr’: xsml_parse_query.c:137: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_parse_query.c:139: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_query.c: In function ‘query’: xsml_query.c:18: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c: In function ‘search_from_root’: xsml_query.c:107: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c:119: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_query.c:136: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c: In function ‘search_attr’: xsml_query.c:171: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c: In function ‘get_value_from_it’: xsml_query.c:200: error: ‘attrib’ undeclared (first use in this function) xsml_query.c:200: error: (Each undeclared identifier is reported only once xsml_query.c:200: error: for each function it appears in.) xsml_query.c:200: error: expected ‘;’ before ‘attribute’ xsml_query.c:201: error: ‘attribute’ undeclared (first use in this function) xsml_query.c: In function ‘search_all’: xsml_query.c:214: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c:237: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_query.c: In function ‘delete_iterator’: xsml_query.c:251: error: ‘struct iterator’ has no member named ‘it_el’ == DeliaPassalacqua : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:12: error: ‘attrib’ undeclared (first use in this function) xsml_iter.c:12: error: (Each undeclared identifier is reported only once xsml_iter.c:12: error: for each function it appears in.) xsml_iter.c:12: error: expected ‘;’ before ‘attribute’ xsml_iter.c:13: error: ‘attribute’ undeclared (first use in this function) xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:13: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_parse_query.c:21: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c: In function ‘check_nodi’: xsml_parse_query.c:94: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_parse_query.c:99: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_parse_query.c: In function ‘check_attr’: xsml_parse_query.c:137: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_parse_query.c:139: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_query.c: In function ‘query’: xsml_query.c:18: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c: In function ‘search_from_root’: xsml_query.c:107: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c:119: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_query.c:136: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c: In function ‘search_attr’: xsml_query.c:171: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c: In function ‘get_value_from_it’: xsml_query.c:200: error: ‘attrib’ undeclared (first use in this function) xsml_query.c:200: error: (Each undeclared identifier is reported only once xsml_query.c:200: error: for each function it appears in.) xsml_query.c:200: error: expected ‘;’ before ‘attribute’ xsml_query.c:201: error: ‘attribute’ undeclared (first use in this function) xsml_query.c: In function ‘search_all’: xsml_query.c:214: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c:237: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_query.c: In function ‘delete_iterator’: xsml_query.c:251: error: ‘struct iterator’ has no member named ‘it_el’ == DeliaPassalacqua : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:12: error: ‘attrib’ undeclared (first use in this function) xsml_iter.c:12: error: (Each undeclared identifier is reported only once xsml_iter.c:12: error: for each function it appears in.) xsml_iter.c:12: error: expected ‘;’ before ‘attribute’ xsml_iter.c:13: error: ‘attribute’ undeclared (first use in this function) xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:13: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_parse_query.c:21: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c: In function ‘check_nodi’: xsml_parse_query.c:94: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_parse_query.c:99: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_parse_query.c: In function ‘check_attr’: xsml_parse_query.c:137: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_parse_query.c:139: warning: incompatible implicit declaration of built-in function ‘strncpy’ xsml_query.c: In function ‘query’: xsml_query.c:18: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c: In function ‘search_from_root’: xsml_query.c:107: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c:119: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_query.c:136: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c: In function ‘search_attr’: xsml_query.c:171: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c: In function ‘get_value_from_it’: xsml_query.c:200: error: ‘attrib’ undeclared (first use in this function) xsml_query.c:200: error: (Each undeclared identifier is reported only once xsml_query.c:200: error: for each function it appears in.) xsml_query.c:200: error: expected ‘;’ before ‘attribute’ xsml_query.c:201: error: ‘attribute’ undeclared (first use in this function) xsml_query.c: In function ‘search_all’: xsml_query.c:214: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c:237: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_query.c: In function ‘delete_iterator’: xsml_query.c:251: error: ‘struct iterator’ has no member named ‘it_el’ Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/DeliaPassalacqua/DeliaPassalacqua' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/DeliaPassalacqua/nuovi (ok)' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/DeliaPassalacqua/DeliaPassalacqua' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/DeliaPassalacqua/nuovi (ok)' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/DeliaPassalacqua/DeliaPassalacqua' == DeliaPassalacqua : Compiling main1.c with the student files == DeliaPassalacqua : Compiling main2.c with the student files == DeliaPassalacqua : Compiling main3.c with the student files /tmp/cc4plwZ0.o: In function `main': main3.c:(.text+0x2dc): undefined reference to `get_xsml_doc' main3.c:(.text+0x31e): undefined reference to `last_token' collect2: ld returned 1 exit status Compilation with the student files [FAILED]. ========================================================== DiegoLucaccini: Unzip: [OK] Compile: [NOT PATCHED, IGNORING] ========================================================== DiegoMaicu: Unzip: [OK] Compile: [NOT PATCHED, IGNORING] ========================================================== ElenaAgostini: Unzip: [OK] ===== == ElenaAgostini : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:12: error: ‘data’ undeclared (first use in this function) xsml_iter.c:12: error: (Each undeclared identifier is reported only once xsml_iter.c:12: error: for each function it appears in.) xsml_iter.c:12: error: expected ‘;’ before ‘ptr’ xsml_iter.c:14: warning: incompatible implicit declaration of built-in function ‘exit’ xsml_iter.c:17: error: ‘ptr’ undeclared (first use in this function) xsml_iter.c:17: error: expected ‘;’ before ‘next’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:34: warning: incompatible implicit declaration of built-in function ‘exit’ xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:27: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_parse_query.c: In function ‘crea_nodo_query’: xsml_parse_query.c:59: warning: incompatible implicit declaration of built-in function ‘calloc’ == ElenaAgostini : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:12: error: ‘data’ undeclared (first use in this function) xsml_iter.c:12: error: (Each undeclared identifier is reported only once xsml_iter.c:12: error: for each function it appears in.) xsml_iter.c:12: error: expected ‘;’ before ‘ptr’ xsml_iter.c:14: warning: incompatible implicit declaration of built-in function ‘exit’ xsml_iter.c:17: error: ‘ptr’ undeclared (first use in this function) xsml_iter.c:17: error: expected ‘;’ before ‘next’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:34: warning: incompatible implicit declaration of built-in function ‘exit’ xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:27: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_parse_query.c: In function ‘crea_nodo_query’: xsml_parse_query.c:59: warning: incompatible implicit declaration of built-in function ‘calloc’ == ElenaAgostini : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:12: error: ‘data’ undeclared (first use in this function) xsml_iter.c:12: error: (Each undeclared identifier is reported only once xsml_iter.c:12: error: for each function it appears in.) xsml_iter.c:12: error: expected ‘;’ before ‘ptr’ xsml_iter.c:14: warning: incompatible implicit declaration of built-in function ‘exit’ xsml_iter.c:17: error: ‘ptr’ undeclared (first use in this function) xsml_iter.c:17: error: expected ‘;’ before ‘next’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:34: warning: incompatible implicit declaration of built-in function ‘exit’ xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:27: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_parse_query.c: In function ‘crea_nodo_query’: xsml_parse_query.c:59: warning: incompatible implicit declaration of built-in function ‘calloc’ Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/ElenaAgostini/ElenaAgostini' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/ElenaAgostini/ElenaAgostini' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/ElenaAgostini/ElenaAgostini' == ElenaAgostini : Compiling main1.c with the student files == ElenaAgostini : Compiling main2.c with the student files == ElenaAgostini : Compiling main3.c with the student files /tmp/ccI0Q7f2.o: In function `main': main3.c:(.text+0x2dc): undefined reference to `get_xsml_doc' main3.c:(.text+0x31e): undefined reference to `last_token' collect2: ld returned 1 exit status Compilation with the student files [FAILED]. ========================================================== EltonBushati: Unzip: [OK] ===== == EltonBushati : Compiling main1.c with our files, except of xsml_iter.c xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:40: error: expected expression before ‘|’ token == EltonBushati : Compiling main2.c with our files, except of xsml_iter.c xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:40: error: expected expression before ‘|’ token == EltonBushati : Compiling main3.c with our files, except of xsml_iter.c xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:40: error: expected expression before ‘|’ token Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/EltonBushati/EltonBushati' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/EltonBushati/patch_modulo3' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/EltonBushati/EltonBushati' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/EltonBushati/patch_modulo3' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/EltonBushati/EltonBushati' == EltonBushati : Compiling main1.c with the student files xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:40: error: expected expression before ‘|’ token == EltonBushati : Compiling main2.c with the student files xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:40: error: expected expression before ‘|’ token == EltonBushati : Compiling main3.c with the student files xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:40: error: expected expression before ‘|’ token Compilation with the student files [FAILED]. ========================================================== EmanueleMariaValentini: Unzip: [OK] Compile: [NOT PATCHED, IGNORING] ========================================================== FedericoScacco: Unzip: [OK] ===== == FedericoScacco : Compiling main1.c with our files, except of xsml_iter.c == FedericoScacco : Compiling main2.c with our files, except of xsml_iter.c == FedericoScacco : Compiling main3.c with our files, except of xsml_iter.c Compilation with our files [OK] ========================================================== FlavioPietrelli: Unzip: [OK] ===== == FlavioPietrelli : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:12: error: ‘data’ undeclared (first use in this function) xsml_iter.c:12: error: (Each undeclared identifier is reported only once xsml_iter.c:12: error: for each function it appears in.) xsml_iter.c:12: error: expected ‘)’ before ‘next_attr_name’ == FlavioPietrelli : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:12: error: ‘data’ undeclared (first use in this function) xsml_iter.c:12: error: (Each undeclared identifier is reported only once xsml_iter.c:12: error: for each function it appears in.) xsml_iter.c:12: error: expected ‘)’ before ‘next_attr_name’ == FlavioPietrelli : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:12: error: ‘data’ undeclared (first use in this function) xsml_iter.c:12: error: (Each undeclared identifier is reported only once xsml_iter.c:12: error: for each function it appears in.) xsml_iter.c:12: error: expected ‘)’ before ‘next_attr_name’ Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/FlavioPietrelli/FlavioPietrelli' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/FlavioPietrelli/FlavioPietrelli' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/FlavioPietrelli/FlavioPietrelli' == FlavioPietrelli : Compiling main1.c with the student files == FlavioPietrelli : Compiling main2.c with the student files == FlavioPietrelli : Compiling main3.c with the student files /tmp/ccKapkEt.o: In function `main': main3.c:(.text+0x2dc): undefined reference to `get_xsml_doc' main3.c:(.text+0x31e): undefined reference to `last_token' collect2: ld returned 1 exit status Compilation with the student files [FAILED]. ========================================================== GabrieleIoannucci: Unzip: [OK] ===== == GabrieleIoannucci : Compiling main1.c with our files, except of xsml_iter.c == GabrieleIoannucci : Compiling main2.c with our files, except of xsml_iter.c == GabrieleIoannucci : Compiling main3.c with our files, except of xsml_iter.c Compilation with our files [OK] ========================================================== GabrieleTarantino: Unzip: [OK] ===== == GabrieleTarantino : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:11: error: ‘Att’ undeclared (first use in this function) xsml_iter.c:11: error: (Each undeclared identifier is reported only once xsml_iter.c:11: error: for each function it appears in.) xsml_iter.c:11: error: ‘a’ undeclared (first use in this function) xsml_parse_query.c: In function ‘query_next_word’: xsml_parse_query.c:34: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c:53: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c: In function ‘query_catch_attributes’: xsml_parse_query.c:73: error: ‘Att’ undeclared (first use in this function) xsml_parse_query.c:73: error: (Each undeclared identifier is reported only once xsml_parse_query.c:73: error: for each function it appears in.) xsml_parse_query.c:73: error: ‘a’ undeclared (first use in this function) xsml_parse_query.c:77: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c:80: error: expected expression before ‘)’ token xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:102: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c: In function ‘create_my_list’: xsml_query.c:36: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c:38: error: ‘NULL’ undeclared (first use in this function) xsml_query.c:38: error: (Each undeclared identifier is reported only once xsml_query.c:38: error: for each function it appears in.) xsml_query.c:41: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c:47: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c: In function ‘query_match_attribute’: xsml_query.c:58: error: ‘Att’ undeclared (first use in this function) xsml_query.c:58: error: ‘T’ undeclared (first use in this function) xsml_query.c:58: error: ‘Q’ undeclared (first use in this function) == GabrieleTarantino : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:11: error: ‘Att’ undeclared (first use in this function) xsml_iter.c:11: error: (Each undeclared identifier is reported only once xsml_iter.c:11: error: for each function it appears in.) xsml_iter.c:11: error: ‘a’ undeclared (first use in this function) xsml_parse_query.c: In function ‘query_next_word’: xsml_parse_query.c:34: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c:53: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c: In function ‘query_catch_attributes’: xsml_parse_query.c:73: error: ‘Att’ undeclared (first use in this function) xsml_parse_query.c:73: error: (Each undeclared identifier is reported only once xsml_parse_query.c:73: error: for each function it appears in.) xsml_parse_query.c:73: error: ‘a’ undeclared (first use in this function) xsml_parse_query.c:77: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c:80: error: expected expression before ‘)’ token xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:102: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c: In function ‘create_my_list’: xsml_query.c:36: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c:38: error: ‘NULL’ undeclared (first use in this function) xsml_query.c:38: error: (Each undeclared identifier is reported only once xsml_query.c:38: error: for each function it appears in.) xsml_query.c:41: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c:47: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c: In function ‘query_match_attribute’: xsml_query.c:58: error: ‘Att’ undeclared (first use in this function) xsml_query.c:58: error: ‘T’ undeclared (first use in this function) xsml_query.c:58: error: ‘Q’ undeclared (first use in this function) == GabrieleTarantino : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:11: error: ‘Att’ undeclared (first use in this function) xsml_iter.c:11: error: (Each undeclared identifier is reported only once xsml_iter.c:11: error: for each function it appears in.) xsml_iter.c:11: error: ‘a’ undeclared (first use in this function) xsml_parse_query.c: In function ‘query_next_word’: xsml_parse_query.c:34: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c:53: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c: In function ‘query_catch_attributes’: xsml_parse_query.c:73: error: ‘Att’ undeclared (first use in this function) xsml_parse_query.c:73: error: (Each undeclared identifier is reported only once xsml_parse_query.c:73: error: for each function it appears in.) xsml_parse_query.c:73: error: ‘a’ undeclared (first use in this function) xsml_parse_query.c:77: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c:80: error: expected expression before ‘)’ token xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:102: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c: In function ‘create_my_list’: xsml_query.c:36: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c:38: error: ‘NULL’ undeclared (first use in this function) xsml_query.c:38: error: (Each undeclared identifier is reported only once xsml_query.c:38: error: for each function it appears in.) xsml_query.c:41: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c:47: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c: In function ‘query_match_attribute’: xsml_query.c:58: error: ‘Att’ undeclared (first use in this function) xsml_query.c:58: error: ‘T’ undeclared (first use in this function) xsml_query.c:58: error: ‘Q’ undeclared (first use in this function) Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/GabrieleTarantino/GabrieleTarantino' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/GabrieleTarantino/GabrieleTarantino' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/GabrieleTarantino/GabrieleTarantino' == GabrieleTarantino : Compiling main1.c with the student files == GabrieleTarantino : Compiling main2.c with the student files == GabrieleTarantino : Compiling main3.c with the student files /tmp/ccYBec6d.o: In function `main': main3.c:(.text+0x2dc): undefined reference to `get_xsml_doc' main3.c:(.text+0x31e): undefined reference to `last_token' collect2: ld returned 1 exit status Compilation with the student files [FAILED]. ========================================================== GennyProto: Unzip: [OK] ===== == GennyProto : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:19: error: ‘attrib’ undeclared (first use in this function) xsml_iter.c:19: error: (Each undeclared identifier is reported only once xsml_iter.c:19: error: for each function it appears in.) xsml_iter.c:19: error: ‘ptr_i’ undeclared (first use in this function) xsml_iter.c:21: error: expected expression before ‘)’ token == GennyProto : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:19: error: ‘attrib’ undeclared (first use in this function) xsml_iter.c:19: error: (Each undeclared identifier is reported only once xsml_iter.c:19: error: for each function it appears in.) xsml_iter.c:19: error: ‘ptr_i’ undeclared (first use in this function) xsml_iter.c:21: error: expected expression before ‘)’ token == GennyProto : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:19: error: ‘attrib’ undeclared (first use in this function) xsml_iter.c:19: error: (Each undeclared identifier is reported only once xsml_iter.c:19: error: for each function it appears in.) xsml_iter.c:19: error: ‘ptr_i’ undeclared (first use in this function) xsml_iter.c:21: error: expected expression before ‘)’ token Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/GennyProto/GennyProto' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/GennyProto/GennyProto' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/GennyProto/GennyProto' == GennyProto : Compiling main1.c with the student files == GennyProto : Compiling main2.c with the student files == GennyProto : Compiling main3.c with the student files /tmp/cced8aaQ.o: In function `main': main3.c:(.text+0x2dc): undefined reference to `get_xsml_doc' main3.c:(.text+0x31e): undefined reference to `last_token' collect2: ld returned 1 exit status Compilation with the student files [FAILED]. ========================================================== GioacchinoMendola: Unzip: [OK] ===== == GioacchinoMendola : Compiling main1.c with our files, except of xsml_iter.c == GioacchinoMendola : Compiling main2.c with our files, except of xsml_iter.c == GioacchinoMendola : Compiling main3.c with our files, except of xsml_iter.c Compilation with our files [OK] ========================================================== GiorgioDePropris: Unzip: [OK] ===== == GiorgioDePropris : Compiling main1.c with our files, except of xsml_iter.c == GiorgioDePropris : Compiling main2.c with our files, except of xsml_iter.c == GiorgioDePropris : Compiling main3.c with our files, except of xsml_iter.c Compilation with our files [OK] ========================================================== GiorgioMarinelli: Unzip: [OK] Compile: [NOT PATCHED, IGNORING] ========================================================== GiuseppeAntonioSestito: Unzip: [OK] Compile: [NOT PATCHED, IGNORING] ========================================================== GiuseppeCrisafulli: Unzip: [OK] Compile: [NOT PATCHED, IGNORING] ========================================================== GiuseppeMarzo: Unzip: [OK] ===== == GiuseppeMarzo : Compiling main1.c with our files, except of xsml_iter.c == GiuseppeMarzo : Compiling main2.c with our files, except of xsml_iter.c == GiuseppeMarzo : Compiling main3.c with our files, except of xsml_iter.c Compilation with our files [OK] ========================================================== GiuseppeSantaMariaSosso: Unzip: [OK] Compile: [NOT PATCHED, IGNORING] ========================================================== GiuseppeSestito: Unzip: [OK] ===== == GiuseppeSestito : Compiling main1.c with our files, except of xsml_iter.c == GiuseppeSestito : Compiling main2.c with our files, except of xsml_iter.c == GiuseppeSestito : Compiling main3.c with our files, except of xsml_iter.c Compilation with our files [OK] ========================================================== GiuseppeTreppiedi: Unzip: [OK] Compile: [NOT PATCHED, IGNORING] ========================================================== GloriaRomualdi: Unzip: [OK] ===== == GloriaRomualdi : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:10: error: invalid application of ‘sizeof’ to incomplete type ‘struct iter’ xsml_iter.c:11: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:11: error: ‘struct list’ has no member named ‘top’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:18: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:20: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:21: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:21: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:22: error: ‘struct attr’ has no member named ‘key’ xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:30: error: invalid application of ‘sizeof’ to incomplete type ‘struct iter’ xsml_iter.c:31: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:31: error: ‘struct list’ has no member named ‘top’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:38: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:40: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:41: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:41: error: ‘struct iterator’ has no member named ‘ptr’ == GloriaRomualdi : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:10: error: invalid application of ‘sizeof’ to incomplete type ‘struct iter’ xsml_iter.c:11: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:11: error: ‘struct list’ has no member named ‘top’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:18: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:20: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:21: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:21: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:22: error: ‘struct attr’ has no member named ‘key’ xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:30: error: invalid application of ‘sizeof’ to incomplete type ‘struct iter’ xsml_iter.c:31: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:31: error: ‘struct list’ has no member named ‘top’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:38: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:40: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:41: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:41: error: ‘struct iterator’ has no member named ‘ptr’ == GloriaRomualdi : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:10: error: invalid application of ‘sizeof’ to incomplete type ‘struct iter’ xsml_iter.c:11: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:11: error: ‘struct list’ has no member named ‘top’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:18: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:20: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:21: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:21: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:22: error: ‘struct attr’ has no member named ‘key’ xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:30: error: invalid application of ‘sizeof’ to incomplete type ‘struct iter’ xsml_iter.c:31: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:31: error: ‘struct list’ has no member named ‘top’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:38: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:40: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:41: error: ‘struct iterator’ has no member named ‘ptr’ xsml_iter.c:41: error: ‘struct iterator’ has no member named ‘ptr’ Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/GloriaRomualdi/daconsegnare3' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/GloriaRomualdi/GloriaRomualdi' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/GloriaRomualdi/modulo3' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/GloriaRomualdi/daconsegnare3' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/GloriaRomualdi/GloriaRomualdi' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/GloriaRomualdi/modulo3' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/GloriaRomualdi/GloriaRomualdi' == GloriaRomualdi : Compiling main1.c with the student files == GloriaRomualdi : Compiling main2.c with the student files == GloriaRomualdi : Compiling main3.c with the student files /tmp/cc0o67gW.o: In function `main': main3.c:(.text+0x2dc): undefined reference to `get_xsml_doc' main3.c:(.text+0x31e): undefined reference to `last_token' collect2: ld returned 1 exit status Compilation with the student files [FAILED]. ========================================================== JacopoOttaviani: Unzip: [OK] ===== == JacopoOttaviani : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c:11:22: error: xsml_lex.c: No such file or directory == JacopoOttaviani : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c:11:22: error: xsml_lex.c: No such file or directory == JacopoOttaviani : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c:11:22: error: xsml_lex.c: No such file or directory Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/JacopoOttaviani/JacopoOttaviani' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/JacopoOttaviani/JacopoOttaviani' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/JacopoOttaviani/JacopoOttaviani' == JacopoOttaviani : Compiling main1.c with the student files In file included from xsml_node.h:4, from xsml_query.h:5, from main1.c:2: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_list.c:1, from xsml_iter.c:7: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:4, from xsml_iter.c:8: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:4, from xsml_node.c:3, from xsml_iter.c:9: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.c:3, from xsml_iter.c:9: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:13: error: redefinition of ‘struct node’ xsml_node.h:24: error: redefinition of typedef ‘node_noPtr’ xsml_node.h:24: error: previous declaration of ‘node_noPtr’ was here xsml_node.h:25: error: redefinition of typedef ‘node’ xsml_node.h:25: error: previous declaration of ‘node’ was here xsml_node.h:29: error: conflicting types for ‘get_node_type’ xsml_node.h:29: error: previous declaration of ‘get_node_type’ was here In file included from xsml_iter.c:9: xsml_node.c:33: error: conflicting types for ‘get_node_type’ xsml_node.h:29: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_iter.c:12: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:4, from xsml_syn.h:6, from xsml_iter.c:12: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from xsml_iter.c:12: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:13: error: redefinition of ‘struct node’ xsml_node.h:24: error: redefinition of typedef ‘node_noPtr’ xsml_node.h:24: error: previous declaration of ‘node_noPtr’ was here xsml_node.h:25: error: redefinition of typedef ‘node’ xsml_node.h:25: error: previous declaration of ‘node’ was here xsml_node.h:29: error: conflicting types for ‘get_node_type’ xsml_node.h:29: error: previous declaration of ‘get_node_type’ was here xsml_iter.c: In function ‘next_attr’: xsml_iter.c:32: error: conversion to non-scalar type requested In file included from xsml_node.h:4, from xsml_parse_query.c:8: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_query.h:4, from xsml_parse_query.c:10: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:4, from xsml_query.h:5, from xsml_parse_query.c:10: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_query.h:5, from xsml_parse_query.c:10: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:13: error: redefinition of ‘struct node’ xsml_node.h:24: error: redefinition of typedef ‘node_noPtr’ xsml_node.h:24: error: previous declaration of ‘node_noPtr’ was here xsml_node.h:25: error: redefinition of typedef ‘node’ xsml_node.h:25: error: previous declaration of ‘node’ was here xsml_node.h:29: error: conflicting types for ‘get_node_type’ xsml_node.h:29: error: previous declaration of ‘get_node_type’ was here == JacopoOttaviani : Compiling main2.c with the student files In file included from xsml_node.h:4, from xsml_query.h:5, from main2.c:2: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_list.c:1, from xsml_iter.c:7: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:4, from xsml_iter.c:8: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:4, from xsml_node.c:3, from xsml_iter.c:9: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.c:3, from xsml_iter.c:9: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:13: error: redefinition of ‘struct node’ xsml_node.h:24: error: redefinition of typedef ‘node_noPtr’ xsml_node.h:24: error: previous declaration of ‘node_noPtr’ was here xsml_node.h:25: error: redefinition of typedef ‘node’ xsml_node.h:25: error: previous declaration of ‘node’ was here xsml_node.h:29: error: conflicting types for ‘get_node_type’ xsml_node.h:29: error: previous declaration of ‘get_node_type’ was here In file included from xsml_iter.c:9: xsml_node.c:33: error: conflicting types for ‘get_node_type’ xsml_node.h:29: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_iter.c:12: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:4, from xsml_syn.h:6, from xsml_iter.c:12: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from xsml_iter.c:12: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:13: error: redefinition of ‘struct node’ xsml_node.h:24: error: redefinition of typedef ‘node_noPtr’ xsml_node.h:24: error: previous declaration of ‘node_noPtr’ was here xsml_node.h:25: error: redefinition of typedef ‘node’ xsml_node.h:25: error: previous declaration of ‘node’ was here xsml_node.h:29: error: conflicting types for ‘get_node_type’ xsml_node.h:29: error: previous declaration of ‘get_node_type’ was here xsml_iter.c: In function ‘next_attr’: xsml_iter.c:32: error: conversion to non-scalar type requested In file included from xsml_node.h:4, from xsml_parse_query.c:8: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_query.h:4, from xsml_parse_query.c:10: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:4, from xsml_query.h:5, from xsml_parse_query.c:10: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_query.h:5, from xsml_parse_query.c:10: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:13: error: redefinition of ‘struct node’ xsml_node.h:24: error: redefinition of typedef ‘node_noPtr’ xsml_node.h:24: error: previous declaration of ‘node_noPtr’ was here xsml_node.h:25: error: redefinition of typedef ‘node’ xsml_node.h:25: error: previous declaration of ‘node’ was here xsml_node.h:29: error: conflicting types for ‘get_node_type’ xsml_node.h:29: error: previous declaration of ‘get_node_type’ was here == JacopoOttaviani : Compiling main3.c with the student files In file included from xsml_node.h:4, from main3.c:6: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:4, from xsml_syn.h:6, from main3.c:7: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:13: error: redefinition of ‘struct node’ xsml_node.h:24: error: redefinition of typedef ‘node_noPtr’ xsml_node.h:24: error: previous declaration of ‘node_noPtr’ was here xsml_node.h:25: error: redefinition of typedef ‘node’ xsml_node.h:25: error: previous declaration of ‘node’ was here xsml_node.h:29: error: conflicting types for ‘get_node_type’ xsml_node.h:29: error: previous declaration of ‘get_node_type’ was here In file included from xsml_list.c:1, from xsml_iter.c:7: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:4, from xsml_iter.c:8: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:4, from xsml_node.c:3, from xsml_iter.c:9: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.c:3, from xsml_iter.c:9: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:13: error: redefinition of ‘struct node’ xsml_node.h:24: error: redefinition of typedef ‘node_noPtr’ xsml_node.h:24: error: previous declaration of ‘node_noPtr’ was here xsml_node.h:25: error: redefinition of typedef ‘node’ xsml_node.h:25: error: previous declaration of ‘node’ was here xsml_node.h:29: error: conflicting types for ‘get_node_type’ xsml_node.h:29: error: previous declaration of ‘get_node_type’ was here In file included from xsml_iter.c:9: xsml_node.c:33: error: conflicting types for ‘get_node_type’ xsml_node.h:29: error: previous declaration of ‘get_node_type’ was here In file included from xsml_syn.h:5, from xsml_iter.c:12: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:4, from xsml_syn.h:6, from xsml_iter.c:12: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_syn.h:6, from xsml_iter.c:12: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:13: error: redefinition of ‘struct node’ xsml_node.h:24: error: redefinition of typedef ‘node_noPtr’ xsml_node.h:24: error: previous declaration of ‘node_noPtr’ was here xsml_node.h:25: error: redefinition of typedef ‘node’ xsml_node.h:25: error: previous declaration of ‘node’ was here xsml_node.h:29: error: conflicting types for ‘get_node_type’ xsml_node.h:29: error: previous declaration of ‘get_node_type’ was here xsml_iter.c: In function ‘next_attr’: xsml_iter.c:32: error: conversion to non-scalar type requested In file included from xsml_node.h:4, from xsml_parse_query.c:8: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_query.h:4, from xsml_parse_query.c:10: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_node.h:4, from xsml_query.h:5, from xsml_parse_query.c:10: xsml_list.h:6: error: redefinition of ‘struct attr’ xsml_list.h:11: error: redefinition of typedef ‘attr’ xsml_list.h:11: error: previous declaration of ‘attr’ was here xsml_list.h:14: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:22: error: redefinition of ‘struct list_noPtr’ xsml_list.h:25: error: redefinition of typedef ‘list_noPtr’ xsml_list.h:25: error: previous declaration of ‘list_noPtr’ was here xsml_list.h:27: error: redefinition of typedef ‘list’ xsml_list.h:27: error: previous declaration of ‘list’ was here xsml_list.h:30: error: nested redefinition of ‘enum op_errors’ xsml_list.h:30: error: redeclaration of ‘enum op_errors’ xsml_list.h:31: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:31: error: previous definition of ‘OP_OK’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:32: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:33: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:33: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:35: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:38: error: redefinition of ‘struct iteratore’ xsml_list.h:40: error: redefinition of typedef ‘iteratore’ xsml_list.h:40: error: previous declaration of ‘iteratore’ was here xsml_list.h:42: error: redefinition of typedef ‘iterator’ xsml_list.h:42: error: previous declaration of ‘iterator’ was here In file included from xsml_query.h:5, from xsml_parse_query.c:10: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:13: error: redefinition of ‘struct node’ xsml_node.h:24: error: redefinition of typedef ‘node_noPtr’ xsml_node.h:24: error: previous declaration of ‘node_noPtr’ was here xsml_node.h:25: error: redefinition of typedef ‘node’ xsml_node.h:25: error: previous declaration of ‘node’ was here xsml_node.h:29: error: conflicting types for ‘get_node_type’ xsml_node.h:29: error: previous declaration of ‘get_node_type’ was here Compilation with the student files [FAILED]. ========================================================== JacopoSciarra: Unzip: [OK] Compile: [NOT PATCHED, IGNORING] ========================================================== LauraMinicucci: Unzip: [OK] ===== == LauraMinicucci : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:26: error: ‘ATTRIBUTO’ undeclared (first use in this function) xsml_iter.c:26: error: (Each undeclared identifier is reported only once xsml_iter.c:26: error: for each function it appears in.) xsml_iter.c:26: error: ‘tmp’ undeclared (first use in this function) == LauraMinicucci : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:26: error: ‘ATTRIBUTO’ undeclared (first use in this function) xsml_iter.c:26: error: (Each undeclared identifier is reported only once xsml_iter.c:26: error: for each function it appears in.) xsml_iter.c:26: error: ‘tmp’ undeclared (first use in this function) == LauraMinicucci : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:26: error: ‘ATTRIBUTO’ undeclared (first use in this function) xsml_iter.c:26: error: (Each undeclared identifier is reported only once xsml_iter.c:26: error: for each function it appears in.) xsml_iter.c:26: error: ‘tmp’ undeclared (first use in this function) Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/LauraMinicucci/LauraMinicucci' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/LauraMinicucci/LauraMinicucci' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/LauraMinicucci/LauraMinicucci' == LauraMinicucci : Compiling main1.c with the student files == LauraMinicucci : Compiling main2.c with the student files == LauraMinicucci : Compiling main3.c with the student files /tmp/cc467HMp.o: In function `main': main3.c:(.text+0x2dc): undefined reference to `get_xsml_doc' main3.c:(.text+0x31e): undefined reference to `last_token' collect2: ld returned 1 exit status Compilation with the student files [FAILED]. ========================================================== LorenzoBellincampi: Unzip: [OK] ===== == LorenzoBellincampi : Compiling main1.c with our files, except of xsml_iter.c xsml_query.c:8:22: error: xsml_lex.c: No such file or directory == LorenzoBellincampi : Compiling main2.c with our files, except of xsml_iter.c xsml_query.c:8:22: error: xsml_lex.c: No such file or directory == LorenzoBellincampi : Compiling main3.c with our files, except of xsml_iter.c xsml_query.c:8:22: error: xsml_lex.c: No such file or directory Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/LorenzoBellincampi/LorenzoBellincampi' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/LorenzoBellincampi/LorenzoBellincampi' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/LorenzoBellincampi/LorenzoBellincampi' == LorenzoBellincampi : Compiling main1.c with the student files xsml_query.c: In function ‘query’: xsml_query.c:33: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:37: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:38: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:40: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:42: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:43: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:43: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:49: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:51: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:53: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:54: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:54: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:67: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c: In function ‘query_rtd’: xsml_query.c:78: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:80: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:81: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:82: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:84: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:86: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:87: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:87: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:98: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:100: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:102: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:103: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:103: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c: In function ‘query_unrtd’: xsml_query.c:125: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:127: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:128: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:129: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:131: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:133: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:134: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:134: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:145: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:147: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:149: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:150: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:150: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:160: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:162: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:163: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:163: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:170: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:172: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:173: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:173: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c: In function ‘check_attr’: xsml_query.c:188: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:188: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:189: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:190: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:190: error: ‘struct iteratore’ has no member named ‘p’ == LorenzoBellincampi : Compiling main2.c with the student files xsml_query.c: In function ‘query’: xsml_query.c:33: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:37: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:38: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:40: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:42: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:43: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:43: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:49: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:51: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:53: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:54: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:54: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:67: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c: In function ‘query_rtd’: xsml_query.c:78: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:80: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:81: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:82: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:84: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:86: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:87: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:87: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:98: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:100: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:102: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:103: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:103: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c: In function ‘query_unrtd’: xsml_query.c:125: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:127: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:128: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:129: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:131: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:133: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:134: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:134: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:145: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:147: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:149: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:150: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:150: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:160: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:162: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:163: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:163: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:170: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:172: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:173: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:173: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c: In function ‘check_attr’: xsml_query.c:188: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:188: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:189: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:190: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:190: error: ‘struct iteratore’ has no member named ‘p’ == LorenzoBellincampi : Compiling main3.c with the student files xsml_query.c: In function ‘query’: xsml_query.c:33: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:37: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:38: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:40: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:42: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:43: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:43: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:49: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:51: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:53: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:54: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:54: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:67: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c: In function ‘query_rtd’: xsml_query.c:78: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:80: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:81: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:82: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:84: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:86: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:87: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:87: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:98: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:100: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:102: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:103: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:103: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c: In function ‘query_unrtd’: xsml_query.c:125: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:127: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:128: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:129: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:131: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:133: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:134: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:134: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:145: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:147: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:149: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:150: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:150: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:160: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:162: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:163: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:163: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:170: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:172: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:173: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:173: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c: In function ‘check_attr’: xsml_query.c:188: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:188: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:189: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:190: error: ‘struct iteratore’ has no member named ‘p’ xsml_query.c:190: error: ‘struct iteratore’ has no member named ‘p’ Compilation with the student files [FAILED]. ========================================================== LorenzoLiscio: Unzip: [OK] Compile: [NOT PATCHED, IGNORING] ========================================================== LucaFranciosi: Unzip: [OK] ===== == LucaFranciosi : Compiling main1.c with our files, except of xsml_iter.c == LucaFranciosi : Compiling main2.c with our files, except of xsml_iter.c == LucaFranciosi : Compiling main3.c with our files, except of xsml_iter.c Compilation with our files [OK] ========================================================== LucaGiardina: Unzip: [OK] ===== == LucaGiardina : Compiling main1.c with our files, except of xsml_iter.c In file included from xsml_syn.c:8, from xsml_query.c:8: xsml_node.c:7: error: redefinition of ‘new_text_node’ xsml_node.c:7: error: previous definition of ‘new_text_node’ was here xsml_node.c:20: error: redefinition of ‘new_tag_node’ xsml_node.c:20: error: previous definition of ‘new_tag_node’ was here xsml_node.c:37: error: redefinition of ‘get_node_type’ xsml_node.c:37: error: previous definition of ‘get_node_type’ was here xsml_node.c:42: error: redefinition of ‘add_child’ xsml_node.c:42: error: previous definition of ‘add_child’ was here xsml_node.c:47: error: redefinition of ‘get_attributo’ xsml_node.c:47: error: previous definition of ‘get_attributo’ was here xsml_node.c:73: error: redefinition of ‘set_attributo’ xsml_node.c:73: error: previous definition of ‘set_attributo’ was here In file included from xsml_query.c:8: xsml_syn.c:11:22: error: xsml_lex.c: No such file or directory In file included from xsml_syn.c:12, from xsml_query.c:8: xsml_list.c:6: error: redefinition of ‘new_list’ xsml_list.c:6: error: previous definition of ‘new_list’ was here xsml_list.c:22: error: redefinition of ‘add_first’ xsml_list.c:22: error: previous definition of ‘add_first’ was here xsml_list.c:44: error: redefinition of ‘add_last’ xsml_list.c:44: error: previous definition of ‘add_last’ was here xsml_list.c:67: error: redefinition of ‘is_empty’ xsml_list.c:67: error: previous definition of ‘is_empty’ was here xsml_list.c:72: error: redefinition of ‘get_iterator’ xsml_list.c:72: error: previous definition of ‘get_iterator’ was here xsml_list.c:81: error: redefinition of ‘next’ xsml_list.c:81: error: previous definition of ‘next’ was here xsml_list.c:90: error: redefinition of ‘has_next’ xsml_list.c:90: error: previous definition of ‘has_next’ was here In file included from xsml_query.c:8: xsml_syn.c:145: warning: conflicting types for ‘stampafigli’ xsml_syn.c:138: warning: previous implicit declaration of ‘stampafigli’ was here In file included from xsml_iter.c:6, from xsml_query.c:9: xsml_list.c:6: error: redefinition of ‘new_list’ xsml_list.c:6: error: previous definition of ‘new_list’ was here xsml_list.c:22: error: redefinition of ‘add_first’ xsml_list.c:22: error: previous definition of ‘add_first’ was here xsml_list.c:44: error: redefinition of ‘add_last’ xsml_list.c:44: error: previous definition of ‘add_last’ was here xsml_list.c:67: error: redefinition of ‘is_empty’ xsml_list.c:67: error: previous definition of ‘is_empty’ was here xsml_list.c:72: error: redefinition of ‘get_iterator’ xsml_list.c:72: error: previous definition of ‘get_iterator’ was here xsml_list.c:81: error: redefinition of ‘next’ xsml_list.c:81: error: previous definition of ‘next’ was here xsml_list.c:90: error: redefinition of ‘has_next’ xsml_list.c:90: error: previous definition of ‘has_next’ was here xsml_query.c: In function ‘query_rooted’: xsml_query.c:75: error: ‘struct list’ has no member named ‘next’ == LucaGiardina : Compiling main2.c with our files, except of xsml_iter.c In file included from xsml_syn.c:8, from xsml_query.c:8: xsml_node.c:7: error: redefinition of ‘new_text_node’ xsml_node.c:7: error: previous definition of ‘new_text_node’ was here xsml_node.c:20: error: redefinition of ‘new_tag_node’ xsml_node.c:20: error: previous definition of ‘new_tag_node’ was here xsml_node.c:37: error: redefinition of ‘get_node_type’ xsml_node.c:37: error: previous definition of ‘get_node_type’ was here xsml_node.c:42: error: redefinition of ‘add_child’ xsml_node.c:42: error: previous definition of ‘add_child’ was here xsml_node.c:47: error: redefinition of ‘get_attributo’ xsml_node.c:47: error: previous definition of ‘get_attributo’ was here xsml_node.c:73: error: redefinition of ‘set_attributo’ xsml_node.c:73: error: previous definition of ‘set_attributo’ was here In file included from xsml_query.c:8: xsml_syn.c:11:22: error: xsml_lex.c: No such file or directory In file included from xsml_syn.c:12, from xsml_query.c:8: xsml_list.c:6: error: redefinition of ‘new_list’ xsml_list.c:6: error: previous definition of ‘new_list’ was here xsml_list.c:22: error: redefinition of ‘add_first’ xsml_list.c:22: error: previous definition of ‘add_first’ was here xsml_list.c:44: error: redefinition of ‘add_last’ xsml_list.c:44: error: previous definition of ‘add_last’ was here xsml_list.c:67: error: redefinition of ‘is_empty’ xsml_list.c:67: error: previous definition of ‘is_empty’ was here xsml_list.c:72: error: redefinition of ‘get_iterator’ xsml_list.c:72: error: previous definition of ‘get_iterator’ was here xsml_list.c:81: error: redefinition of ‘next’ xsml_list.c:81: error: previous definition of ‘next’ was here xsml_list.c:90: error: redefinition of ‘has_next’ xsml_list.c:90: error: previous definition of ‘has_next’ was here In file included from xsml_query.c:8: xsml_syn.c:145: warning: conflicting types for ‘stampafigli’ xsml_syn.c:138: warning: previous implicit declaration of ‘stampafigli’ was here In file included from xsml_iter.c:6, from xsml_query.c:9: xsml_list.c:6: error: redefinition of ‘new_list’ xsml_list.c:6: error: previous definition of ‘new_list’ was here xsml_list.c:22: error: redefinition of ‘add_first’ xsml_list.c:22: error: previous definition of ‘add_first’ was here xsml_list.c:44: error: redefinition of ‘add_last’ xsml_list.c:44: error: previous definition of ‘add_last’ was here xsml_list.c:67: error: redefinition of ‘is_empty’ xsml_list.c:67: error: previous definition of ‘is_empty’ was here xsml_list.c:72: error: redefinition of ‘get_iterator’ xsml_list.c:72: error: previous definition of ‘get_iterator’ was here xsml_list.c:81: error: redefinition of ‘next’ xsml_list.c:81: error: previous definition of ‘next’ was here xsml_list.c:90: error: redefinition of ‘has_next’ xsml_list.c:90: error: previous definition of ‘has_next’ was here xsml_query.c: In function ‘query_rooted’: xsml_query.c:75: error: ‘struct list’ has no member named ‘next’ == LucaGiardina : Compiling main3.c with our files, except of xsml_iter.c In file included from xsml_syn.c:8, from xsml_query.c:8: xsml_node.c:7: error: redefinition of ‘new_text_node’ xsml_node.c:7: error: previous definition of ‘new_text_node’ was here xsml_node.c:20: error: redefinition of ‘new_tag_node’ xsml_node.c:20: error: previous definition of ‘new_tag_node’ was here xsml_node.c:37: error: redefinition of ‘get_node_type’ xsml_node.c:37: error: previous definition of ‘get_node_type’ was here xsml_node.c:42: error: redefinition of ‘add_child’ xsml_node.c:42: error: previous definition of ‘add_child’ was here xsml_node.c:47: error: redefinition of ‘get_attributo’ xsml_node.c:47: error: previous definition of ‘get_attributo’ was here xsml_node.c:73: error: redefinition of ‘set_attributo’ xsml_node.c:73: error: previous definition of ‘set_attributo’ was here In file included from xsml_query.c:8: xsml_syn.c:11:22: error: xsml_lex.c: No such file or directory In file included from xsml_syn.c:12, from xsml_query.c:8: xsml_list.c:6: error: redefinition of ‘new_list’ xsml_list.c:6: error: previous definition of ‘new_list’ was here xsml_list.c:22: error: redefinition of ‘add_first’ xsml_list.c:22: error: previous definition of ‘add_first’ was here xsml_list.c:44: error: redefinition of ‘add_last’ xsml_list.c:44: error: previous definition of ‘add_last’ was here xsml_list.c:67: error: redefinition of ‘is_empty’ xsml_list.c:67: error: previous definition of ‘is_empty’ was here xsml_list.c:72: error: redefinition of ‘get_iterator’ xsml_list.c:72: error: previous definition of ‘get_iterator’ was here xsml_list.c:81: error: redefinition of ‘next’ xsml_list.c:81: error: previous definition of ‘next’ was here xsml_list.c:90: error: redefinition of ‘has_next’ xsml_list.c:90: error: previous definition of ‘has_next’ was here In file included from xsml_query.c:8: xsml_syn.c:145: warning: conflicting types for ‘stampafigli’ xsml_syn.c:138: warning: previous implicit declaration of ‘stampafigli’ was here In file included from xsml_iter.c:6, from xsml_query.c:9: xsml_list.c:6: error: redefinition of ‘new_list’ xsml_list.c:6: error: previous definition of ‘new_list’ was here xsml_list.c:22: error: redefinition of ‘add_first’ xsml_list.c:22: error: previous definition of ‘add_first’ was here xsml_list.c:44: error: redefinition of ‘add_last’ xsml_list.c:44: error: previous definition of ‘add_last’ was here xsml_list.c:67: error: redefinition of ‘is_empty’ xsml_list.c:67: error: previous definition of ‘is_empty’ was here xsml_list.c:72: error: redefinition of ‘get_iterator’ xsml_list.c:72: error: previous definition of ‘get_iterator’ was here xsml_list.c:81: error: redefinition of ‘next’ xsml_list.c:81: error: previous definition of ‘next’ was here xsml_list.c:90: error: redefinition of ‘has_next’ xsml_list.c:90: error: previous definition of ‘has_next’ was here xsml_query.c: In function ‘query_rooted’: xsml_query.c:75: error: ‘struct list’ has no member named ‘next’ Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/LucaGiardina/LucaGiardina' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/LucaGiardina/LucaGiardina' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/LucaGiardina/LucaGiardina' == LucaGiardina : Compiling main1.c with the student files /tmp/ccjGlsIC.o: In function `is_empty': xsml_node.c:(.text+0x0): multiple definition of `is_empty' /tmp/ccgQf3Eo.o:main1.c:(.text+0x0): first defined here /tmp/ccjGlsIC.o: In function `new_list': xsml_node.c:(.text+0x24): multiple definition of `new_list' /tmp/ccgQf3Eo.o:main1.c:(.text+0x24): first defined here /tmp/ccjGlsIC.o: In function `add_first': xsml_node.c:(.text+0xa6): multiple definition of `add_first' /tmp/ccgQf3Eo.o:main1.c:(.text+0xa6): first defined here /tmp/ccjGlsIC.o: In function `add_last': xsml_node.c:(.text+0x141): multiple definition of `add_last' /tmp/ccgQf3Eo.o:main1.c:(.text+0x141): first defined here /tmp/ccjGlsIC.o: In function `get_iterator': xsml_node.c:(.text+0x1e2): multiple definition of `get_iterator' /tmp/ccgQf3Eo.o:main1.c:(.text+0x1e2): first defined here /tmp/ccjGlsIC.o: In function `next': xsml_node.c:(.text+0x21e): multiple definition of `next' /tmp/ccgQf3Eo.o:main1.c:(.text+0x21e): first defined here /tmp/ccjGlsIC.o: In function `has_next': xsml_node.c:(.text+0x242): multiple definition of `has_next' /tmp/ccgQf3Eo.o:main1.c:(.text+0x242): first defined here /tmp/ccjGlsIC.o: In function `new_text_node': xsml_node.c:(.text+0x27a): multiple definition of `new_text_node' /tmp/ccgQf3Eo.o:main1.c:(.text+0x27a): first defined here /tmp/ccjGlsIC.o: In function `new_tag_node': xsml_node.c:(.text+0x2e8): multiple definition of `new_tag_node' /tmp/ccgQf3Eo.o:main1.c:(.text+0x2e8): first defined here /tmp/ccjGlsIC.o: In function `get_node_type': xsml_node.c:(.text+0x370): multiple definition of `get_node_type' /tmp/ccgQf3Eo.o:main1.c:(.text+0x370): first defined here /tmp/ccjGlsIC.o: In function `add_child': xsml_node.c:(.text+0x393): multiple definition of `add_child' /tmp/ccgQf3Eo.o:main1.c:(.text+0x393): first defined here /tmp/ccjGlsIC.o: In function `get_attributo': xsml_node.c:(.text+0x3cb): multiple definition of `get_attributo' /tmp/ccgQf3Eo.o:main1.c:(.text+0x3cb): first defined here /tmp/ccjGlsIC.o: In function `set_attributo': xsml_node.c:(.text+0x471): multiple definition of `set_attributo' /tmp/ccgQf3Eo.o:main1.c:(.text+0x471): first defined here /tmp/ccS4OmmR.o: In function `is_empty': xsml_list.c:(.text+0x0): multiple definition of `is_empty' /tmp/ccgQf3Eo.o:main1.c:(.text+0x0): first defined here /tmp/ccS4OmmR.o: In function `new_list': xsml_list.c:(.text+0x24): multiple definition of `new_list' /tmp/ccgQf3Eo.o:main1.c:(.text+0x24): first defined here /tmp/ccS4OmmR.o: In function `add_first': xsml_list.c:(.text+0xa6): multiple definition of `add_first' /tmp/ccgQf3Eo.o:main1.c:(.text+0xa6): first defined here /tmp/ccS4OmmR.o: In function `add_last': xsml_list.c:(.text+0x141): multiple definition of `add_last' /tmp/ccgQf3Eo.o:main1.c:(.text+0x141): first defined here /tmp/ccS4OmmR.o: In function `get_iterator': xsml_list.c:(.text+0x1e2): multiple definition of `get_iterator' /tmp/ccgQf3Eo.o:main1.c:(.text+0x1e2): first defined here /tmp/ccS4OmmR.o: In function `next': xsml_list.c:(.text+0x21e): multiple definition of `next' /tmp/ccgQf3Eo.o:main1.c:(.text+0x21e): first defined here /tmp/ccS4OmmR.o: In function `has_next': xsml_list.c:(.text+0x242): multiple definition of `has_next' /tmp/ccgQf3Eo.o:main1.c:(.text+0x242): first defined here /tmp/ccJYjGZb.o: In function `is_empty': xsml_iter.c:(.text+0x0): multiple definition of `is_empty' /tmp/ccgQf3Eo.o:main1.c:(.text+0x0): first defined here /tmp/ccJYjGZb.o: In function `new_list': xsml_iter.c:(.text+0x24): multiple definition of `new_list' /tmp/ccgQf3Eo.o:main1.c:(.text+0x24): first defined here /tmp/ccJYjGZb.o: In function `add_first': xsml_iter.c:(.text+0xa6): multiple definition of `add_first' /tmp/ccgQf3Eo.o:main1.c:(.text+0xa6): first defined here /tmp/ccJYjGZb.o: In function `add_last': xsml_iter.c:(.text+0x141): multiple definition of `add_last' /tmp/ccgQf3Eo.o:main1.c:(.text+0x141): first defined here /tmp/ccJYjGZb.o: In function `get_iterator': xsml_iter.c:(.text+0x1e2): multiple definition of `get_iterator' /tmp/ccgQf3Eo.o:main1.c:(.text+0x1e2): first defined here /tmp/ccJYjGZb.o: In function `next': xsml_iter.c:(.text+0x21e): multiple definition of `next' /tmp/ccgQf3Eo.o:main1.c:(.text+0x21e): first defined here /tmp/ccJYjGZb.o: In function `has_next': xsml_iter.c:(.text+0x242): multiple definition of `has_next' /tmp/ccgQf3Eo.o:main1.c:(.text+0x242): first defined here /tmp/ccJYjGZb.o: In function `new_text_node': xsml_iter.c:(.text+0x27a): multiple definition of `new_text_node' /tmp/ccgQf3Eo.o:main1.c:(.text+0x27a): first defined here /tmp/ccJYjGZb.o: In function `new_tag_node': xsml_iter.c:(.text+0x2e8): multiple definition of `new_tag_node' /tmp/ccgQf3Eo.o:main1.c:(.text+0x2e8): first defined here /tmp/ccJYjGZb.o: In function `get_node_type': xsml_iter.c:(.text+0x370): multiple definition of `get_node_type' /tmp/ccgQf3Eo.o:main1.c:(.text+0x370): first defined here /tmp/ccJYjGZb.o: In function `add_child': xsml_iter.c:(.text+0x393): multiple definition of `add_child' /tmp/ccgQf3Eo.o:main1.c:(.text+0x393): first defined here /tmp/ccJYjGZb.o: In function `get_attributo': xsml_iter.c:(.text+0x3cb): multiple definition of `get_attributo' /tmp/ccgQf3Eo.o:main1.c:(.text+0x3cb): first defined here /tmp/ccJYjGZb.o: In function `set_attributo': xsml_iter.c:(.text+0x471): multiple definition of `set_attributo' /tmp/ccgQf3Eo.o:main1.c:(.text+0x471): first defined here /tmp/ccuTK82A.o: In function `is_empty': xsml_parse_query.c:(.text+0x0): multiple definition of `is_empty' /tmp/ccgQf3Eo.o:main1.c:(.text+0x0): first defined here /tmp/ccuTK82A.o: In function `new_list': xsml_parse_query.c:(.text+0x24): multiple definition of `new_list' /tmp/ccgQf3Eo.o:main1.c:(.text+0x24): first defined here /tmp/ccuTK82A.o: In function `add_first': xsml_parse_query.c:(.text+0xa6): multiple definition of `add_first' /tmp/ccgQf3Eo.o:main1.c:(.text+0xa6): first defined here /tmp/ccuTK82A.o: In function `add_last': xsml_parse_query.c:(.text+0x141): multiple definition of `add_last' /tmp/ccgQf3Eo.o:main1.c:(.text+0x141): first defined here /tmp/ccuTK82A.o: In function `get_iterator': xsml_parse_query.c:(.text+0x1e2): multiple definition of `get_iterator' /tmp/ccgQf3Eo.o:main1.c:(.text+0x1e2): first defined here /tmp/ccuTK82A.o: In function `next': xsml_parse_query.c:(.text+0x21e): multiple definition of `next' /tmp/ccgQf3Eo.o:main1.c:(.text+0x21e): first defined here /tmp/ccuTK82A.o: In function `has_next': xsml_parse_query.c:(.text+0x242): multiple definition of `has_next' /tmp/ccgQf3Eo.o:main1.c:(.text+0x242): first defined here /tmp/ccuTK82A.o: In function `new_text_node': xsml_parse_query.c:(.text+0x27a): multiple definition of `new_text_node' /tmp/ccgQf3Eo.o:main1.c:(.text+0x27a): first defined here /tmp/ccuTK82A.o: In function `new_tag_node': xsml_parse_query.c:(.text+0x2e8): multiple definition of `new_tag_node' /tmp/ccgQf3Eo.o:main1.c:(.text+0x2e8): first defined here /tmp/ccuTK82A.o: In function `get_node_type': xsml_parse_query.c:(.text+0x370): multiple definition of `get_node_type' /tmp/ccgQf3Eo.o:main1.c:(.text+0x370): first defined here /tmp/ccuTK82A.o: In function `add_child': xsml_parse_query.c:(.text+0x393): multiple definition of `add_child' /tmp/ccgQf3Eo.o:main1.c:(.text+0x393): first defined here /tmp/ccuTK82A.o: In function `get_attributo': xsml_parse_query.c:(.text+0x3cb): multiple definition of `get_attributo' /tmp/ccgQf3Eo.o:main1.c:(.text+0x3cb): first defined here /tmp/ccuTK82A.o: In function `set_attributo': xsml_parse_query.c:(.text+0x471): multiple definition of `set_attributo' /tmp/ccgQf3Eo.o:main1.c:(.text+0x471): first defined here /tmp/ccPKyY76.o: In function `is_empty': xsml_query.c:(.text+0x0): multiple definition of `is_empty' /tmp/ccgQf3Eo.o:main1.c:(.text+0x0): first defined here /tmp/ccPKyY76.o: In function `new_list': xsml_query.c:(.text+0x24): multiple definition of `new_list' /tmp/ccgQf3Eo.o:main1.c:(.text+0x24): first defined here /tmp/ccPKyY76.o: In function `add_first': xsml_query.c:(.text+0xa6): multiple definition of `add_first' /tmp/ccgQf3Eo.o:main1.c:(.text+0xa6): first defined here /tmp/ccPKyY76.o: In function `add_last': xsml_query.c:(.text+0x141): multiple definition of `add_last' /tmp/ccgQf3Eo.o:main1.c:(.text+0x141): first defined here /tmp/ccPKyY76.o: In function `get_iterator': xsml_query.c:(.text+0x1e2): multiple definition of `get_iterator' /tmp/ccgQf3Eo.o:main1.c:(.text+0x1e2): first defined here /tmp/ccPKyY76.o: In function `next': xsml_query.c:(.text+0x21e): multiple definition of `next' /tmp/ccgQf3Eo.o:main1.c:(.text+0x21e): first defined here /tmp/ccPKyY76.o: In function `has_next': xsml_query.c:(.text+0x242): multiple definition of `has_next' /tmp/ccgQf3Eo.o:main1.c:(.text+0x242): first defined here /tmp/ccPKyY76.o: In function `new_text_node': xsml_query.c:(.text+0x27a): multiple definition of `new_text_node' /tmp/ccgQf3Eo.o:main1.c:(.text+0x27a): first defined here /tmp/ccPKyY76.o: In function `new_tag_node': xsml_query.c:(.text+0x2e8): multiple definition of `new_tag_node' /tmp/ccgQf3Eo.o:main1.c:(.text+0x2e8): first defined here /tmp/ccPKyY76.o: In function `get_node_type': xsml_query.c:(.text+0x370): multiple definition of `get_node_type' /tmp/ccgQf3Eo.o:main1.c:(.text+0x370): first defined here /tmp/ccPKyY76.o: In function `add_child': xsml_query.c:(.text+0x393): multiple definition of `add_child' /tmp/ccgQf3Eo.o:main1.c:(.text+0x393): first defined here /tmp/ccPKyY76.o: In function `get_attributo': xsml_query.c:(.text+0x3cb): multiple definition of `get_attributo' /tmp/ccgQf3Eo.o:main1.c:(.text+0x3cb): first defined here /tmp/ccPKyY76.o: In function `set_attributo': xsml_query.c:(.text+0x471): multiple definition of `set_attributo' /tmp/ccgQf3Eo.o:main1.c:(.text+0x471): first defined here /tmp/ccPKyY76.o: In function `attrlist_it': xsml_query.c:(.text+0x13d7): multiple definition of `attrlist_it' /tmp/ccJYjGZb.o:xsml_iter.c:(.text+0x620): first defined here /tmp/ccPKyY76.o: In function `next_attr': xsml_query.c:(.text+0x13f3): multiple definition of `next_attr' /tmp/ccJYjGZb.o:xsml_iter.c:(.text+0x63c): first defined here /tmp/ccPKyY76.o: In function `nodelist_it': xsml_query.c:(.text+0x142c): multiple definition of `nodelist_it' /tmp/ccJYjGZb.o:xsml_iter.c:(.text+0x675): first defined here /tmp/ccPKyY76.o: In function `next_node': xsml_query.c:(.text+0x1448): multiple definition of `next_node' /tmp/ccJYjGZb.o:xsml_iter.c:(.text+0x691): first defined here collect2: ld returned 1 exit status == LucaGiardina : Compiling main2.c with the student files /tmp/ccnsP5jj.o: In function `is_empty': xsml_node.c:(.text+0x0): multiple definition of `is_empty' /tmp/ccuzdOww.o:main2.c:(.text+0x0): first defined here /tmp/ccnsP5jj.o: In function `new_list': xsml_node.c:(.text+0x24): multiple definition of `new_list' /tmp/ccuzdOww.o:main2.c:(.text+0x24): first defined here /tmp/ccnsP5jj.o: In function `add_first': xsml_node.c:(.text+0xa6): multiple definition of `add_first' /tmp/ccuzdOww.o:main2.c:(.text+0xa6): first defined here /tmp/ccnsP5jj.o: In function `add_last': xsml_node.c:(.text+0x141): multiple definition of `add_last' /tmp/ccuzdOww.o:main2.c:(.text+0x141): first defined here /tmp/ccnsP5jj.o: In function `get_iterator': xsml_node.c:(.text+0x1e2): multiple definition of `get_iterator' /tmp/ccuzdOww.o:main2.c:(.text+0x1e2): first defined here /tmp/ccnsP5jj.o: In function `next': xsml_node.c:(.text+0x21e): multiple definition of `next' /tmp/ccuzdOww.o:main2.c:(.text+0x21e): first defined here /tmp/ccnsP5jj.o: In function `has_next': xsml_node.c:(.text+0x242): multiple definition of `has_next' /tmp/ccuzdOww.o:main2.c:(.text+0x242): first defined here /tmp/ccnsP5jj.o: In function `new_text_node': xsml_node.c:(.text+0x27a): multiple definition of `new_text_node' /tmp/ccuzdOww.o:main2.c:(.text+0x27a): first defined here /tmp/ccnsP5jj.o: In function `new_tag_node': xsml_node.c:(.text+0x2e8): multiple definition of `new_tag_node' /tmp/ccuzdOww.o:main2.c:(.text+0x2e8): first defined here /tmp/ccnsP5jj.o: In function `get_node_type': xsml_node.c:(.text+0x370): multiple definition of `get_node_type' /tmp/ccuzdOww.o:main2.c:(.text+0x370): first defined here /tmp/ccnsP5jj.o: In function `add_child': xsml_node.c:(.text+0x393): multiple definition of `add_child' /tmp/ccuzdOww.o:main2.c:(.text+0x393): first defined here /tmp/ccnsP5jj.o: In function `get_attributo': xsml_node.c:(.text+0x3cb): multiple definition of `get_attributo' /tmp/ccuzdOww.o:main2.c:(.text+0x3cb): first defined here /tmp/ccnsP5jj.o: In function `set_attributo': xsml_node.c:(.text+0x471): multiple definition of `set_attributo' /tmp/ccuzdOww.o:main2.c:(.text+0x471): first defined here /tmp/ccMZXHI6.o: In function `is_empty': xsml_list.c:(.text+0x0): multiple definition of `is_empty' /tmp/ccuzdOww.o:main2.c:(.text+0x0): first defined here /tmp/ccMZXHI6.o: In function `new_list': xsml_list.c:(.text+0x24): multiple definition of `new_list' /tmp/ccuzdOww.o:main2.c:(.text+0x24): first defined here /tmp/ccMZXHI6.o: In function `add_first': xsml_list.c:(.text+0xa6): multiple definition of `add_first' /tmp/ccuzdOww.o:main2.c:(.text+0xa6): first defined here /tmp/ccMZXHI6.o: In function `add_last': xsml_list.c:(.text+0x141): multiple definition of `add_last' /tmp/ccuzdOww.o:main2.c:(.text+0x141): first defined here /tmp/ccMZXHI6.o: In function `get_iterator': xsml_list.c:(.text+0x1e2): multiple definition of `get_iterator' /tmp/ccuzdOww.o:main2.c:(.text+0x1e2): first defined here /tmp/ccMZXHI6.o: In function `next': xsml_list.c:(.text+0x21e): multiple definition of `next' /tmp/ccuzdOww.o:main2.c:(.text+0x21e): first defined here /tmp/ccMZXHI6.o: In function `has_next': xsml_list.c:(.text+0x242): multiple definition of `has_next' /tmp/ccuzdOww.o:main2.c:(.text+0x242): first defined here /tmp/ccpUwr6Z.o: In function `is_empty': xsml_iter.c:(.text+0x0): multiple definition of `is_empty' /tmp/ccuzdOww.o:main2.c:(.text+0x0): first defined here /tmp/ccpUwr6Z.o: In function `new_list': xsml_iter.c:(.text+0x24): multiple definition of `new_list' /tmp/ccuzdOww.o:main2.c:(.text+0x24): first defined here /tmp/ccpUwr6Z.o: In function `add_first': xsml_iter.c:(.text+0xa6): multiple definition of `add_first' /tmp/ccuzdOww.o:main2.c:(.text+0xa6): first defined here /tmp/ccpUwr6Z.o: In function `add_last': xsml_iter.c:(.text+0x141): multiple definition of `add_last' /tmp/ccuzdOww.o:main2.c:(.text+0x141): first defined here /tmp/ccpUwr6Z.o: In function `get_iterator': xsml_iter.c:(.text+0x1e2): multiple definition of `get_iterator' /tmp/ccuzdOww.o:main2.c:(.text+0x1e2): first defined here /tmp/ccpUwr6Z.o: In function `next': xsml_iter.c:(.text+0x21e): multiple definition of `next' /tmp/ccuzdOww.o:main2.c:(.text+0x21e): first defined here /tmp/ccpUwr6Z.o: In function `has_next': xsml_iter.c:(.text+0x242): multiple definition of `has_next' /tmp/ccuzdOww.o:main2.c:(.text+0x242): first defined here /tmp/ccpUwr6Z.o: In function `new_text_node': xsml_iter.c:(.text+0x27a): multiple definition of `new_text_node' /tmp/ccuzdOww.o:main2.c:(.text+0x27a): first defined here /tmp/ccpUwr6Z.o: In function `new_tag_node': xsml_iter.c:(.text+0x2e8): multiple definition of `new_tag_node' /tmp/ccuzdOww.o:main2.c:(.text+0x2e8): first defined here /tmp/ccpUwr6Z.o: In function `get_node_type': xsml_iter.c:(.text+0x370): multiple definition of `get_node_type' /tmp/ccuzdOww.o:main2.c:(.text+0x370): first defined here /tmp/ccpUwr6Z.o: In function `add_child': xsml_iter.c:(.text+0x393): multiple definition of `add_child' /tmp/ccuzdOww.o:main2.c:(.text+0x393): first defined here /tmp/ccpUwr6Z.o: In function `get_attributo': xsml_iter.c:(.text+0x3cb): multiple definition of `get_attributo' /tmp/ccuzdOww.o:main2.c:(.text+0x3cb): first defined here /tmp/ccpUwr6Z.o: In function `set_attributo': xsml_iter.c:(.text+0x471): multiple definition of `set_attributo' /tmp/ccuzdOww.o:main2.c:(.text+0x471): first defined here /tmp/cckyOMgY.o: In function `is_empty': xsml_parse_query.c:(.text+0x0): multiple definition of `is_empty' /tmp/ccuzdOww.o:main2.c:(.text+0x0): first defined here /tmp/cckyOMgY.o: In function `new_list': xsml_parse_query.c:(.text+0x24): multiple definition of `new_list' /tmp/ccuzdOww.o:main2.c:(.text+0x24): first defined here /tmp/cckyOMgY.o: In function `add_first': xsml_parse_query.c:(.text+0xa6): multiple definition of `add_first' /tmp/ccuzdOww.o:main2.c:(.text+0xa6): first defined here /tmp/cckyOMgY.o: In function `add_last': xsml_parse_query.c:(.text+0x141): multiple definition of `add_last' /tmp/ccuzdOww.o:main2.c:(.text+0x141): first defined here /tmp/cckyOMgY.o: In function `get_iterator': xsml_parse_query.c:(.text+0x1e2): multiple definition of `get_iterator' /tmp/ccuzdOww.o:main2.c:(.text+0x1e2): first defined here /tmp/cckyOMgY.o: In function `next': xsml_parse_query.c:(.text+0x21e): multiple definition of `next' /tmp/ccuzdOww.o:main2.c:(.text+0x21e): first defined here /tmp/cckyOMgY.o: In function `has_next': xsml_parse_query.c:(.text+0x242): multiple definition of `has_next' /tmp/ccuzdOww.o:main2.c:(.text+0x242): first defined here /tmp/cckyOMgY.o: In function `new_text_node': xsml_parse_query.c:(.text+0x27a): multiple definition of `new_text_node' /tmp/ccuzdOww.o:main2.c:(.text+0x27a): first defined here /tmp/cckyOMgY.o: In function `new_tag_node': xsml_parse_query.c:(.text+0x2e8): multiple definition of `new_tag_node' /tmp/ccuzdOww.o:main2.c:(.text+0x2e8): first defined here /tmp/cckyOMgY.o: In function `get_node_type': xsml_parse_query.c:(.text+0x370): multiple definition of `get_node_type' /tmp/ccuzdOww.o:main2.c:(.text+0x370): first defined here /tmp/cckyOMgY.o: In function `add_child': xsml_parse_query.c:(.text+0x393): multiple definition of `add_child' /tmp/ccuzdOww.o:main2.c:(.text+0x393): first defined here /tmp/cckyOMgY.o: In function `get_attributo': xsml_parse_query.c:(.text+0x3cb): multiple definition of `get_attributo' /tmp/ccuzdOww.o:main2.c:(.text+0x3cb): first defined here /tmp/cckyOMgY.o: In function `set_attributo': xsml_parse_query.c:(.text+0x471): multiple definition of `set_attributo' /tmp/ccuzdOww.o:main2.c:(.text+0x471): first defined here /tmp/ccdbUP62.o: In function `is_empty': xsml_query.c:(.text+0x0): multiple definition of `is_empty' /tmp/ccuzdOww.o:main2.c:(.text+0x0): first defined here /tmp/ccdbUP62.o: In function `new_list': xsml_query.c:(.text+0x24): multiple definition of `new_list' /tmp/ccuzdOww.o:main2.c:(.text+0x24): first defined here /tmp/ccdbUP62.o: In function `add_first': xsml_query.c:(.text+0xa6): multiple definition of `add_first' /tmp/ccuzdOww.o:main2.c:(.text+0xa6): first defined here /tmp/ccdbUP62.o: In function `add_last': xsml_query.c:(.text+0x141): multiple definition of `add_last' /tmp/ccuzdOww.o:main2.c:(.text+0x141): first defined here /tmp/ccdbUP62.o: In function `get_iterator': xsml_query.c:(.text+0x1e2): multiple definition of `get_iterator' /tmp/ccuzdOww.o:main2.c:(.text+0x1e2): first defined here /tmp/ccdbUP62.o: In function `next': xsml_query.c:(.text+0x21e): multiple definition of `next' /tmp/ccuzdOww.o:main2.c:(.text+0x21e): first defined here /tmp/ccdbUP62.o: In function `has_next': xsml_query.c:(.text+0x242): multiple definition of `has_next' /tmp/ccuzdOww.o:main2.c:(.text+0x242): first defined here /tmp/ccdbUP62.o: In function `new_text_node': xsml_query.c:(.text+0x27a): multiple definition of `new_text_node' /tmp/ccuzdOww.o:main2.c:(.text+0x27a): first defined here /tmp/ccdbUP62.o: In function `new_tag_node': xsml_query.c:(.text+0x2e8): multiple definition of `new_tag_node' /tmp/ccuzdOww.o:main2.c:(.text+0x2e8): first defined here /tmp/ccdbUP62.o: In function `get_node_type': xsml_query.c:(.text+0x370): multiple definition of `get_node_type' /tmp/ccuzdOww.o:main2.c:(.text+0x370): first defined here /tmp/ccdbUP62.o: In function `add_child': xsml_query.c:(.text+0x393): multiple definition of `add_child' /tmp/ccuzdOww.o:main2.c:(.text+0x393): first defined here /tmp/ccdbUP62.o: In function `get_attributo': xsml_query.c:(.text+0x3cb): multiple definition of `get_attributo' /tmp/ccuzdOww.o:main2.c:(.text+0x3cb): first defined here /tmp/ccdbUP62.o: In function `set_attributo': xsml_query.c:(.text+0x471): multiple definition of `set_attributo' /tmp/ccuzdOww.o:main2.c:(.text+0x471): first defined here /tmp/ccdbUP62.o: In function `attrlist_it': xsml_query.c:(.text+0x13d7): multiple definition of `attrlist_it' /tmp/ccpUwr6Z.o:xsml_iter.c:(.text+0x620): first defined here /tmp/ccdbUP62.o: In function `next_attr': xsml_query.c:(.text+0x13f3): multiple definition of `next_attr' /tmp/ccpUwr6Z.o:xsml_iter.c:(.text+0x63c): first defined here /tmp/ccdbUP62.o: In function `nodelist_it': xsml_query.c:(.text+0x142c): multiple definition of `nodelist_it' /tmp/ccpUwr6Z.o:xsml_iter.c:(.text+0x675): first defined here /tmp/ccdbUP62.o: In function `next_node': xsml_query.c:(.text+0x1448): multiple definition of `next_node' /tmp/ccpUwr6Z.o:xsml_iter.c:(.text+0x691): first defined here collect2: ld returned 1 exit status == LucaGiardina : Compiling main3.c with the student files /tmp/ccFvC461.o: In function `is_empty': xsml_node.c:(.text+0x0): multiple definition of `is_empty' /tmp/cca79anZ.o:main3.c:(.text+0x0): first defined here /tmp/ccFvC461.o: In function `new_list': xsml_node.c:(.text+0x24): multiple definition of `new_list' /tmp/cca79anZ.o:main3.c:(.text+0x24): first defined here /tmp/ccFvC461.o: In function `add_first': xsml_node.c:(.text+0xa6): multiple definition of `add_first' /tmp/cca79anZ.o:main3.c:(.text+0xa6): first defined here /tmp/ccFvC461.o: In function `add_last': xsml_node.c:(.text+0x141): multiple definition of `add_last' /tmp/cca79anZ.o:main3.c:(.text+0x141): first defined here /tmp/ccFvC461.o: In function `get_iterator': xsml_node.c:(.text+0x1e2): multiple definition of `get_iterator' /tmp/cca79anZ.o:main3.c:(.text+0x1e2): first defined here /tmp/ccFvC461.o: In function `next': xsml_node.c:(.text+0x21e): multiple definition of `next' /tmp/cca79anZ.o:main3.c:(.text+0x21e): first defined here /tmp/ccFvC461.o: In function `has_next': xsml_node.c:(.text+0x242): multiple definition of `has_next' /tmp/cca79anZ.o:main3.c:(.text+0x242): first defined here /tmp/ccFvC461.o: In function `new_text_node': xsml_node.c:(.text+0x27a): multiple definition of `new_text_node' /tmp/cca79anZ.o:main3.c:(.text+0x27a): first defined here /tmp/ccFvC461.o: In function `new_tag_node': xsml_node.c:(.text+0x2e8): multiple definition of `new_tag_node' /tmp/cca79anZ.o:main3.c:(.text+0x2e8): first defined here /tmp/ccFvC461.o: In function `get_node_type': xsml_node.c:(.text+0x370): multiple definition of `get_node_type' /tmp/cca79anZ.o:main3.c:(.text+0x370): first defined here /tmp/ccFvC461.o: In function `add_child': xsml_node.c:(.text+0x393): multiple definition of `add_child' /tmp/cca79anZ.o:main3.c:(.text+0x393): first defined here /tmp/ccFvC461.o: In function `get_attributo': xsml_node.c:(.text+0x3cb): multiple definition of `get_attributo' /tmp/cca79anZ.o:main3.c:(.text+0x3cb): first defined here /tmp/ccFvC461.o: In function `set_attributo': xsml_node.c:(.text+0x471): multiple definition of `set_attributo' /tmp/cca79anZ.o:main3.c:(.text+0x471): first defined here /tmp/ccw5EgL7.o: In function `is_empty': xsml_list.c:(.text+0x0): multiple definition of `is_empty' /tmp/cca79anZ.o:main3.c:(.text+0x0): first defined here /tmp/ccw5EgL7.o: In function `new_list': xsml_list.c:(.text+0x24): multiple definition of `new_list' /tmp/cca79anZ.o:main3.c:(.text+0x24): first defined here /tmp/ccw5EgL7.o: In function `add_first': xsml_list.c:(.text+0xa6): multiple definition of `add_first' /tmp/cca79anZ.o:main3.c:(.text+0xa6): first defined here /tmp/ccw5EgL7.o: In function `add_last': xsml_list.c:(.text+0x141): multiple definition of `add_last' /tmp/cca79anZ.o:main3.c:(.text+0x141): first defined here /tmp/ccw5EgL7.o: In function `get_iterator': xsml_list.c:(.text+0x1e2): multiple definition of `get_iterator' /tmp/cca79anZ.o:main3.c:(.text+0x1e2): first defined here /tmp/ccw5EgL7.o: In function `next': xsml_list.c:(.text+0x21e): multiple definition of `next' /tmp/cca79anZ.o:main3.c:(.text+0x21e): first defined here /tmp/ccw5EgL7.o: In function `has_next': xsml_list.c:(.text+0x242): multiple definition of `has_next' /tmp/cca79anZ.o:main3.c:(.text+0x242): first defined here /tmp/ccvBzwKe.o: In function `is_empty': xsml_iter.c:(.text+0x0): multiple definition of `is_empty' /tmp/cca79anZ.o:main3.c:(.text+0x0): first defined here /tmp/ccvBzwKe.o: In function `new_list': xsml_iter.c:(.text+0x24): multiple definition of `new_list' /tmp/cca79anZ.o:main3.c:(.text+0x24): first defined here /tmp/ccvBzwKe.o: In function `add_first': xsml_iter.c:(.text+0xa6): multiple definition of `add_first' /tmp/cca79anZ.o:main3.c:(.text+0xa6): first defined here /tmp/ccvBzwKe.o: In function `add_last': xsml_iter.c:(.text+0x141): multiple definition of `add_last' /tmp/cca79anZ.o:main3.c:(.text+0x141): first defined here /tmp/ccvBzwKe.o: In function `get_iterator': xsml_iter.c:(.text+0x1e2): multiple definition of `get_iterator' /tmp/cca79anZ.o:main3.c:(.text+0x1e2): first defined here /tmp/ccvBzwKe.o: In function `next': xsml_iter.c:(.text+0x21e): multiple definition of `next' /tmp/cca79anZ.o:main3.c:(.text+0x21e): first defined here /tmp/ccvBzwKe.o: In function `has_next': xsml_iter.c:(.text+0x242): multiple definition of `has_next' /tmp/cca79anZ.o:main3.c:(.text+0x242): first defined here /tmp/ccvBzwKe.o: In function `new_text_node': xsml_iter.c:(.text+0x27a): multiple definition of `new_text_node' /tmp/cca79anZ.o:main3.c:(.text+0x27a): first defined here /tmp/ccvBzwKe.o: In function `new_tag_node': xsml_iter.c:(.text+0x2e8): multiple definition of `new_tag_node' /tmp/cca79anZ.o:main3.c:(.text+0x2e8): first defined here /tmp/ccvBzwKe.o: In function `get_node_type': xsml_iter.c:(.text+0x370): multiple definition of `get_node_type' /tmp/cca79anZ.o:main3.c:(.text+0x370): first defined here /tmp/ccvBzwKe.o: In function `add_child': xsml_iter.c:(.text+0x393): multiple definition of `add_child' /tmp/cca79anZ.o:main3.c:(.text+0x393): first defined here /tmp/ccvBzwKe.o: In function `get_attributo': xsml_iter.c:(.text+0x3cb): multiple definition of `get_attributo' /tmp/cca79anZ.o:main3.c:(.text+0x3cb): first defined here /tmp/ccvBzwKe.o: In function `set_attributo': xsml_iter.c:(.text+0x471): multiple definition of `set_attributo' /tmp/cca79anZ.o:main3.c:(.text+0x471): first defined here /tmp/ccLeDj0i.o: In function `is_empty': xsml_parse_query.c:(.text+0x0): multiple definition of `is_empty' /tmp/cca79anZ.o:main3.c:(.text+0x0): first defined here /tmp/ccLeDj0i.o: In function `new_list': xsml_parse_query.c:(.text+0x24): multiple definition of `new_list' /tmp/cca79anZ.o:main3.c:(.text+0x24): first defined here /tmp/ccLeDj0i.o: In function `add_first': xsml_parse_query.c:(.text+0xa6): multiple definition of `add_first' /tmp/cca79anZ.o:main3.c:(.text+0xa6): first defined here /tmp/ccLeDj0i.o: In function `add_last': xsml_parse_query.c:(.text+0x141): multiple definition of `add_last' /tmp/cca79anZ.o:main3.c:(.text+0x141): first defined here /tmp/ccLeDj0i.o: In function `get_iterator': xsml_parse_query.c:(.text+0x1e2): multiple definition of `get_iterator' /tmp/cca79anZ.o:main3.c:(.text+0x1e2): first defined here /tmp/ccLeDj0i.o: In function `next': xsml_parse_query.c:(.text+0x21e): multiple definition of `next' /tmp/cca79anZ.o:main3.c:(.text+0x21e): first defined here /tmp/ccLeDj0i.o: In function `has_next': xsml_parse_query.c:(.text+0x242): multiple definition of `has_next' /tmp/cca79anZ.o:main3.c:(.text+0x242): first defined here /tmp/ccLeDj0i.o: In function `new_text_node': xsml_parse_query.c:(.text+0x27a): multiple definition of `new_text_node' /tmp/cca79anZ.o:main3.c:(.text+0x27a): first defined here /tmp/ccLeDj0i.o: In function `new_tag_node': xsml_parse_query.c:(.text+0x2e8): multiple definition of `new_tag_node' /tmp/cca79anZ.o:main3.c:(.text+0x2e8): first defined here /tmp/ccLeDj0i.o: In function `get_node_type': xsml_parse_query.c:(.text+0x370): multiple definition of `get_node_type' /tmp/cca79anZ.o:main3.c:(.text+0x370): first defined here /tmp/ccLeDj0i.o: In function `add_child': xsml_parse_query.c:(.text+0x393): multiple definition of `add_child' /tmp/cca79anZ.o:main3.c:(.text+0x393): first defined here /tmp/ccLeDj0i.o: In function `get_attributo': xsml_parse_query.c:(.text+0x3cb): multiple definition of `get_attributo' /tmp/cca79anZ.o:main3.c:(.text+0x3cb): first defined here /tmp/ccLeDj0i.o: In function `set_attributo': xsml_parse_query.c:(.text+0x471): multiple definition of `set_attributo' /tmp/cca79anZ.o:main3.c:(.text+0x471): first defined here /tmp/cc5lDDbu.o: In function `is_empty': xsml_query.c:(.text+0x0): multiple definition of `is_empty' /tmp/cca79anZ.o:main3.c:(.text+0x0): first defined here /tmp/cc5lDDbu.o: In function `new_list': xsml_query.c:(.text+0x24): multiple definition of `new_list' /tmp/cca79anZ.o:main3.c:(.text+0x24): first defined here /tmp/cc5lDDbu.o: In function `add_first': xsml_query.c:(.text+0xa6): multiple definition of `add_first' /tmp/cca79anZ.o:main3.c:(.text+0xa6): first defined here /tmp/cc5lDDbu.o: In function `add_last': xsml_query.c:(.text+0x141): multiple definition of `add_last' /tmp/cca79anZ.o:main3.c:(.text+0x141): first defined here /tmp/cc5lDDbu.o: In function `get_iterator': xsml_query.c:(.text+0x1e2): multiple definition of `get_iterator' /tmp/cca79anZ.o:main3.c:(.text+0x1e2): first defined here /tmp/cc5lDDbu.o: In function `next': xsml_query.c:(.text+0x21e): multiple definition of `next' /tmp/cca79anZ.o:main3.c:(.text+0x21e): first defined here /tmp/cc5lDDbu.o: In function `has_next': xsml_query.c:(.text+0x242): multiple definition of `has_next' /tmp/cca79anZ.o:main3.c:(.text+0x242): first defined here /tmp/cc5lDDbu.o: In function `new_text_node': xsml_query.c:(.text+0x27a): multiple definition of `new_text_node' /tmp/cca79anZ.o:main3.c:(.text+0x27a): first defined here /tmp/cc5lDDbu.o: In function `new_tag_node': xsml_query.c:(.text+0x2e8): multiple definition of `new_tag_node' /tmp/cca79anZ.o:main3.c:(.text+0x2e8): first defined here /tmp/cc5lDDbu.o: In function `get_node_type': xsml_query.c:(.text+0x370): multiple definition of `get_node_type' /tmp/cca79anZ.o:main3.c:(.text+0x370): first defined here /tmp/cc5lDDbu.o: In function `add_child': xsml_query.c:(.text+0x393): multiple definition of `add_child' /tmp/cca79anZ.o:main3.c:(.text+0x393): first defined here /tmp/cc5lDDbu.o: In function `get_attributo': xsml_query.c:(.text+0x3cb): multiple definition of `get_attributo' /tmp/cca79anZ.o:main3.c:(.text+0x3cb): first defined here /tmp/cc5lDDbu.o: In function `set_attributo': xsml_query.c:(.text+0x471): multiple definition of `set_attributo' /tmp/cca79anZ.o:main3.c:(.text+0x471): first defined here /tmp/cc5lDDbu.o: In function `attrlist_it': xsml_query.c:(.text+0x13d7): multiple definition of `attrlist_it' /tmp/ccvBzwKe.o:xsml_iter.c:(.text+0x620): first defined here /tmp/cc5lDDbu.o: In function `next_attr': xsml_query.c:(.text+0x13f3): multiple definition of `next_attr' /tmp/ccvBzwKe.o:xsml_iter.c:(.text+0x63c): first defined here /tmp/cc5lDDbu.o: In function `nodelist_it': xsml_query.c:(.text+0x142c): multiple definition of `nodelist_it' /tmp/ccvBzwKe.o:xsml_iter.c:(.text+0x675): first defined here /tmp/cc5lDDbu.o: In function `next_node': xsml_query.c:(.text+0x1448): multiple definition of `next_node' /tmp/ccvBzwKe.o:xsml_iter.c:(.text+0x691): first defined here collect2: ld returned 1 exit status Compilation with the student files [FAILED]. ========================================================== LucaLollobrigida: Unzip: [OK] ===== == LucaLollobrigida : Compiling main1.c with our files, except of xsml_iter.c == LucaLollobrigida : Compiling main2.c with our files, except of xsml_iter.c == LucaLollobrigida : Compiling main3.c with our files, except of xsml_iter.c Compilation with our files [OK] ========================================================== LucaLupo: Unzip: [OK] ===== == LucaLupo : Compiling main1.c with our files, except of xsml_iter.c == LucaLupo : Compiling main2.c with our files, except of xsml_iter.c == LucaLupo : Compiling main3.c with our files, except of xsml_iter.c Compilation with our files [OK] ========================================================== ManueleTamburrano: Unzip: [OK] Compile: [NOT PATCHED, IGNORING] ========================================================== ManuelMinopoli: Unzip: [OK] ===== == ManuelMinopoli : Compiling main1.c with our files, except of xsml_iter.c xsml_parse_query.c: In function ‘analizza_attributi’: xsml_parse_query.c:36: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c: In function ‘analizza_tag’: xsml_parse_query.c:98: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c: In function ‘confronta_attributi’: xsml_query.c:30: warning: incompatible implicit declaration of built-in function ‘malloc’ == ManuelMinopoli : Compiling main2.c with our files, except of xsml_iter.c xsml_parse_query.c: In function ‘analizza_attributi’: xsml_parse_query.c:36: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c: In function ‘analizza_tag’: xsml_parse_query.c:98: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c: In function ‘confronta_attributi’: xsml_query.c:30: warning: incompatible implicit declaration of built-in function ‘malloc’ == ManuelMinopoli : Compiling main3.c with our files, except of xsml_iter.c xsml_parse_query.c: In function ‘analizza_attributi’: xsml_parse_query.c:36: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c: In function ‘analizza_tag’: xsml_parse_query.c:98: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c: In function ‘confronta_attributi’: xsml_query.c:30: warning: incompatible implicit declaration of built-in function ‘malloc’ Compilation with our files [OK] ========================================================== MarcoAntelmi: Unzip: [OK] ===== == MarcoAntelmi : Compiling main1.c with our files, except of xsml_iter.c == MarcoAntelmi : Compiling main2.c with our files, except of xsml_iter.c == MarcoAntelmi : Compiling main3.c with our files, except of xsml_iter.c Compilation with our files [OK] ========================================================== MarcoAurelioSterpa: Unzip: [OK] ===== == MarcoAurelioSterpa : Compiling main1.c with our files, except of xsml_iter.c xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:7: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:8: error: ‘NULL’ undeclared (first use in this function) xsml_parse_query.c:8: error: (Each undeclared identifier is reported only once xsml_parse_query.c:8: error: for each function it appears in.) xsml_parse_query.c:21: warning: incompatible implicit declaration of built-in function ‘sscanf’ xsml_parse_query.c: In function ‘query_addAttributes’: xsml_parse_query.c:44: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:46: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c:49: warning: incompatible implicit declaration of built-in function ‘sscanf’ xsml_parse_query.c:54: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_query.c: In function ‘queryFromRoot’: xsml_query.c:11: error: ‘node_it’ undeclared (first use in this function) xsml_query.c:11: error: (Each undeclared identifier is reported only once xsml_query.c:11: error: for each function it appears in.) xsml_query.c:11: error: expected ‘;’ before ‘childIter’ xsml_query.c:15: error: ‘struct list’ has no member named ‘data’ xsml_query.c:16: warning: passing argument 1 of ‘has_next’ from incompatible pointer type xsml_query.c:20: error: ‘childIter’ undeclared (first use in this function) xsml_query.c:22: warning: assignment makes pointer from integer without a cast xsml_query.c:24: error: ‘struct list’ has no member named ‘next’ xsml_query.c: In function ‘queryGeneric’: xsml_query.c:34: error: ‘node_it’ undeclared (first use in this function) xsml_query.c:34: error: expected ‘;’ before ‘childIter’ xsml_query.c:39: error: ‘struct list’ has no member named ‘data’ xsml_query.c:40: error: ‘struct list’ has no member named ‘next’ xsml_query.c:44: error: ‘childIter’ undeclared (first use in this function) xsml_query.c:46: warning: assignment makes pointer from integer without a cast xsml_query.c:49: error: ‘struct list’ has no member named ‘next’ xsml_query.c: In function ‘nodecmp’: xsml_query.c:60: error: ‘attr_it’ undeclared (first use in this function) xsml_query.c:60: error: expected ‘;’ before ‘iterN1’ xsml_query.c:65: error: ‘iterN1’ undeclared (first use in this function) xsml_query.c:66: error: ‘iterN2’ undeclared (first use in this function) xsml_query.c:68: warning: assignment makes pointer from integer without a cast == MarcoAurelioSterpa : Compiling main2.c with our files, except of xsml_iter.c xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:7: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:8: error: ‘NULL’ undeclared (first use in this function) xsml_parse_query.c:8: error: (Each undeclared identifier is reported only once xsml_parse_query.c:8: error: for each function it appears in.) xsml_parse_query.c:21: warning: incompatible implicit declaration of built-in function ‘sscanf’ xsml_parse_query.c: In function ‘query_addAttributes’: xsml_parse_query.c:44: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:46: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c:49: warning: incompatible implicit declaration of built-in function ‘sscanf’ xsml_parse_query.c:54: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_query.c: In function ‘queryFromRoot’: xsml_query.c:11: error: ‘node_it’ undeclared (first use in this function) xsml_query.c:11: error: (Each undeclared identifier is reported only once xsml_query.c:11: error: for each function it appears in.) xsml_query.c:11: error: expected ‘;’ before ‘childIter’ xsml_query.c:15: error: ‘struct list’ has no member named ‘data’ xsml_query.c:16: warning: passing argument 1 of ‘has_next’ from incompatible pointer type xsml_query.c:20: error: ‘childIter’ undeclared (first use in this function) xsml_query.c:22: warning: assignment makes pointer from integer without a cast xsml_query.c:24: error: ‘struct list’ has no member named ‘next’ xsml_query.c: In function ‘queryGeneric’: xsml_query.c:34: error: ‘node_it’ undeclared (first use in this function) xsml_query.c:34: error: expected ‘;’ before ‘childIter’ xsml_query.c:39: error: ‘struct list’ has no member named ‘data’ xsml_query.c:40: error: ‘struct list’ has no member named ‘next’ xsml_query.c:44: error: ‘childIter’ undeclared (first use in this function) xsml_query.c:46: warning: assignment makes pointer from integer without a cast xsml_query.c:49: error: ‘struct list’ has no member named ‘next’ xsml_query.c: In function ‘nodecmp’: xsml_query.c:60: error: ‘attr_it’ undeclared (first use in this function) xsml_query.c:60: error: expected ‘;’ before ‘iterN1’ xsml_query.c:65: error: ‘iterN1’ undeclared (first use in this function) xsml_query.c:66: error: ‘iterN2’ undeclared (first use in this function) xsml_query.c:68: warning: assignment makes pointer from integer without a cast == MarcoAurelioSterpa : Compiling main3.c with our files, except of xsml_iter.c xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:7: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:8: error: ‘NULL’ undeclared (first use in this function) xsml_parse_query.c:8: error: (Each undeclared identifier is reported only once xsml_parse_query.c:8: error: for each function it appears in.) xsml_parse_query.c:21: warning: incompatible implicit declaration of built-in function ‘sscanf’ xsml_parse_query.c: In function ‘query_addAttributes’: xsml_parse_query.c:44: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:46: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c:49: warning: incompatible implicit declaration of built-in function ‘sscanf’ xsml_parse_query.c:54: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_query.c: In function ‘queryFromRoot’: xsml_query.c:11: error: ‘node_it’ undeclared (first use in this function) xsml_query.c:11: error: (Each undeclared identifier is reported only once xsml_query.c:11: error: for each function it appears in.) xsml_query.c:11: error: expected ‘;’ before ‘childIter’ xsml_query.c:15: error: ‘struct list’ has no member named ‘data’ xsml_query.c:16: warning: passing argument 1 of ‘has_next’ from incompatible pointer type xsml_query.c:20: error: ‘childIter’ undeclared (first use in this function) xsml_query.c:22: warning: assignment makes pointer from integer without a cast xsml_query.c:24: error: ‘struct list’ has no member named ‘next’ xsml_query.c: In function ‘queryGeneric’: xsml_query.c:34: error: ‘node_it’ undeclared (first use in this function) xsml_query.c:34: error: expected ‘;’ before ‘childIter’ xsml_query.c:39: error: ‘struct list’ has no member named ‘data’ xsml_query.c:40: error: ‘struct list’ has no member named ‘next’ xsml_query.c:44: error: ‘childIter’ undeclared (first use in this function) xsml_query.c:46: warning: assignment makes pointer from integer without a cast xsml_query.c:49: error: ‘struct list’ has no member named ‘next’ xsml_query.c: In function ‘nodecmp’: xsml_query.c:60: error: ‘attr_it’ undeclared (first use in this function) xsml_query.c:60: error: expected ‘;’ before ‘iterN1’ xsml_query.c:65: error: ‘iterN1’ undeclared (first use in this function) xsml_query.c:66: error: ‘iterN2’ undeclared (first use in this function) xsml_query.c:68: warning: assignment makes pointer from integer without a cast Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/MarcoAurelioSterpa/MarcoAurelioSterpa' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/MarcoAurelioSterpa/MarcoAurelioSterpa' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/MarcoAurelioSterpa/MarcoAurelioSterpa' == MarcoAurelioSterpa : Compiling main1.c with the student files xsml_node.c: In function ‘new_text_node’: xsml_node.c:6: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘new_tag_node’: xsml_node.c:17: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘get_attributo’: xsml_node.c:44: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘set_attributo’: xsml_node.c:63: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c:68: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_first’: xsml_list.c:15: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c:23: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_last’: xsml_list.c:38: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘get_iterator’: xsml_list.c:51: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c:52: warning: incompatible implicit declaration of built-in function ‘exit’ xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:7: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:8: error: ‘NULL’ undeclared (first use in this function) xsml_parse_query.c:8: error: (Each undeclared identifier is reported only once xsml_parse_query.c:8: error: for each function it appears in.) xsml_parse_query.c:21: warning: incompatible implicit declaration of built-in function ‘sscanf’ xsml_parse_query.c: In function ‘query_addAttributes’: xsml_parse_query.c:44: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:46: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c:49: warning: incompatible implicit declaration of built-in function ‘sscanf’ xsml_parse_query.c:54: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_query.c: In function ‘queryFromRoot’: xsml_query.c:11: error: ‘node_it’ undeclared (first use in this function) xsml_query.c:11: error: (Each undeclared identifier is reported only once xsml_query.c:11: error: for each function it appears in.) xsml_query.c:11: error: expected ‘;’ before ‘childIter’ xsml_query.c:20: error: ‘childIter’ undeclared (first use in this function) xsml_query.c:22: warning: assignment makes pointer from integer without a cast xsml_query.c: In function ‘queryGeneric’: xsml_query.c:34: error: ‘node_it’ undeclared (first use in this function) xsml_query.c:34: error: expected ‘;’ before ‘childIter’ xsml_query.c:44: error: ‘childIter’ undeclared (first use in this function) xsml_query.c:46: warning: assignment makes pointer from integer without a cast xsml_query.c: In function ‘nodecmp’: xsml_query.c:60: error: ‘attr_it’ undeclared (first use in this function) xsml_query.c:60: error: expected ‘;’ before ‘iterN1’ xsml_query.c:65: error: ‘iterN1’ undeclared (first use in this function) xsml_query.c:66: error: ‘iterN2’ undeclared (first use in this function) xsml_query.c:68: warning: assignment makes pointer from integer without a cast == MarcoAurelioSterpa : Compiling main2.c with the student files xsml_node.c: In function ‘new_text_node’: xsml_node.c:6: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘new_tag_node’: xsml_node.c:17: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘get_attributo’: xsml_node.c:44: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘set_attributo’: xsml_node.c:63: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c:68: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_first’: xsml_list.c:15: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c:23: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_last’: xsml_list.c:38: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘get_iterator’: xsml_list.c:51: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c:52: warning: incompatible implicit declaration of built-in function ‘exit’ xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:7: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:8: error: ‘NULL’ undeclared (first use in this function) xsml_parse_query.c:8: error: (Each undeclared identifier is reported only once xsml_parse_query.c:8: error: for each function it appears in.) xsml_parse_query.c:21: warning: incompatible implicit declaration of built-in function ‘sscanf’ xsml_parse_query.c: In function ‘query_addAttributes’: xsml_parse_query.c:44: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:46: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c:49: warning: incompatible implicit declaration of built-in function ‘sscanf’ xsml_parse_query.c:54: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_query.c: In function ‘queryFromRoot’: xsml_query.c:11: error: ‘node_it’ undeclared (first use in this function) xsml_query.c:11: error: (Each undeclared identifier is reported only once xsml_query.c:11: error: for each function it appears in.) xsml_query.c:11: error: expected ‘;’ before ‘childIter’ xsml_query.c:20: error: ‘childIter’ undeclared (first use in this function) xsml_query.c:22: warning: assignment makes pointer from integer without a cast xsml_query.c: In function ‘queryGeneric’: xsml_query.c:34: error: ‘node_it’ undeclared (first use in this function) xsml_query.c:34: error: expected ‘;’ before ‘childIter’ xsml_query.c:44: error: ‘childIter’ undeclared (first use in this function) xsml_query.c:46: warning: assignment makes pointer from integer without a cast xsml_query.c: In function ‘nodecmp’: xsml_query.c:60: error: ‘attr_it’ undeclared (first use in this function) xsml_query.c:60: error: expected ‘;’ before ‘iterN1’ xsml_query.c:65: error: ‘iterN1’ undeclared (first use in this function) xsml_query.c:66: error: ‘iterN2’ undeclared (first use in this function) xsml_query.c:68: warning: assignment makes pointer from integer without a cast == MarcoAurelioSterpa : Compiling main3.c with the student files xsml_node.c: In function ‘new_text_node’: xsml_node.c:6: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘new_tag_node’: xsml_node.c:17: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘get_attributo’: xsml_node.c:44: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c: In function ‘set_attributo’: xsml_node.c:63: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_node.c:68: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_first’: xsml_list.c:15: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c:23: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_last’: xsml_list.c:38: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘get_iterator’: xsml_list.c:51: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c:52: warning: incompatible implicit declaration of built-in function ‘exit’ xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:7: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:8: error: ‘NULL’ undeclared (first use in this function) xsml_parse_query.c:8: error: (Each undeclared identifier is reported only once xsml_parse_query.c:8: error: for each function it appears in.) xsml_parse_query.c:21: warning: incompatible implicit declaration of built-in function ‘sscanf’ xsml_parse_query.c: In function ‘query_addAttributes’: xsml_parse_query.c:44: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:46: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c:49: warning: incompatible implicit declaration of built-in function ‘sscanf’ xsml_parse_query.c:54: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_query.c: In function ‘queryFromRoot’: xsml_query.c:11: error: ‘node_it’ undeclared (first use in this function) xsml_query.c:11: error: (Each undeclared identifier is reported only once xsml_query.c:11: error: for each function it appears in.) xsml_query.c:11: error: expected ‘;’ before ‘childIter’ xsml_query.c:20: error: ‘childIter’ undeclared (first use in this function) xsml_query.c:22: warning: assignment makes pointer from integer without a cast xsml_query.c: In function ‘queryGeneric’: xsml_query.c:34: error: ‘node_it’ undeclared (first use in this function) xsml_query.c:34: error: expected ‘;’ before ‘childIter’ xsml_query.c:44: error: ‘childIter’ undeclared (first use in this function) xsml_query.c:46: warning: assignment makes pointer from integer without a cast xsml_query.c: In function ‘nodecmp’: xsml_query.c:60: error: ‘attr_it’ undeclared (first use in this function) xsml_query.c:60: error: expected ‘;’ before ‘iterN1’ xsml_query.c:65: error: ‘iterN1’ undeclared (first use in this function) xsml_query.c:66: error: ‘iterN2’ undeclared (first use in this function) xsml_query.c:68: warning: assignment makes pointer from integer without a cast Compilation with the student files [FAILED]. ========================================================== MarcoMarinangeli: Unzip: [OK] ===== == MarcoMarinangeli : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_node’: xsml_iter.c:32: error: ‘struct iterator’ has no member named ‘item’ xsml_query.c: In function ‘SIrooted’: xsml_query.c:39: error: ‘struct list’ has no member named ‘el’ == MarcoMarinangeli : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_node’: xsml_iter.c:32: error: ‘struct iterator’ has no member named ‘item’ xsml_query.c: In function ‘SIrooted’: xsml_query.c:39: error: ‘struct list’ has no member named ‘el’ == MarcoMarinangeli : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_node’: xsml_iter.c:32: error: ‘struct iterator’ has no member named ‘item’ xsml_query.c: In function ‘SIrooted’: xsml_query.c:39: error: ‘struct list’ has no member named ‘el’ Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/MarcoMarinangeli/MarcoMarinangeli' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/MarcoMarinangeli/MarcoMarinangeli' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/MarcoMarinangeli/MarcoMarinangeli' == MarcoMarinangeli : Compiling main1.c with the student files == MarcoMarinangeli : Compiling main2.c with the student files == MarcoMarinangeli : Compiling main3.c with the student files /tmp/ccOO4d3w.o: In function `main': main3.c:(.text+0x2dc): undefined reference to `get_xsml_doc' main3.c:(.text+0x31e): undefined reference to `last_token' collect2: ld returned 1 exit status Compilation with the student files [FAILED]. ========================================================== MarcoRotiroti: Unzip: [OK] Compile: [NOT PATCHED, IGNORING] ========================================================== MariantoniettaTognazzi: Unzip: [OK] cp: cannot stat `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/MariantoniettaTognazzi/xsml_iter.c': No such file or directory ===== == MariantoniettaTognazzi : Compiling main1.c with our files, except of xsml_iter.c /tmp/ccN1JSsd.o: In function `query': xsml_query.c:(.text+0x0): multiple definition of `query' /tmp/ccgowbcM.o:xsml_parse_query.c:(.text+0x733): first defined here /usr/bin/ld: Warning: size of symbol `query' changed from 142 in /tmp/ccgowbcM.o to 234 in /tmp/ccN1JSsd.o collect2: ld returned 1 exit status == MariantoniettaTognazzi : Compiling main2.c with our files, except of xsml_iter.c /tmp/cc8Vx9Qq.o: In function `query': xsml_query.c:(.text+0x0): multiple definition of `query' /tmp/ccE9MzsH.o:xsml_parse_query.c:(.text+0x733): first defined here /usr/bin/ld: Warning: size of symbol `query' changed from 142 in /tmp/ccE9MzsH.o to 234 in /tmp/cc8Vx9Qq.o collect2: ld returned 1 exit status == MariantoniettaTognazzi : Compiling main3.c with our files, except of xsml_iter.c /tmp/ccaX5IxJ.o: In function `query': xsml_query.c:(.text+0x0): multiple definition of `query' /tmp/cc2XK2SF.o:xsml_parse_query.c:(.text+0x733): first defined here /usr/bin/ld: Warning: size of symbol `query' changed from 142 in /tmp/cc2XK2SF.o to 234 in /tmp/ccaX5IxJ.o collect2: ld returned 1 exit status Compilation with our files [FAILED]. Trying with the student files... ===== cp: cannot stat `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/MariantoniettaTognazzi/*': No such file or directory cp: cannot stat `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/MariantoniettaTognazzi/*': No such file or directory cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/MariantoniettaTognazzi/MariantoniettaTognazzi' == MariantoniettaTognazzi : Compiling main1.c with the student files In file included from xsml_node.h:2, from xsml_query.h:5, from main1.c:2: xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:36: error: previous definition of ‘OP_OK’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:37: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:40: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:40: error: conflicting types for ‘op_errors’ xsml_list.h:40: error: previous declaration of ‘op_errors’ was here In file included from main1.c:2: xsml_query.h:45: warning: ‘struct node’ declared inside parameter list xsml_query.h:45: warning: its scope is only this definition or declaration, which is probably not what you want main1.c: In function ‘main’: main1.c:72: warning: passing argument 1 of ‘query’ from incompatible pointer type In file included from xsml_syn.h:5, from xsml_iter.c:2: xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:36: error: previous definition of ‘OP_OK’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:37: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:40: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:40: error: conflicting types for ‘op_errors’ xsml_list.h:40: error: previous declaration of ‘op_errors’ was here In file included from xsml_node.h:2, from xsml_syn.h:6, from xsml_iter.c:2: xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:36: error: previous definition of ‘OP_OK’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:37: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:40: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:40: error: conflicting types for ‘op_errors’ xsml_list.h:40: error: previous declaration of ‘op_errors’ was here In file included from xsml_syn.h:6, from xsml_iter.c:2: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:14: error: redefinition of ‘struct nodo’ xsml_node.h:23: error: redefinition of typedef ‘nodo’ xsml_node.h:23: error: previous declaration of ‘nodo’ was here xsml_node.h:23: error: redefinition of typedef ‘node’ xsml_node.h:23: error: previous declaration of ‘node’ was here xsml_node.h:28: error: redefinition of ‘struct attributo’ xsml_node.h:33: error: redefinition of typedef ‘attributo’ xsml_node.h:33: error: previous declaration of ‘attributo’ was here xsml_node.h:33: error: redefinition of typedef ‘attr’ xsml_node.h:33: error: previous declaration of ‘attr’ was here xsml_node.h:49: error: conflicting types for ‘get_node_type’ xsml_node.h:49: error: previous declaration of ‘get_node_type’ was here In file included from xsml_iter.c:2: xsml_syn.h:25: warning: ‘struct node’ declared inside parameter list xsml_syn.h:25: warning: its scope is only this definition or declaration, which is probably not what you want xsml_syn.h:39: warning: ‘struct node’ declared inside parameter list xsml_syn.h:55: warning: ‘struct node’ declared inside parameter list xsml_iter.c:11: error: conflicting types for ‘nodelist_it’ xsml_syn.h:55: error: previous declaration of ‘nodelist_it’ was here xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:13: error: dereferencing pointer to incomplete type xsml_iter.c: In function ‘next_node’: xsml_iter.c:23: warning: return from incompatible pointer type xsml_iter.c: At top level: xsml_iter.c:28: error: conflicting types for ‘attrlist_it’ xsml_syn.h:39: error: previous declaration of ‘attrlist_it’ was here xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:30: error: dereferencing pointer to incomplete type xsml_iter.c:31: error: dereferencing pointer to incomplete type In file included from xsml_query.h:4, from xsml_parse_query.c:5: xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:36: error: previous definition of ‘OP_OK’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:37: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:40: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:40: error: conflicting types for ‘op_errors’ xsml_list.h:40: error: previous declaration of ‘op_errors’ was here In file included from xsml_node.h:2, from xsml_query.h:5, from xsml_parse_query.c:5: xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:36: error: previous definition of ‘OP_OK’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:37: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:40: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:40: error: conflicting types for ‘op_errors’ xsml_list.h:40: error: previous declaration of ‘op_errors’ was here In file included from xsml_query.h:5, from xsml_parse_query.c:5: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:14: error: redefinition of ‘struct nodo’ xsml_node.h:23: error: redefinition of typedef ‘nodo’ xsml_node.h:23: error: previous declaration of ‘nodo’ was here xsml_node.h:23: error: redefinition of typedef ‘node’ xsml_node.h:23: error: previous declaration of ‘node’ was here xsml_node.h:28: error: redefinition of ‘struct attributo’ xsml_node.h:33: error: redefinition of typedef ‘attributo’ xsml_node.h:33: error: previous declaration of ‘attributo’ was here xsml_node.h:33: error: redefinition of typedef ‘attr’ xsml_node.h:33: error: previous declaration of ‘attr’ was here xsml_node.h:49: error: conflicting types for ‘get_node_type’ xsml_node.h:49: error: previous declaration of ‘get_node_type’ was here In file included from xsml_parse_query.c:5: xsml_query.h:45: warning: ‘struct node’ declared inside parameter list xsml_query.h:45: warning: its scope is only this definition or declaration, which is probably not what you want xsml_parse_query.c: In function ‘ricorsiva’: xsml_parse_query.c:133: error: ‘struct attributo’ has no member named ‘value’ xsml_parse_query.c:135: error: ‘struct attributo’ has no member named ‘value’ xsml_parse_query.c:135: error: ‘struct attributo’ has no member named ‘value’ xsml_parse_query.c: At top level: xsml_parse_query.c:170: warning: ‘struct node’ declared inside parameter list xsml_parse_query.c:172: error: conflicting types for ‘query’ xsml_query.h:45: error: previous declaration of ‘query’ was here In file included from xsml_query.h:4, from xsml_query.c:5: xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:36: error: previous definition of ‘OP_OK’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:37: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:40: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:40: error: conflicting types for ‘op_errors’ xsml_list.h:40: error: previous declaration of ‘op_errors’ was here In file included from xsml_node.h:2, from xsml_query.h:5, from xsml_query.c:5: xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:36: error: previous definition of ‘OP_OK’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:37: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:40: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:40: error: conflicting types for ‘op_errors’ xsml_list.h:40: error: previous declaration of ‘op_errors’ was here In file included from xsml_query.h:5, from xsml_query.c:5: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:14: error: redefinition of ‘struct nodo’ xsml_node.h:23: error: redefinition of typedef ‘nodo’ xsml_node.h:23: error: previous declaration of ‘nodo’ was here xsml_node.h:23: error: redefinition of typedef ‘node’ xsml_node.h:23: error: previous declaration of ‘node’ was here xsml_node.h:28: error: redefinition of ‘struct attributo’ xsml_node.h:33: error: redefinition of typedef ‘attributo’ xsml_node.h:33: error: previous declaration of ‘attributo’ was here xsml_node.h:33: error: redefinition of typedef ‘attr’ xsml_node.h:33: error: previous declaration of ‘attr’ was here xsml_node.h:49: error: conflicting types for ‘get_node_type’ xsml_node.h:49: error: previous declaration of ‘get_node_type’ was here In file included from xsml_query.c:5: xsml_query.h:45: warning: ‘struct node’ declared inside parameter list xsml_query.h:45: warning: its scope is only this definition or declaration, which is probably not what you want xsml_query.c:8: warning: ‘struct node’ declared inside parameter list xsml_query.c:10: error: conflicting types for ‘query’ xsml_query.h:45: error: previous declaration of ‘query’ was here xsml_query.c: In function ‘query’: xsml_query.c:11: error: ‘list_node’ undeclared (first use in this function) xsml_query.c:11: error: (Each undeclared identifier is reported only once xsml_query.c:11: error: for each function it appears in.) xsml_query.c:11: error: ‘nod’ undeclared (first use in this function) xsml_query.c:13: error: ‘struct elem’ has no member named ‘first’ xsml_query.c:19: error: dereferencing pointer to incomplete type xsml_query.c:22: error: dereferencing pointer to incomplete type xsml_query.c:25: warning: passing argument 1 of ‘query’ from incompatible pointer type == MariantoniettaTognazzi : Compiling main2.c with the student files In file included from xsml_node.h:2, from xsml_query.h:5, from main2.c:2: xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:36: error: previous definition of ‘OP_OK’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:37: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:40: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:40: error: conflicting types for ‘op_errors’ xsml_list.h:40: error: previous declaration of ‘op_errors’ was here In file included from main2.c:2: xsml_query.h:45: warning: ‘struct node’ declared inside parameter list xsml_query.h:45: warning: its scope is only this definition or declaration, which is probably not what you want main2.c: In function ‘main’: main2.c:72: warning: passing argument 1 of ‘query’ from incompatible pointer type In file included from xsml_syn.h:5, from xsml_iter.c:2: xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:36: error: previous definition of ‘OP_OK’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:37: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:40: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:40: error: conflicting types for ‘op_errors’ xsml_list.h:40: error: previous declaration of ‘op_errors’ was here In file included from xsml_node.h:2, from xsml_syn.h:6, from xsml_iter.c:2: xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:36: error: previous definition of ‘OP_OK’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:37: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:40: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:40: error: conflicting types for ‘op_errors’ xsml_list.h:40: error: previous declaration of ‘op_errors’ was here In file included from xsml_syn.h:6, from xsml_iter.c:2: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:14: error: redefinition of ‘struct nodo’ xsml_node.h:23: error: redefinition of typedef ‘nodo’ xsml_node.h:23: error: previous declaration of ‘nodo’ was here xsml_node.h:23: error: redefinition of typedef ‘node’ xsml_node.h:23: error: previous declaration of ‘node’ was here xsml_node.h:28: error: redefinition of ‘struct attributo’ xsml_node.h:33: error: redefinition of typedef ‘attributo’ xsml_node.h:33: error: previous declaration of ‘attributo’ was here xsml_node.h:33: error: redefinition of typedef ‘attr’ xsml_node.h:33: error: previous declaration of ‘attr’ was here xsml_node.h:49: error: conflicting types for ‘get_node_type’ xsml_node.h:49: error: previous declaration of ‘get_node_type’ was here In file included from xsml_iter.c:2: xsml_syn.h:25: warning: ‘struct node’ declared inside parameter list xsml_syn.h:25: warning: its scope is only this definition or declaration, which is probably not what you want xsml_syn.h:39: warning: ‘struct node’ declared inside parameter list xsml_syn.h:55: warning: ‘struct node’ declared inside parameter list xsml_iter.c:11: error: conflicting types for ‘nodelist_it’ xsml_syn.h:55: error: previous declaration of ‘nodelist_it’ was here xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:13: error: dereferencing pointer to incomplete type xsml_iter.c: In function ‘next_node’: xsml_iter.c:23: warning: return from incompatible pointer type xsml_iter.c: At top level: xsml_iter.c:28: error: conflicting types for ‘attrlist_it’ xsml_syn.h:39: error: previous declaration of ‘attrlist_it’ was here xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:30: error: dereferencing pointer to incomplete type xsml_iter.c:31: error: dereferencing pointer to incomplete type In file included from xsml_query.h:4, from xsml_parse_query.c:5: xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:36: error: previous definition of ‘OP_OK’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:37: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:40: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:40: error: conflicting types for ‘op_errors’ xsml_list.h:40: error: previous declaration of ‘op_errors’ was here In file included from xsml_node.h:2, from xsml_query.h:5, from xsml_parse_query.c:5: xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:36: error: previous definition of ‘OP_OK’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:37: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:40: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:40: error: conflicting types for ‘op_errors’ xsml_list.h:40: error: previous declaration of ‘op_errors’ was here In file included from xsml_query.h:5, from xsml_parse_query.c:5: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:14: error: redefinition of ‘struct nodo’ xsml_node.h:23: error: redefinition of typedef ‘nodo’ xsml_node.h:23: error: previous declaration of ‘nodo’ was here xsml_node.h:23: error: redefinition of typedef ‘node’ xsml_node.h:23: error: previous declaration of ‘node’ was here xsml_node.h:28: error: redefinition of ‘struct attributo’ xsml_node.h:33: error: redefinition of typedef ‘attributo’ xsml_node.h:33: error: previous declaration of ‘attributo’ was here xsml_node.h:33: error: redefinition of typedef ‘attr’ xsml_node.h:33: error: previous declaration of ‘attr’ was here xsml_node.h:49: error: conflicting types for ‘get_node_type’ xsml_node.h:49: error: previous declaration of ‘get_node_type’ was here In file included from xsml_parse_query.c:5: xsml_query.h:45: warning: ‘struct node’ declared inside parameter list xsml_query.h:45: warning: its scope is only this definition or declaration, which is probably not what you want xsml_parse_query.c: In function ‘ricorsiva’: xsml_parse_query.c:133: error: ‘struct attributo’ has no member named ‘value’ xsml_parse_query.c:135: error: ‘struct attributo’ has no member named ‘value’ xsml_parse_query.c:135: error: ‘struct attributo’ has no member named ‘value’ xsml_parse_query.c: At top level: xsml_parse_query.c:170: warning: ‘struct node’ declared inside parameter list xsml_parse_query.c:172: error: conflicting types for ‘query’ xsml_query.h:45: error: previous declaration of ‘query’ was here In file included from xsml_query.h:4, from xsml_query.c:5: xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:36: error: previous definition of ‘OP_OK’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:37: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:40: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:40: error: conflicting types for ‘op_errors’ xsml_list.h:40: error: previous declaration of ‘op_errors’ was here In file included from xsml_node.h:2, from xsml_query.h:5, from xsml_query.c:5: xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:36: error: previous definition of ‘OP_OK’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:37: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:40: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:40: error: conflicting types for ‘op_errors’ xsml_list.h:40: error: previous declaration of ‘op_errors’ was here In file included from xsml_query.h:5, from xsml_query.c:5: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:14: error: redefinition of ‘struct nodo’ xsml_node.h:23: error: redefinition of typedef ‘nodo’ xsml_node.h:23: error: previous declaration of ‘nodo’ was here xsml_node.h:23: error: redefinition of typedef ‘node’ xsml_node.h:23: error: previous declaration of ‘node’ was here xsml_node.h:28: error: redefinition of ‘struct attributo’ xsml_node.h:33: error: redefinition of typedef ‘attributo’ xsml_node.h:33: error: previous declaration of ‘attributo’ was here xsml_node.h:33: error: redefinition of typedef ‘attr’ xsml_node.h:33: error: previous declaration of ‘attr’ was here xsml_node.h:49: error: conflicting types for ‘get_node_type’ xsml_node.h:49: error: previous declaration of ‘get_node_type’ was here In file included from xsml_query.c:5: xsml_query.h:45: warning: ‘struct node’ declared inside parameter list xsml_query.h:45: warning: its scope is only this definition or declaration, which is probably not what you want xsml_query.c:8: warning: ‘struct node’ declared inside parameter list xsml_query.c:10: error: conflicting types for ‘query’ xsml_query.h:45: error: previous declaration of ‘query’ was here xsml_query.c: In function ‘query’: xsml_query.c:11: error: ‘list_node’ undeclared (first use in this function) xsml_query.c:11: error: (Each undeclared identifier is reported only once xsml_query.c:11: error: for each function it appears in.) xsml_query.c:11: error: ‘nod’ undeclared (first use in this function) xsml_query.c:13: error: ‘struct elem’ has no member named ‘first’ xsml_query.c:19: error: dereferencing pointer to incomplete type xsml_query.c:22: error: dereferencing pointer to incomplete type xsml_query.c:25: warning: passing argument 1 of ‘query’ from incompatible pointer type == MariantoniettaTognazzi : Compiling main3.c with the student files In file included from xsml_node.h:2, from xsml_query.h:5, from main3.c:2: xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:36: error: previous definition of ‘OP_OK’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:37: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:40: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:40: error: conflicting types for ‘op_errors’ xsml_list.h:40: error: previous declaration of ‘op_errors’ was here In file included from main3.c:2: xsml_query.h:45: warning: ‘struct node’ declared inside parameter list xsml_query.h:45: warning: its scope is only this definition or declaration, which is probably not what you want main3.c: In function ‘main’: main3.c:72: warning: passing argument 1 of ‘query’ from incompatible pointer type In file included from xsml_syn.h:5, from xsml_iter.c:2: xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:36: error: previous definition of ‘OP_OK’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:37: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:40: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:40: error: conflicting types for ‘op_errors’ xsml_list.h:40: error: previous declaration of ‘op_errors’ was here In file included from xsml_node.h:2, from xsml_syn.h:6, from xsml_iter.c:2: xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:36: error: previous definition of ‘OP_OK’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:37: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:40: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:40: error: conflicting types for ‘op_errors’ xsml_list.h:40: error: previous declaration of ‘op_errors’ was here In file included from xsml_syn.h:6, from xsml_iter.c:2: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:14: error: redefinition of ‘struct nodo’ xsml_node.h:23: error: redefinition of typedef ‘nodo’ xsml_node.h:23: error: previous declaration of ‘nodo’ was here xsml_node.h:23: error: redefinition of typedef ‘node’ xsml_node.h:23: error: previous declaration of ‘node’ was here xsml_node.h:28: error: redefinition of ‘struct attributo’ xsml_node.h:33: error: redefinition of typedef ‘attributo’ xsml_node.h:33: error: previous declaration of ‘attributo’ was here xsml_node.h:33: error: redefinition of typedef ‘attr’ xsml_node.h:33: error: previous declaration of ‘attr’ was here xsml_node.h:49: error: conflicting types for ‘get_node_type’ xsml_node.h:49: error: previous declaration of ‘get_node_type’ was here In file included from xsml_iter.c:2: xsml_syn.h:25: warning: ‘struct node’ declared inside parameter list xsml_syn.h:25: warning: its scope is only this definition or declaration, which is probably not what you want xsml_syn.h:39: warning: ‘struct node’ declared inside parameter list xsml_syn.h:55: warning: ‘struct node’ declared inside parameter list xsml_iter.c:11: error: conflicting types for ‘nodelist_it’ xsml_syn.h:55: error: previous declaration of ‘nodelist_it’ was here xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:13: error: dereferencing pointer to incomplete type xsml_iter.c: In function ‘next_node’: xsml_iter.c:23: warning: return from incompatible pointer type xsml_iter.c: At top level: xsml_iter.c:28: error: conflicting types for ‘attrlist_it’ xsml_syn.h:39: error: previous declaration of ‘attrlist_it’ was here xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:30: error: dereferencing pointer to incomplete type xsml_iter.c:31: error: dereferencing pointer to incomplete type In file included from xsml_query.h:4, from xsml_parse_query.c:5: xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:36: error: previous definition of ‘OP_OK’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:37: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:40: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:40: error: conflicting types for ‘op_errors’ xsml_list.h:40: error: previous declaration of ‘op_errors’ was here In file included from xsml_node.h:2, from xsml_query.h:5, from xsml_parse_query.c:5: xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:36: error: previous definition of ‘OP_OK’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:37: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:40: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:40: error: conflicting types for ‘op_errors’ xsml_list.h:40: error: previous declaration of ‘op_errors’ was here In file included from xsml_query.h:5, from xsml_parse_query.c:5: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:14: error: redefinition of ‘struct nodo’ xsml_node.h:23: error: redefinition of typedef ‘nodo’ xsml_node.h:23: error: previous declaration of ‘nodo’ was here xsml_node.h:23: error: redefinition of typedef ‘node’ xsml_node.h:23: error: previous declaration of ‘node’ was here xsml_node.h:28: error: redefinition of ‘struct attributo’ xsml_node.h:33: error: redefinition of typedef ‘attributo’ xsml_node.h:33: error: previous declaration of ‘attributo’ was here xsml_node.h:33: error: redefinition of typedef ‘attr’ xsml_node.h:33: error: previous declaration of ‘attr’ was here xsml_node.h:49: error: conflicting types for ‘get_node_type’ xsml_node.h:49: error: previous declaration of ‘get_node_type’ was here In file included from xsml_parse_query.c:5: xsml_query.h:45: warning: ‘struct node’ declared inside parameter list xsml_query.h:45: warning: its scope is only this definition or declaration, which is probably not what you want xsml_parse_query.c: In function ‘ricorsiva’: xsml_parse_query.c:133: error: ‘struct attributo’ has no member named ‘value’ xsml_parse_query.c:135: error: ‘struct attributo’ has no member named ‘value’ xsml_parse_query.c:135: error: ‘struct attributo’ has no member named ‘value’ xsml_parse_query.c: At top level: xsml_parse_query.c:170: warning: ‘struct node’ declared inside parameter list xsml_parse_query.c:172: error: conflicting types for ‘query’ xsml_query.h:45: error: previous declaration of ‘query’ was here In file included from xsml_query.h:4, from xsml_query.c:5: xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:36: error: previous definition of ‘OP_OK’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:37: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:40: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:40: error: conflicting types for ‘op_errors’ xsml_list.h:40: error: previous declaration of ‘op_errors’ was here In file included from xsml_node.h:2, from xsml_query.h:5, from xsml_query.c:5: xsml_list.h:11: error: redefinition of ‘struct elem’ xsml_list.h:19: error: redefinition of typedef ‘elem’ xsml_list.h:19: error: previous declaration of ‘elem’ was here xsml_list.h:19: error: redefinition of typedef ‘list’ xsml_list.h:19: error: previous declaration of ‘list’ was here xsml_list.h:24: error: redefinition of ‘struct iterator’ xsml_list.h:32: error: redefinition of typedef ‘iterator’ xsml_list.h:32: error: previous declaration of ‘iterator’ was here xsml_list.h:36: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:36: error: previous definition of ‘OP_OK’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:37: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:38: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:38: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:40: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:40: error: previous definition of ‘OP_GENERIC’ was here xsml_list.h:40: error: conflicting types for ‘op_errors’ xsml_list.h:40: error: previous declaration of ‘op_errors’ was here In file included from xsml_query.h:5, from xsml_query.c:5: xsml_node.h:8: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:8: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:10: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:10: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:10: error: conflicting types for ‘node_type’ xsml_node.h:10: error: previous declaration of ‘node_type’ was here xsml_node.h:14: error: redefinition of ‘struct nodo’ xsml_node.h:23: error: redefinition of typedef ‘nodo’ xsml_node.h:23: error: previous declaration of ‘nodo’ was here xsml_node.h:23: error: redefinition of typedef ‘node’ xsml_node.h:23: error: previous declaration of ‘node’ was here xsml_node.h:28: error: redefinition of ‘struct attributo’ xsml_node.h:33: error: redefinition of typedef ‘attributo’ xsml_node.h:33: error: previous declaration of ‘attributo’ was here xsml_node.h:33: error: redefinition of typedef ‘attr’ xsml_node.h:33: error: previous declaration of ‘attr’ was here xsml_node.h:49: error: conflicting types for ‘get_node_type’ xsml_node.h:49: error: previous declaration of ‘get_node_type’ was here In file included from xsml_query.c:5: xsml_query.h:45: warning: ‘struct node’ declared inside parameter list xsml_query.h:45: warning: its scope is only this definition or declaration, which is probably not what you want xsml_query.c:8: warning: ‘struct node’ declared inside parameter list xsml_query.c:10: error: conflicting types for ‘query’ xsml_query.h:45: error: previous declaration of ‘query’ was here xsml_query.c: In function ‘query’: xsml_query.c:11: error: ‘list_node’ undeclared (first use in this function) xsml_query.c:11: error: (Each undeclared identifier is reported only once xsml_query.c:11: error: for each function it appears in.) xsml_query.c:11: error: ‘nod’ undeclared (first use in this function) xsml_query.c:13: error: ‘struct elem’ has no member named ‘first’ xsml_query.c:19: error: dereferencing pointer to incomplete type xsml_query.c:22: error: dereferencing pointer to incomplete type xsml_query.c:25: warning: passing argument 1 of ‘query’ from incompatible pointer type Compilation with the student files [FAILED]. ========================================================== MartinaTrani: Unzip: [OK] ===== == MartinaTrani : Compiling main1.c with our files, except of xsml_iter.c == MartinaTrani : Compiling main2.c with our files, except of xsml_iter.c == MartinaTrani : Compiling main3.c with our files, except of xsml_iter.c Compilation with our files [OK] ========================================================== MassimilianoFerretti: Unzip: [OK] Compile: [NOT PATCHED, IGNORING] ========================================================== MatteoLatini: Unzip: [OK] ===== == MatteoLatini : Compiling main1.c with our files, except of xsml_iter.c == MatteoLatini : Compiling main2.c with our files, except of xsml_iter.c == MatteoLatini : Compiling main3.c with our files, except of xsml_iter.c Compilation with our files [OK] ========================================================== MatteoPallocca: Unzip: [OK] ===== == MatteoPallocca : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:8: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:37: warning: incompatible implicit declaration of built-in function ‘malloc’ == MatteoPallocca : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:8: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:37: warning: incompatible implicit declaration of built-in function ‘malloc’ == MatteoPallocca : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:8: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:37: warning: incompatible implicit declaration of built-in function ‘malloc’ Compilation with our files [OK] ========================================================== MevioColucci: Unzip: [OK] ===== == MevioColucci : Compiling main1.c with our files, except of xsml_iter.c xsml_parse_query.c: In function ‘parse_text’: xsml_parse_query.c:23: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c: In function ‘parse_name’: xsml_parse_query.c:42: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c: In function ‘query’: xsml_query.c:110: warning: incompatible implicit declaration of built-in function ‘malloc’ == MevioColucci : Compiling main2.c with our files, except of xsml_iter.c xsml_parse_query.c: In function ‘parse_text’: xsml_parse_query.c:23: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c: In function ‘parse_name’: xsml_parse_query.c:42: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c: In function ‘query’: xsml_query.c:110: warning: incompatible implicit declaration of built-in function ‘malloc’ == MevioColucci : Compiling main3.c with our files, except of xsml_iter.c xsml_parse_query.c: In function ‘parse_text’: xsml_parse_query.c:23: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c: In function ‘parse_name’: xsml_parse_query.c:42: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c: In function ‘query’: xsml_query.c:110: warning: incompatible implicit declaration of built-in function ‘malloc’ Compilation with our files [OK] ========================================================== MicheleMartinelli: Unzip: [OK] ===== == MicheleMartinelli : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:20: error: ‘elemnode’ undeclared (first use in this function) xsml_iter.c:20: error: (Each undeclared identifier is reported only once xsml_iter.c:20: error: for each function it appears in.) xsml_iter.c:20: error: ‘valore’ undeclared (first use in this function) xsml_iter.c:22: error: expected expression before ‘)’ token == MicheleMartinelli : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:20: error: ‘elemnode’ undeclared (first use in this function) xsml_iter.c:20: error: (Each undeclared identifier is reported only once xsml_iter.c:20: error: for each function it appears in.) xsml_iter.c:20: error: ‘valore’ undeclared (first use in this function) xsml_iter.c:22: error: expected expression before ‘)’ token == MicheleMartinelli : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:20: error: ‘elemnode’ undeclared (first use in this function) xsml_iter.c:20: error: (Each undeclared identifier is reported only once xsml_iter.c:20: error: for each function it appears in.) xsml_iter.c:20: error: ‘valore’ undeclared (first use in this function) xsml_iter.c:22: error: expected expression before ‘)’ token Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/MicheleMartinelli/MicheleMartinelli' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/MicheleMartinelli/MicheleMartinelli' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/MicheleMartinelli/MicheleMartinelli' == MicheleMartinelli : Compiling main1.c with the student files == MicheleMartinelli : Compiling main2.c with the student files == MicheleMartinelli : Compiling main3.c with the student files /tmp/ccQK0DLn.o: In function `main': main3.c:(.text+0x2dc): undefined reference to `get_xsml_doc' main3.c:(.text+0x31e): undefined reference to `last_token' collect2: ld returned 1 exit status Compilation with the student files [FAILED]. ========================================================== MircoCanzano: Unzip: [OK] ===== == MircoCanzano : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c:1:21: error: xsml_it.h: No such file or directory xsml_iter.c:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attrlist_it’ xsml_iter.c:13: error: expected ‘)’ before ‘i’ xsml_iter.c:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nodelist_it’ xsml_iter.c:29: error: expected ‘)’ before ‘i’ xsml_parse_query.c:6:23: error: xsml_iter.h: No such file or directory xsml_query.c:6:23: error: xsml_iter.h: No such file or directory == MircoCanzano : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c:1:21: error: xsml_it.h: No such file or directory xsml_iter.c:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attrlist_it’ xsml_iter.c:13: error: expected ‘)’ before ‘i’ xsml_iter.c:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nodelist_it’ xsml_iter.c:29: error: expected ‘)’ before ‘i’ xsml_parse_query.c:6:23: error: xsml_iter.h: No such file or directory xsml_query.c:6:23: error: xsml_iter.h: No such file or directory == MircoCanzano : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c:1:21: error: xsml_it.h: No such file or directory xsml_iter.c:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attrlist_it’ xsml_iter.c:13: error: expected ‘)’ before ‘i’ xsml_iter.c:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nodelist_it’ xsml_iter.c:29: error: expected ‘)’ before ‘i’ xsml_parse_query.c:6:23: error: xsml_iter.h: No such file or directory xsml_query.c:6:23: error: xsml_iter.h: No such file or directory Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/MircoCanzano/MircoCanzano' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/MircoCanzano/MircoCanzano' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/MircoCanzano/MircoCanzano' == MircoCanzano : Compiling main1.c with the student files In file included from xsml_node.h:1, from xsml_query.h:5, from main1.c:2: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here xsml_iter.c:1:21: error: xsml_it.h: No such file or directory xsml_iter.c:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attrlist_it’ xsml_iter.c:13: error: expected ‘)’ before ‘i’ xsml_iter.c:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nodelist_it’ xsml_iter.c:29: error: expected ‘)’ before ‘i’ In file included from xsml_query.h:4, from xsml_parse_query.c:5: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_query.h:5, from xsml_parse_query.c:5: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_parse_query.c:5: xsml_node.h:4: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:4: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:6: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:6: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:6: error: conflicting types for ‘node_type’ xsml_node.h:6: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct attri’ xsml_node.h:16: error: redefinition of typedef ‘attri’ xsml_node.h:16: error: previous declaration of ‘attri’ was here xsml_node.h:18: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:41: error: conflicting types for ‘get_node_type’ xsml_node.h:41: error: previous declaration of ‘get_node_type’ was here xsml_parse_query.c:6:23: error: xsml_iter.h: No such file or directory In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_query.c:4: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_query.c:5: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.c:5: xsml_node.h:4: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:4: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:6: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:6: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:6: error: conflicting types for ‘node_type’ xsml_node.h:6: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct attri’ xsml_node.h:16: error: redefinition of typedef ‘attri’ xsml_node.h:16: error: previous declaration of ‘attri’ was here xsml_node.h:18: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:41: error: conflicting types for ‘get_node_type’ xsml_node.h:41: error: previous declaration of ‘get_node_type’ was here xsml_query.c:6:23: error: xsml_iter.h: No such file or directory In file included from xsml_query.h:4, from xsml_query.c:7: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_query.h:5, from xsml_query.c:7: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_query.c:7: xsml_node.h:4: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:4: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:6: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:6: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:6: error: conflicting types for ‘node_type’ xsml_node.h:6: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct attri’ xsml_node.h:16: error: redefinition of typedef ‘attri’ xsml_node.h:16: error: previous declaration of ‘attri’ was here xsml_node.h:18: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:41: error: conflicting types for ‘get_node_type’ xsml_node.h:41: error: previous declaration of ‘get_node_type’ was here == MircoCanzano : Compiling main2.c with the student files In file included from xsml_node.h:1, from xsml_query.h:5, from main2.c:2: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here xsml_iter.c:1:21: error: xsml_it.h: No such file or directory xsml_iter.c:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attrlist_it’ xsml_iter.c:13: error: expected ‘)’ before ‘i’ xsml_iter.c:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nodelist_it’ xsml_iter.c:29: error: expected ‘)’ before ‘i’ In file included from xsml_query.h:4, from xsml_parse_query.c:5: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_query.h:5, from xsml_parse_query.c:5: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_parse_query.c:5: xsml_node.h:4: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:4: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:6: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:6: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:6: error: conflicting types for ‘node_type’ xsml_node.h:6: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct attri’ xsml_node.h:16: error: redefinition of typedef ‘attri’ xsml_node.h:16: error: previous declaration of ‘attri’ was here xsml_node.h:18: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:41: error: conflicting types for ‘get_node_type’ xsml_node.h:41: error: previous declaration of ‘get_node_type’ was here xsml_parse_query.c:6:23: error: xsml_iter.h: No such file or directory In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_query.c:4: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_query.c:5: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.c:5: xsml_node.h:4: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:4: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:6: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:6: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:6: error: conflicting types for ‘node_type’ xsml_node.h:6: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct attri’ xsml_node.h:16: error: redefinition of typedef ‘attri’ xsml_node.h:16: error: previous declaration of ‘attri’ was here xsml_node.h:18: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:41: error: conflicting types for ‘get_node_type’ xsml_node.h:41: error: previous declaration of ‘get_node_type’ was here xsml_query.c:6:23: error: xsml_iter.h: No such file or directory In file included from xsml_query.h:4, from xsml_query.c:7: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_query.h:5, from xsml_query.c:7: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_query.c:7: xsml_node.h:4: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:4: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:6: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:6: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:6: error: conflicting types for ‘node_type’ xsml_node.h:6: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct attri’ xsml_node.h:16: error: redefinition of typedef ‘attri’ xsml_node.h:16: error: previous declaration of ‘attri’ was here xsml_node.h:18: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:41: error: conflicting types for ‘get_node_type’ xsml_node.h:41: error: previous declaration of ‘get_node_type’ was here == MircoCanzano : Compiling main3.c with the student files In file included from xsml_node.h:1, from main3.c:6: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_syn.h:6, from main3.c:7: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:4: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:4: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:6: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:6: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:6: error: conflicting types for ‘node_type’ xsml_node.h:6: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct attri’ xsml_node.h:16: error: redefinition of typedef ‘attri’ xsml_node.h:16: error: previous declaration of ‘attri’ was here xsml_node.h:18: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:41: error: conflicting types for ‘get_node_type’ xsml_node.h:41: error: previous declaration of ‘get_node_type’ was here xsml_iter.c:1:21: error: xsml_it.h: No such file or directory xsml_iter.c:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attrlist_it’ xsml_iter.c:13: error: expected ‘)’ before ‘i’ xsml_iter.c:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nodelist_it’ xsml_iter.c:29: error: expected ‘)’ before ‘i’ In file included from xsml_query.h:4, from xsml_parse_query.c:5: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_query.h:5, from xsml_parse_query.c:5: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_parse_query.c:5: xsml_node.h:4: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:4: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:6: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:6: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:6: error: conflicting types for ‘node_type’ xsml_node.h:6: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct attri’ xsml_node.h:16: error: redefinition of typedef ‘attri’ xsml_node.h:16: error: previous declaration of ‘attri’ was here xsml_node.h:18: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:41: error: conflicting types for ‘get_node_type’ xsml_node.h:41: error: previous declaration of ‘get_node_type’ was here xsml_parse_query.c:6:23: error: xsml_iter.h: No such file or directory In file included from xsml_node.h:1, from xsml_syn.h:6, from xsml_query.c:4: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_query.c:5: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.c:5: xsml_node.h:4: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:4: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:6: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:6: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:6: error: conflicting types for ‘node_type’ xsml_node.h:6: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct attri’ xsml_node.h:16: error: redefinition of typedef ‘attri’ xsml_node.h:16: error: previous declaration of ‘attri’ was here xsml_node.h:18: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:41: error: conflicting types for ‘get_node_type’ xsml_node.h:41: error: previous declaration of ‘get_node_type’ was here xsml_query.c:6:23: error: xsml_iter.h: No such file or directory In file included from xsml_query.h:4, from xsml_query.c:7: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:1, from xsml_query.h:5, from xsml_query.c:7: xsml_list.h:4: error: redefinition of ‘struct elem’ xsml_list.h:9: error: redefinition of typedef ‘elem’ xsml_list.h:9: error: previous declaration of ‘elem’ was here xsml_list.h:12: error: redefinition of ‘struct list’ xsml_list.h:16: error: redefinition of typedef ‘list’ xsml_list.h:16: error: previous declaration of ‘list’ was here xsml_list.h:19: error: redefinition of ‘struct iterator’ xsml_list.h:23: error: redefinition of typedef ‘iterator’ xsml_list.h:23: error: previous declaration of ‘iterator’ was here xsml_list.h:27: error: nested redefinition of ‘enum op_errors’ xsml_list.h:27: error: redeclaration of ‘enum op_errors’ xsml_list.h:28: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:28: error: previous definition of ‘OP_OK’ was here xsml_list.h:29: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:29: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:30: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:30: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:32: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:32: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_query.c:7: xsml_node.h:4: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:4: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:6: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:6: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:6: error: conflicting types for ‘node_type’ xsml_node.h:6: error: previous declaration of ‘node_type’ was here xsml_node.h:10: error: redefinition of ‘struct attri’ xsml_node.h:16: error: redefinition of typedef ‘attri’ xsml_node.h:16: error: previous declaration of ‘attri’ was here xsml_node.h:18: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:41: error: conflicting types for ‘get_node_type’ xsml_node.h:41: error: previous declaration of ‘get_node_type’ was here Compilation with the student files [FAILED]. ========================================================== MirkoSquitieri: Unzip: [OK] Compile: [NOT PATCHED, IGNORING] ========================================================== NadiaDiSchino: Unzip: [OK] ===== == NadiaDiSchino : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:22: error: ‘attrib’ undeclared (first use in this function) xsml_iter.c:22: error: (Each undeclared identifier is reported only once xsml_iter.c:22: error: for each function it appears in.) xsml_iter.c:22: error: expected ‘;’ before ‘nuovo’ xsml_iter.c:24: error: ‘nuovo’ undeclared (first use in this function) xsml_query.c: In function ‘attributi’: xsml_query.c:134: error: ‘attrib’ undeclared (first use in this function) xsml_query.c:134: error: (Each undeclared identifier is reported only once xsml_query.c:134: error: for each function it appears in.) xsml_query.c:134: error: expected ‘;’ before ‘cont’ xsml_query.c:135: error: ‘cont’ undeclared (first use in this function) == NadiaDiSchino : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:22: error: ‘attrib’ undeclared (first use in this function) xsml_iter.c:22: error: (Each undeclared identifier is reported only once xsml_iter.c:22: error: for each function it appears in.) xsml_iter.c:22: error: expected ‘;’ before ‘nuovo’ xsml_iter.c:24: error: ‘nuovo’ undeclared (first use in this function) xsml_query.c: In function ‘attributi’: xsml_query.c:134: error: ‘attrib’ undeclared (first use in this function) xsml_query.c:134: error: (Each undeclared identifier is reported only once xsml_query.c:134: error: for each function it appears in.) xsml_query.c:134: error: expected ‘;’ before ‘cont’ xsml_query.c:135: error: ‘cont’ undeclared (first use in this function) == NadiaDiSchino : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:22: error: ‘attrib’ undeclared (first use in this function) xsml_iter.c:22: error: (Each undeclared identifier is reported only once xsml_iter.c:22: error: for each function it appears in.) xsml_iter.c:22: error: expected ‘;’ before ‘nuovo’ xsml_iter.c:24: error: ‘nuovo’ undeclared (first use in this function) xsml_query.c: In function ‘attributi’: xsml_query.c:134: error: ‘attrib’ undeclared (first use in this function) xsml_query.c:134: error: (Each undeclared identifier is reported only once xsml_query.c:134: error: for each function it appears in.) xsml_query.c:134: error: expected ‘;’ before ‘cont’ xsml_query.c:135: error: ‘cont’ undeclared (first use in this function) Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/NadiaDiSchino/NadiaDiSchino' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/NadiaDiSchino/NadiaDiSchino' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/NadiaDiSchino/NadiaDiSchino' == NadiaDiSchino : Compiling main1.c with the student files == NadiaDiSchino : Compiling main2.c with the student files == NadiaDiSchino : Compiling main3.c with the student files /tmp/ccMZlKPY.o: In function `main': main3.c:(.text+0x2dc): undefined reference to `get_xsml_doc' main3.c:(.text+0x31e): undefined reference to `last_token' collect2: ld returned 1 exit status Compilation with the student files [FAILED]. ========================================================== NicolasFrancavilla: Unzip: [OK] ===== == NicolasFrancavilla : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:15: error: ‘coppia’ undeclared (first use in this function) xsml_iter.c:15: error: (Each undeclared identifier is reported only once xsml_iter.c:15: error: for each function it appears in.) xsml_iter.c:15: error: expected ‘;’ before ‘tmp’ xsml_iter.c:16: error: ‘tmp’ undeclared (first use in this function) == NicolasFrancavilla : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:15: error: ‘coppia’ undeclared (first use in this function) xsml_iter.c:15: error: (Each undeclared identifier is reported only once xsml_iter.c:15: error: for each function it appears in.) xsml_iter.c:15: error: expected ‘;’ before ‘tmp’ xsml_iter.c:16: error: ‘tmp’ undeclared (first use in this function) == NicolasFrancavilla : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:15: error: ‘coppia’ undeclared (first use in this function) xsml_iter.c:15: error: (Each undeclared identifier is reported only once xsml_iter.c:15: error: for each function it appears in.) xsml_iter.c:15: error: expected ‘;’ before ‘tmp’ xsml_iter.c:16: error: ‘tmp’ undeclared (first use in this function) Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/NicolasFrancavilla/NicolasFrancavilla' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/NicolasFrancavilla/NicolasFrancavilla' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/NicolasFrancavilla/NicolasFrancavilla' == NicolasFrancavilla : Compiling main1.c with the student files == NicolasFrancavilla : Compiling main2.c with the student files == NicolasFrancavilla : Compiling main3.c with the student files /tmp/ccKYuD5G.o: In function `main': main3.c:(.text+0x2dc): undefined reference to `get_xsml_doc' main3.c:(.text+0x31e): undefined reference to `last_token' collect2: ld returned 1 exit status Compilation with the student files [FAILED]. ========================================================== OliverTran: Unzip: [OK] Compile: [NOT PATCHED, IGNORING] ========================================================== PaoloDiRollo: Unzip: [OK] Compile: [NOT PATCHED, IGNORING] ========================================================== PaoloFalbo: Unzip: [OK] Compile: [NOT PATCHED, IGNORING] ========================================================== PaoloMoscatelli: Unzip: [OK] Compile: [NOT PATCHED, IGNORING] ========================================================== PatrizioTamorri: Unzip: [OK] ===== == PatrizioTamorri : Compiling main1.c with our files, except of xsml_iter.c gcc: xsml_parse_query.c: No such file or directory xsml_iter.c:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attrlist_it’ xsml_iter.c:20: error: expected ‘)’ before ‘it’ xsml_iter.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nodelist_it’ xsml_iter.c:69: error: expected ‘)’ before ‘it’ xsml_iter.c:76:2: warning: no newline at end of file == PatrizioTamorri : Compiling main2.c with our files, except of xsml_iter.c gcc: xsml_parse_query.c: No such file or directory xsml_iter.c:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attrlist_it’ xsml_iter.c:20: error: expected ‘)’ before ‘it’ xsml_iter.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nodelist_it’ xsml_iter.c:69: error: expected ‘)’ before ‘it’ xsml_iter.c:76:2: warning: no newline at end of file == PatrizioTamorri : Compiling main3.c with our files, except of xsml_iter.c gcc: xsml_parse_query.c: No such file or directory xsml_iter.c:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attrlist_it’ xsml_iter.c:20: error: expected ‘)’ before ‘it’ xsml_iter.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nodelist_it’ xsml_iter.c:69: error: expected ‘)’ before ‘it’ xsml_iter.c:76:2: warning: no newline at end of file Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/PatrizioTamorri/PatrizioTamorri' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/PatrizioTamorri/PatrizioTamorri' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/PatrizioTamorri/PatrizioTamorri' == PatrizioTamorri : Compiling main1.c with the student files gcc: xsml_parse_query.c: No such file or directory In file included from xsml_list.h:45, from xsml_query.h:4, from main1.c:2: xsml_list.c:118:2: warning: no newline at end of file In file included from xsml_query.h:4, from main1.c:2: xsml_list.h:46:7: warning: no newline at end of file In file included from xsml_query.h:5, from main1.c:2: xsml_node.h:33:7: warning: no newline at end of file xsml_node.c:2: error: expected ‘)’ before ‘*’ token xsml_node.c:17: error: expected ‘)’ before ‘*’ token xsml_node.c:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘get_node_type’ xsml_node.c:37: error: expected ‘)’ before ‘parent’ xsml_node.c:50: error: expected ‘)’ before ‘n’ xsml_node.c:108: error: expected ‘)’ before ‘n’ xsml_list.c:11: error: expected ‘)’ before ‘*’ token xsml_list.c:26: error: expected ‘)’ before ‘*’ token xsml_list.c:56: error: expected ‘)’ before ‘*’ token xsml_list.c:83: error: expected ‘)’ before ‘l’ xsml_list.c:94: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘get_iterator’ xsml_list.c:103: error: expected ‘)’ before ‘i’ xsml_list.c:114: error: expected ‘)’ before ‘i’ xsml_list.c:118:2: warning: no newline at end of file xsml_iter.c:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attrlist_it’ xsml_iter.c:20: error: expected ‘)’ before ‘it’ xsml_iter.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nodelist_it’ xsml_iter.c:69: error: expected ‘)’ before ‘it’ xsml_iter.c:76:2: warning: no newline at end of file In file included from xsml_list.h:45, from xsml_query.h:4, from xsml_query.c:2: xsml_list.c:118:2: warning: no newline at end of file In file included from xsml_query.h:4, from xsml_query.c:2: xsml_list.h:46:7: warning: no newline at end of file In file included from xsml_query.h:5, from xsml_query.c:2: xsml_node.h:33:7: warning: no newline at end of file == PatrizioTamorri : Compiling main2.c with the student files gcc: xsml_parse_query.c: No such file or directory In file included from xsml_list.h:45, from xsml_query.h:4, from main2.c:2: xsml_list.c:118:2: warning: no newline at end of file In file included from xsml_query.h:4, from main2.c:2: xsml_list.h:46:7: warning: no newline at end of file In file included from xsml_query.h:5, from main2.c:2: xsml_node.h:33:7: warning: no newline at end of file xsml_node.c:2: error: expected ‘)’ before ‘*’ token xsml_node.c:17: error: expected ‘)’ before ‘*’ token xsml_node.c:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘get_node_type’ xsml_node.c:37: error: expected ‘)’ before ‘parent’ xsml_node.c:50: error: expected ‘)’ before ‘n’ xsml_node.c:108: error: expected ‘)’ before ‘n’ xsml_list.c:11: error: expected ‘)’ before ‘*’ token xsml_list.c:26: error: expected ‘)’ before ‘*’ token xsml_list.c:56: error: expected ‘)’ before ‘*’ token xsml_list.c:83: error: expected ‘)’ before ‘l’ xsml_list.c:94: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘get_iterator’ xsml_list.c:103: error: expected ‘)’ before ‘i’ xsml_list.c:114: error: expected ‘)’ before ‘i’ xsml_list.c:118:2: warning: no newline at end of file xsml_iter.c:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attrlist_it’ xsml_iter.c:20: error: expected ‘)’ before ‘it’ xsml_iter.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nodelist_it’ xsml_iter.c:69: error: expected ‘)’ before ‘it’ xsml_iter.c:76:2: warning: no newline at end of file In file included from xsml_list.h:45, from xsml_query.h:4, from xsml_query.c:2: xsml_list.c:118:2: warning: no newline at end of file In file included from xsml_query.h:4, from xsml_query.c:2: xsml_list.h:46:7: warning: no newline at end of file In file included from xsml_query.h:5, from xsml_query.c:2: xsml_node.h:33:7: warning: no newline at end of file == PatrizioTamorri : Compiling main3.c with the student files gcc: xsml_parse_query.c: No such file or directory In file included from xsml_list.h:45, from main3.c:5: xsml_list.c:118:2: warning: no newline at end of file In file included from main3.c:5: xsml_list.h:46:7: warning: no newline at end of file In file included from main3.c:6: xsml_node.h:33:7: warning: no newline at end of file xsml_node.c:2: error: expected ‘)’ before ‘*’ token xsml_node.c:17: error: expected ‘)’ before ‘*’ token xsml_node.c:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘get_node_type’ xsml_node.c:37: error: expected ‘)’ before ‘parent’ xsml_node.c:50: error: expected ‘)’ before ‘n’ xsml_node.c:108: error: expected ‘)’ before ‘n’ xsml_list.c:11: error: expected ‘)’ before ‘*’ token xsml_list.c:26: error: expected ‘)’ before ‘*’ token xsml_list.c:56: error: expected ‘)’ before ‘*’ token xsml_list.c:83: error: expected ‘)’ before ‘l’ xsml_list.c:94: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘get_iterator’ xsml_list.c:103: error: expected ‘)’ before ‘i’ xsml_list.c:114: error: expected ‘)’ before ‘i’ xsml_list.c:118:2: warning: no newline at end of file xsml_iter.c:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attrlist_it’ xsml_iter.c:20: error: expected ‘)’ before ‘it’ xsml_iter.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nodelist_it’ xsml_iter.c:69: error: expected ‘)’ before ‘it’ xsml_iter.c:76:2: warning: no newline at end of file In file included from xsml_list.h:45, from xsml_query.h:4, from xsml_query.c:2: xsml_list.c:118:2: warning: no newline at end of file In file included from xsml_query.h:4, from xsml_query.c:2: xsml_list.h:46:7: warning: no newline at end of file In file included from xsml_query.h:5, from xsml_query.c:2: xsml_node.h:33:7: warning: no newline at end of file Compilation with the student files [FAILED]. ========================================================== RaffaeleBisegna: Unzip: [OK] Compile: [NOT PATCHED, IGNORING] ========================================================== SabrinaFranchin: Unzip: [OK] ===== == SabrinaFranchin : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:18: error: ‘s_attribute’ undeclared (first use in this function) xsml_iter.c:18: error: (Each undeclared identifier is reported only once xsml_iter.c:18: error: for each function it appears in.) xsml_iter.c:18: error: expected expression before ‘)’ token == SabrinaFranchin : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:18: error: ‘s_attribute’ undeclared (first use in this function) xsml_iter.c:18: error: (Each undeclared identifier is reported only once xsml_iter.c:18: error: for each function it appears in.) xsml_iter.c:18: error: expected expression before ‘)’ token == SabrinaFranchin : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:18: error: ‘s_attribute’ undeclared (first use in this function) xsml_iter.c:18: error: (Each undeclared identifier is reported only once xsml_iter.c:18: error: for each function it appears in.) xsml_iter.c:18: error: expected expression before ‘)’ token Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/SabrinaFranchin/modulo' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/SabrinaFranchin/SabrinaFranchin' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/SabrinaFranchin/modulo' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/SabrinaFranchin/SabrinaFranchin' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/SabrinaFranchin/SabrinaFranchin' == SabrinaFranchin : Compiling main1.c with the student files xsml_query.c:17: error: expected declaration specifiers or ‘...’ before ‘list_node’ xsml_query.c:19: error: expected declaration specifiers or ‘...’ before ‘list_node’ xsml_query.c:20: error: expected declaration specifiers or ‘...’ before ‘list_node’ xsml_query.c: In function ‘query’: xsml_query.c:36: error: ‘list_node’ undeclared (first use in this function) xsml_query.c:36: error: (Each undeclared identifier is reported only once xsml_query.c:36: error: for each function it appears in.) xsml_query.c:36: error: ‘ln_query’ undeclared (first use in this function) xsml_query.c:48: error: too many arguments to function ‘ricerca_dalla_radice’ xsml_query.c:57: error: too many arguments to function ‘ricerca’ xsml_query.c: At top level: xsml_query.c:60: error: expected declaration specifiers or ‘...’ before ‘list_node’ xsml_query.c: In function ‘ricerca_dalla_radice’: xsml_query.c:65: error: ‘ln_query’ undeclared (first use in this function) xsml_query.c:88: error: too many arguments to function ‘ricerca_dalla_radice’ xsml_query.c: In function ‘control_attributi’: xsml_query.c:121: error: ‘attr’ undeclared (first use in this function) xsml_query.c:121: error: expected ‘;’ before ‘attri_query’ xsml_query.c:122: error: ‘attri_query’ undeclared (first use in this function) xsml_query.c: At top level: xsml_query.c:142: error: expected declaration specifiers or ‘...’ before ‘list_node’ xsml_query.c: In function ‘ricerca’: xsml_query.c:147: error: ‘ln_query’ undeclared (first use in this function) xsml_query.c:162: warning: passing argument 3 of ‘cerca_in_figli’ from incompatible pointer type xsml_query.c:162: error: too many arguments to function ‘cerca_in_figli’ xsml_query.c:171: warning: passing argument 3 of ‘cerca_in_figli’ from incompatible pointer type xsml_query.c:171: error: too many arguments to function ‘cerca_in_figli’ xsml_query.c:183: warning: passing argument 3 of ‘cerca_in_figli’ from incompatible pointer type xsml_query.c:183: error: too many arguments to function ‘cerca_in_figli’ xsml_query.c: At top level: xsml_query.c:196: error: expected declaration specifiers or ‘...’ before ‘list_node’ xsml_query.c: In function ‘cerca_in_figli’: xsml_query.c:207: error: ‘ln_query_ricerca’ undeclared (first use in this function) xsml_query.c:207: error: too many arguments to function ‘ricerca’ == SabrinaFranchin : Compiling main2.c with the student files xsml_query.c:17: error: expected declaration specifiers or ‘...’ before ‘list_node’ xsml_query.c:19: error: expected declaration specifiers or ‘...’ before ‘list_node’ xsml_query.c:20: error: expected declaration specifiers or ‘...’ before ‘list_node’ xsml_query.c: In function ‘query’: xsml_query.c:36: error: ‘list_node’ undeclared (first use in this function) xsml_query.c:36: error: (Each undeclared identifier is reported only once xsml_query.c:36: error: for each function it appears in.) xsml_query.c:36: error: ‘ln_query’ undeclared (first use in this function) xsml_query.c:48: error: too many arguments to function ‘ricerca_dalla_radice’ xsml_query.c:57: error: too many arguments to function ‘ricerca’ xsml_query.c: At top level: xsml_query.c:60: error: expected declaration specifiers or ‘...’ before ‘list_node’ xsml_query.c: In function ‘ricerca_dalla_radice’: xsml_query.c:65: error: ‘ln_query’ undeclared (first use in this function) xsml_query.c:88: error: too many arguments to function ‘ricerca_dalla_radice’ xsml_query.c: In function ‘control_attributi’: xsml_query.c:121: error: ‘attr’ undeclared (first use in this function) xsml_query.c:121: error: expected ‘;’ before ‘attri_query’ xsml_query.c:122: error: ‘attri_query’ undeclared (first use in this function) xsml_query.c: At top level: xsml_query.c:142: error: expected declaration specifiers or ‘...’ before ‘list_node’ xsml_query.c: In function ‘ricerca’: xsml_query.c:147: error: ‘ln_query’ undeclared (first use in this function) xsml_query.c:162: warning: passing argument 3 of ‘cerca_in_figli’ from incompatible pointer type xsml_query.c:162: error: too many arguments to function ‘cerca_in_figli’ xsml_query.c:171: warning: passing argument 3 of ‘cerca_in_figli’ from incompatible pointer type xsml_query.c:171: error: too many arguments to function ‘cerca_in_figli’ xsml_query.c:183: warning: passing argument 3 of ‘cerca_in_figli’ from incompatible pointer type xsml_query.c:183: error: too many arguments to function ‘cerca_in_figli’ xsml_query.c: At top level: xsml_query.c:196: error: expected declaration specifiers or ‘...’ before ‘list_node’ xsml_query.c: In function ‘cerca_in_figli’: xsml_query.c:207: error: ‘ln_query_ricerca’ undeclared (first use in this function) xsml_query.c:207: error: too many arguments to function ‘ricerca’ == SabrinaFranchin : Compiling main3.c with the student files xsml_query.c:17: error: expected declaration specifiers or ‘...’ before ‘list_node’ xsml_query.c:19: error: expected declaration specifiers or ‘...’ before ‘list_node’ xsml_query.c:20: error: expected declaration specifiers or ‘...’ before ‘list_node’ xsml_query.c: In function ‘query’: xsml_query.c:36: error: ‘list_node’ undeclared (first use in this function) xsml_query.c:36: error: (Each undeclared identifier is reported only once xsml_query.c:36: error: for each function it appears in.) xsml_query.c:36: error: ‘ln_query’ undeclared (first use in this function) xsml_query.c:48: error: too many arguments to function ‘ricerca_dalla_radice’ xsml_query.c:57: error: too many arguments to function ‘ricerca’ xsml_query.c: At top level: xsml_query.c:60: error: expected declaration specifiers or ‘...’ before ‘list_node’ xsml_query.c: In function ‘ricerca_dalla_radice’: xsml_query.c:65: error: ‘ln_query’ undeclared (first use in this function) xsml_query.c:88: error: too many arguments to function ‘ricerca_dalla_radice’ xsml_query.c: In function ‘control_attributi’: xsml_query.c:121: error: ‘attr’ undeclared (first use in this function) xsml_query.c:121: error: expected ‘;’ before ‘attri_query’ xsml_query.c:122: error: ‘attri_query’ undeclared (first use in this function) xsml_query.c: At top level: xsml_query.c:142: error: expected declaration specifiers or ‘...’ before ‘list_node’ xsml_query.c: In function ‘ricerca’: xsml_query.c:147: error: ‘ln_query’ undeclared (first use in this function) xsml_query.c:162: warning: passing argument 3 of ‘cerca_in_figli’ from incompatible pointer type xsml_query.c:162: error: too many arguments to function ‘cerca_in_figli’ xsml_query.c:171: warning: passing argument 3 of ‘cerca_in_figli’ from incompatible pointer type xsml_query.c:171: error: too many arguments to function ‘cerca_in_figli’ xsml_query.c:183: warning: passing argument 3 of ‘cerca_in_figli’ from incompatible pointer type xsml_query.c:183: error: too many arguments to function ‘cerca_in_figli’ xsml_query.c: At top level: xsml_query.c:196: error: expected declaration specifiers or ‘...’ before ‘list_node’ xsml_query.c: In function ‘cerca_in_figli’: xsml_query.c:207: error: ‘ln_query_ricerca’ undeclared (first use in this function) xsml_query.c:207: error: too many arguments to function ‘ricerca’ Compilation with the student files [FAILED]. ========================================================== SergioStraccamore: Unzip: [OK] ===== == SergioStraccamore : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c:3:23: error: xsml_iter.h: No such file or directory xsml_iter.c:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attrlist_it’ xsml_iter.c:14: error: expected ‘)’ before ‘i’ xsml_iter.c:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nodelist_it’ xsml_iter.c:34: error: expected ‘)’ before ‘i’ xsml_parse_query.c:6:23: error: xsml_iter.h: No such file or directory xsml_query.c:6:23: error: xsml_iter.h: No such file or directory == SergioStraccamore : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c:3:23: error: xsml_iter.h: No such file or directory xsml_iter.c:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attrlist_it’ xsml_iter.c:14: error: expected ‘)’ before ‘i’ xsml_iter.c:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nodelist_it’ xsml_iter.c:34: error: expected ‘)’ before ‘i’ xsml_parse_query.c:6:23: error: xsml_iter.h: No such file or directory xsml_query.c:6:23: error: xsml_iter.h: No such file or directory == SergioStraccamore : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c:3:23: error: xsml_iter.h: No such file or directory xsml_iter.c:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attrlist_it’ xsml_iter.c:14: error: expected ‘)’ before ‘i’ xsml_iter.c:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nodelist_it’ xsml_iter.c:34: error: expected ‘)’ before ‘i’ xsml_parse_query.c:6:23: error: xsml_iter.h: No such file or directory xsml_query.c:6:23: error: xsml_iter.h: No such file or directory Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/SergioStraccamore/SergioStraccamore' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/SergioStraccamore/SergioStraccamore' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/SergioStraccamore/SergioStraccamore' == SergioStraccamore : Compiling main1.c with the student files In file included from xsml_node.h:3, from xsml_query.h:5, from main1.c:2: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here xsml_iter.c:3:23: error: xsml_iter.h: No such file or directory xsml_iter.c:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attrlist_it’ xsml_iter.c:14: error: expected ‘)’ before ‘i’ xsml_iter.c:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nodelist_it’ xsml_iter.c:34: error: expected ‘)’ before ‘i’ In file included from xsml_query.h:4, from xsml_parse_query.c:5: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:3, from xsml_query.h:5, from xsml_parse_query.c:5: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_parse_query.c:5: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct attri’ xsml_node.h:17: error: redefinition of typedef ‘attri’ xsml_node.h:17: error: previous declaration of ‘attri’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:33: error: conflicting types for ‘get_node_type’ xsml_node.h:33: error: previous declaration of ‘get_node_type’ was here xsml_parse_query.c:6:23: error: xsml_iter.h: No such file or directory In file included from xsml_node.h:3, from xsml_syn.h:6, from xsml_query.c:4: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:3, from xsml_query.c:5: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.c:5: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct attri’ xsml_node.h:17: error: redefinition of typedef ‘attri’ xsml_node.h:17: error: previous declaration of ‘attri’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:33: error: conflicting types for ‘get_node_type’ xsml_node.h:33: error: previous declaration of ‘get_node_type’ was here xsml_query.c:6:23: error: xsml_iter.h: No such file or directory In file included from xsml_query.h:4, from xsml_query.c:7: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:3, from xsml_query.h:5, from xsml_query.c:7: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_query.c:7: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct attri’ xsml_node.h:17: error: redefinition of typedef ‘attri’ xsml_node.h:17: error: previous declaration of ‘attri’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:33: error: conflicting types for ‘get_node_type’ xsml_node.h:33: error: previous declaration of ‘get_node_type’ was here xsml_query.c:12: warning: ‘struct iterator’ declared inside parameter list xsml_query.c:12: warning: its scope is only this definition or declaration, which is probably not what you want xsml_query.c: In function ‘query’: xsml_query.c:96: error: type of formal parameter 4 is incomplete xsml_query.c: At top level: xsml_query.c:117: warning: ‘struct iterator’ declared inside parameter list xsml_query.c:117: error: parameter 4 (‘i’) has incomplete type xsml_query.c: In function ‘controllo’: xsml_query.c:149: error: type of formal parameter 4 is incomplete xsml_query.c: In function ‘scala_di_livello’: xsml_query.c:174: error: type of formal parameter 4 is incomplete == SergioStraccamore : Compiling main2.c with the student files In file included from xsml_node.h:3, from xsml_query.h:5, from main2.c:2: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here xsml_iter.c:3:23: error: xsml_iter.h: No such file or directory xsml_iter.c:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attrlist_it’ xsml_iter.c:14: error: expected ‘)’ before ‘i’ xsml_iter.c:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nodelist_it’ xsml_iter.c:34: error: expected ‘)’ before ‘i’ In file included from xsml_query.h:4, from xsml_parse_query.c:5: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:3, from xsml_query.h:5, from xsml_parse_query.c:5: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_parse_query.c:5: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct attri’ xsml_node.h:17: error: redefinition of typedef ‘attri’ xsml_node.h:17: error: previous declaration of ‘attri’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:33: error: conflicting types for ‘get_node_type’ xsml_node.h:33: error: previous declaration of ‘get_node_type’ was here xsml_parse_query.c:6:23: error: xsml_iter.h: No such file or directory In file included from xsml_node.h:3, from xsml_syn.h:6, from xsml_query.c:4: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:3, from xsml_query.c:5: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.c:5: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct attri’ xsml_node.h:17: error: redefinition of typedef ‘attri’ xsml_node.h:17: error: previous declaration of ‘attri’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:33: error: conflicting types for ‘get_node_type’ xsml_node.h:33: error: previous declaration of ‘get_node_type’ was here xsml_query.c:6:23: error: xsml_iter.h: No such file or directory In file included from xsml_query.h:4, from xsml_query.c:7: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:3, from xsml_query.h:5, from xsml_query.c:7: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_query.c:7: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct attri’ xsml_node.h:17: error: redefinition of typedef ‘attri’ xsml_node.h:17: error: previous declaration of ‘attri’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:33: error: conflicting types for ‘get_node_type’ xsml_node.h:33: error: previous declaration of ‘get_node_type’ was here xsml_query.c:12: warning: ‘struct iterator’ declared inside parameter list xsml_query.c:12: warning: its scope is only this definition or declaration, which is probably not what you want xsml_query.c: In function ‘query’: xsml_query.c:96: error: type of formal parameter 4 is incomplete xsml_query.c: At top level: xsml_query.c:117: warning: ‘struct iterator’ declared inside parameter list xsml_query.c:117: error: parameter 4 (‘i’) has incomplete type xsml_query.c: In function ‘controllo’: xsml_query.c:149: error: type of formal parameter 4 is incomplete xsml_query.c: In function ‘scala_di_livello’: xsml_query.c:174: error: type of formal parameter 4 is incomplete == SergioStraccamore : Compiling main3.c with the student files In file included from xsml_node.h:3, from main3.c:6: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:3, from xsml_syn.h:6, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct attri’ xsml_node.h:17: error: redefinition of typedef ‘attri’ xsml_node.h:17: error: previous declaration of ‘attri’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:33: error: conflicting types for ‘get_node_type’ xsml_node.h:33: error: previous declaration of ‘get_node_type’ was here xsml_iter.c:3:23: error: xsml_iter.h: No such file or directory xsml_iter.c:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attrlist_it’ xsml_iter.c:14: error: expected ‘)’ before ‘i’ xsml_iter.c:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nodelist_it’ xsml_iter.c:34: error: expected ‘)’ before ‘i’ In file included from xsml_query.h:4, from xsml_parse_query.c:5: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:3, from xsml_query.h:5, from xsml_parse_query.c:5: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_parse_query.c:5: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct attri’ xsml_node.h:17: error: redefinition of typedef ‘attri’ xsml_node.h:17: error: previous declaration of ‘attri’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:33: error: conflicting types for ‘get_node_type’ xsml_node.h:33: error: previous declaration of ‘get_node_type’ was here xsml_parse_query.c:6:23: error: xsml_iter.h: No such file or directory In file included from xsml_node.h:3, from xsml_syn.h:6, from xsml_query.c:4: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:3, from xsml_query.c:5: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.c:5: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct attri’ xsml_node.h:17: error: redefinition of typedef ‘attri’ xsml_node.h:17: error: previous declaration of ‘attri’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:33: error: conflicting types for ‘get_node_type’ xsml_node.h:33: error: previous declaration of ‘get_node_type’ was here xsml_query.c:6:23: error: xsml_iter.h: No such file or directory In file included from xsml_query.h:4, from xsml_query.c:7: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:3, from xsml_query.h:5, from xsml_query.c:7: xsml_list.h:5: error: redefinition of ‘struct lista’ xsml_list.h:10: error: redefinition of typedef ‘list’ xsml_list.h:10: error: previous declaration of ‘list’ was here xsml_list.h:12: error: redefinition of ‘struct elem’ xsml_list.h:16: error: redefinition of typedef ‘elemento’ xsml_list.h:16: error: previous declaration of ‘elemento’ was here xsml_list.h:18: error: redefinition of ‘struct iter’ xsml_list.h:21: error: redefinition of typedef ‘iterator’ xsml_list.h:21: error: previous declaration of ‘iterator’ was here xsml_list.h:23: error: nested redefinition of ‘enum op_errors’ xsml_list.h:23: error: redeclaration of ‘enum op_errors’ xsml_list.h:24: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:24: error: previous definition of ‘OP_OK’ was here xsml_list.h:25: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:25: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:26: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:26: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:28: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:28: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_query.c:7: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct attri’ xsml_node.h:17: error: redefinition of typedef ‘attri’ xsml_node.h:17: error: previous declaration of ‘attri’ was here xsml_node.h:19: error: redefinition of ‘struct node’ xsml_node.h:29: error: redefinition of typedef ‘node’ xsml_node.h:29: error: previous declaration of ‘node’ was here xsml_node.h:33: error: conflicting types for ‘get_node_type’ xsml_node.h:33: error: previous declaration of ‘get_node_type’ was here xsml_query.c:12: warning: ‘struct iterator’ declared inside parameter list xsml_query.c:12: warning: its scope is only this definition or declaration, which is probably not what you want xsml_query.c: In function ‘query’: xsml_query.c:96: error: type of formal parameter 4 is incomplete xsml_query.c: At top level: xsml_query.c:117: warning: ‘struct iterator’ declared inside parameter list xsml_query.c:117: error: parameter 4 (‘i’) has incomplete type xsml_query.c: In function ‘controllo’: xsml_query.c:149: error: type of formal parameter 4 is incomplete xsml_query.c: In function ‘scala_di_livello’: xsml_query.c:174: error: type of formal parameter 4 is incomplete Compilation with the student files [FAILED]. ========================================================== SergueiCharounine: Unzip: [OK] ===== == SergueiCharounine : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:15: error: ‘attributeS’ undeclared (first use in this function) xsml_iter.c:15: error: (Each undeclared identifier is reported only once xsml_iter.c:15: error: for each function it appears in.) xsml_iter.c:15: error: expected expression before ‘attr’ xsml_iter.c:21: error: expected identifier or ‘(’ before ‘=’ token xsml_iter.c:22: error: expected expression before ‘attr’ xsml_iter.c:23: error: expected expression before ‘attr’ == SergueiCharounine : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:15: error: ‘attributeS’ undeclared (first use in this function) xsml_iter.c:15: error: (Each undeclared identifier is reported only once xsml_iter.c:15: error: for each function it appears in.) xsml_iter.c:15: error: expected expression before ‘attr’ xsml_iter.c:21: error: expected identifier or ‘(’ before ‘=’ token xsml_iter.c:22: error: expected expression before ‘attr’ xsml_iter.c:23: error: expected expression before ‘attr’ == SergueiCharounine : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:15: error: ‘attributeS’ undeclared (first use in this function) xsml_iter.c:15: error: (Each undeclared identifier is reported only once xsml_iter.c:15: error: for each function it appears in.) xsml_iter.c:15: error: expected expression before ‘attr’ xsml_iter.c:21: error: expected identifier or ‘(’ before ‘=’ token xsml_iter.c:22: error: expected expression before ‘attr’ xsml_iter.c:23: error: expected expression before ‘attr’ Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/SergueiCharounine/Modulo' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/SergueiCharounine/SergueiCharounine' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/SergueiCharounine/Modulo' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/SergueiCharounine/SergueiCharounine' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/SergueiCharounine/SergueiCharounine' == SergueiCharounine : Compiling main1.c with the student files == SergueiCharounine : Compiling main2.c with the student files == SergueiCharounine : Compiling main3.c with the student files /tmp/cc2xd9Ug.o: In function `main': main3.c:(.text+0x2dc): undefined reference to `get_xsml_doc' main3.c:(.text+0x31e): undefined reference to `last_token' collect2: ld returned 1 exit status Compilation with the student files [FAILED]. ========================================================== SilviaRinaldi: Unzip: [OK] ===== == SilviaRinaldi : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:23: error: ‘struct iterator’ has no member named ‘attuale’ xsml_iter.c:31: error: ‘attrib’ undeclared (first use in this function) xsml_iter.c:31: error: (Each undeclared identifier is reported only once xsml_iter.c:31: error: for each function it appears in.) xsml_iter.c:31: error: ‘_att’ undeclared (first use in this function) xsml_iter.c:37: error: ‘struct iterator’ has no member named ‘lista’ xsml_iter.c:41: error: expected expression before ‘)’ token xsml_iter.c:43: error: ‘struct list’ has no member named ‘next’ xsml_iter.c:46: error: ‘struct iterator’ has no member named ‘attuale’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:65: error: ‘struct iterator’ has no member named ‘attuale’ xsml_iter.c:75: error: ‘struct iterator’ has no member named ‘lista’ xsml_iter.c:79: error: ‘struct list’ has no member named ‘el’ xsml_iter.c:80: error: ‘struct list’ has no member named ‘next’ xsml_iter.c:83: error: ‘struct iterator’ has no member named ‘attuale’ == SilviaRinaldi : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:23: error: ‘struct iterator’ has no member named ‘attuale’ xsml_iter.c:31: error: ‘attrib’ undeclared (first use in this function) xsml_iter.c:31: error: (Each undeclared identifier is reported only once xsml_iter.c:31: error: for each function it appears in.) xsml_iter.c:31: error: ‘_att’ undeclared (first use in this function) xsml_iter.c:37: error: ‘struct iterator’ has no member named ‘lista’ xsml_iter.c:41: error: expected expression before ‘)’ token xsml_iter.c:43: error: ‘struct list’ has no member named ‘next’ xsml_iter.c:46: error: ‘struct iterator’ has no member named ‘attuale’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:65: error: ‘struct iterator’ has no member named ‘attuale’ xsml_iter.c:75: error: ‘struct iterator’ has no member named ‘lista’ xsml_iter.c:79: error: ‘struct list’ has no member named ‘el’ xsml_iter.c:80: error: ‘struct list’ has no member named ‘next’ xsml_iter.c:83: error: ‘struct iterator’ has no member named ‘attuale’ == SilviaRinaldi : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:23: error: ‘struct iterator’ has no member named ‘attuale’ xsml_iter.c:31: error: ‘attrib’ undeclared (first use in this function) xsml_iter.c:31: error: (Each undeclared identifier is reported only once xsml_iter.c:31: error: for each function it appears in.) xsml_iter.c:31: error: ‘_att’ undeclared (first use in this function) xsml_iter.c:37: error: ‘struct iterator’ has no member named ‘lista’ xsml_iter.c:41: error: expected expression before ‘)’ token xsml_iter.c:43: error: ‘struct list’ has no member named ‘next’ xsml_iter.c:46: error: ‘struct iterator’ has no member named ‘attuale’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:65: error: ‘struct iterator’ has no member named ‘attuale’ xsml_iter.c:75: error: ‘struct iterator’ has no member named ‘lista’ xsml_iter.c:79: error: ‘struct list’ has no member named ‘el’ xsml_iter.c:80: error: ‘struct list’ has no member named ‘next’ xsml_iter.c:83: error: ‘struct iterator’ has no member named ‘attuale’ Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/SilviaRinaldi/SilviaRinaldi' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/SilviaRinaldi/SilviaRinaldi' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/SilviaRinaldi/SilviaRinaldi' == SilviaRinaldi : Compiling main1.c with the student files == SilviaRinaldi : Compiling main2.c with the student files == SilviaRinaldi : Compiling main3.c with the student files /tmp/ccefF0ko.o: In function `main': main3.c:(.text+0x2dc): undefined reference to `get_xsml_doc' main3.c:(.text+0x31e): undefined reference to `last_token' collect2: ld returned 1 exit status Compilation with the student files [FAILED]. ========================================================== SimoneDAndreta: Unzip: [OK] ===== == SimoneDAndreta : Compiling main1.c with our files, except of xsml_iter.c == SimoneDAndreta : Compiling main2.c with our files, except of xsml_iter.c == SimoneDAndreta : Compiling main3.c with our files, except of xsml_iter.c Compilation with our files [OK] ========================================================== SimoneDuse: Unzip: [OK] ===== == SimoneDuse : Compiling main1.c with our files, except of xsml_iter.c xsml_parse_query.c: In function ‘nuovonodo’: xsml_parse_query.c:36: warning: assignment makes pointer from integer without a cast xsml_parse_query.c:52: warning: assignment makes pointer from integer without a cast xsml_parse_query.c:63: warning: assignment makes pointer from integer without a cast xsml_parse_query.c:73: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_parse_query.c: At top level: xsml_parse_query.c:91: error: conflicting types for ‘stringa1’ xsml_parse_query.c:36: error: previous implicit declaration of ‘stringa1’ was here xsml_parse_query.c: In function ‘stringa1’: xsml_parse_query.c:92: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_parse_query.c:108: warning: initialization makes pointer from integer without a cast == SimoneDuse : Compiling main2.c with our files, except of xsml_iter.c xsml_parse_query.c: In function ‘nuovonodo’: xsml_parse_query.c:36: warning: assignment makes pointer from integer without a cast xsml_parse_query.c:52: warning: assignment makes pointer from integer without a cast xsml_parse_query.c:63: warning: assignment makes pointer from integer without a cast xsml_parse_query.c:73: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_parse_query.c: At top level: xsml_parse_query.c:91: error: conflicting types for ‘stringa1’ xsml_parse_query.c:36: error: previous implicit declaration of ‘stringa1’ was here xsml_parse_query.c: In function ‘stringa1’: xsml_parse_query.c:92: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_parse_query.c:108: warning: initialization makes pointer from integer without a cast == SimoneDuse : Compiling main3.c with our files, except of xsml_iter.c xsml_parse_query.c: In function ‘nuovonodo’: xsml_parse_query.c:36: warning: assignment makes pointer from integer without a cast xsml_parse_query.c:52: warning: assignment makes pointer from integer without a cast xsml_parse_query.c:63: warning: assignment makes pointer from integer without a cast xsml_parse_query.c:73: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_parse_query.c: At top level: xsml_parse_query.c:91: error: conflicting types for ‘stringa1’ xsml_parse_query.c:36: error: previous implicit declaration of ‘stringa1’ was here xsml_parse_query.c: In function ‘stringa1’: xsml_parse_query.c:92: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_parse_query.c:108: warning: initialization makes pointer from integer without a cast Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/SimoneDuse/modulo3' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/SimoneDuse/SimoneDuse' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/SimoneDuse/modulo3' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/SimoneDuse/SimoneDuse' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/SimoneDuse/SimoneDuse' == SimoneDuse : Compiling main1.c with the student files In file included from main1.c:2: xsml_query.h:45: warning: ‘struct node’ declared inside parameter list xsml_query.h:45: warning: its scope is only this definition or declaration, which is probably not what you want main1.c: In function ‘main’: main1.c:7: error: ‘node’ undeclared (first use in this function) main1.c:7: error: (Each undeclared identifier is reported only once main1.c:7: error: for each function it appears in.) main1.c:7: error: expected ‘;’ before ‘t1’ main1.c:14: error: ‘t13’ undeclared (first use in this function) main1.c:16: error: ‘t2’ undeclared (first use in this function) main1.c:18: error: ‘t3’ undeclared (first use in this function) main1.c:22: error: ‘t4’ undeclared (first use in this function) main1.c:24: error: ‘t5’ undeclared (first use in this function) main1.c:26: error: ‘t6’ undeclared (first use in this function) main1.c:28: error: ‘t7’ undeclared (first use in this function) main1.c:30: error: ‘t8’ undeclared (first use in this function) main1.c:32: error: ‘t9’ undeclared (first use in this function) main1.c:34: error: ‘t10’ undeclared (first use in this function) main1.c:36: error: ‘t11’ undeclared (first use in this function) main1.c:38: error: ‘t12’ undeclared (first use in this function) main1.c:40: error: ‘t1’ undeclared (first use in this function) main1.c:75: error: expected ‘;’ before ‘correct’ main1.c:84: error: expected ‘;’ before ‘n’ main1.c:88: error: ‘n’ undeclared (first use in this function) main1.c:88: error: ‘correct’ undeclared (first use in this function) xsml_node.c:5: error: expected ‘)’ before ‘*’ token xsml_node.c:21: error: expected ‘)’ before ‘*’ token xsml_node.c:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘get_node_type’ xsml_node.c:43: error: expected ‘)’ before ‘parent’ xsml_node.c:50: error: expected ‘)’ before ‘n’ xsml_node.c:69: error: expected ‘)’ before ‘n’ In file included from xsml_iter.c:3: xsml_syn.h:25: warning: ‘struct node’ declared inside parameter list xsml_syn.h:25: warning: its scope is only this definition or declaration, which is probably not what you want xsml_syn.h:39: warning: ‘struct node’ declared inside parameter list xsml_syn.h:55: warning: ‘struct node’ declared inside parameter list xsml_iter.c:9: error: conflicting types for ‘attrlist_it’ xsml_syn.h:39: error: previous declaration of ‘attrlist_it’ was here xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:9: error: dereferencing pointer to incomplete type xsml_iter.c: At top level: xsml_iter.c:14: error: conflicting types for ‘nodelist_it’ xsml_syn.h:55: error: previous declaration of ‘nodelist_it’ was here xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:14: error: dereferencing pointer to incomplete type xsml_iter.c: In function ‘next_attr’: xsml_iter.c:20: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:20: error: (Each undeclared identifier is reported only once xsml_iter.c:20: error: for each function it appears in.) xsml_iter.c:20: error: expected ‘;’ before ‘a’ xsml_iter.c:21: error: ‘a’ undeclared (first use in this function) xsml_iter.c:21: error: expected ‘;’ before ‘next’ In file included from xsml_parse_query.c:5: xsml_query.h:45: warning: ‘struct node’ declared inside parameter list xsml_query.h:45: warning: its scope is only this definition or declaration, which is probably not what you want In file included from xsml_parse_query.c:7: xsml_syn.h:25: warning: ‘struct node’ declared inside parameter list xsml_syn.h:39: warning: ‘struct node’ declared inside parameter list xsml_syn.h:55: warning: ‘struct node’ declared inside parameter list xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:21: error: ‘node’ undeclared (first use in this function) xsml_parse_query.c:21: error: (Each undeclared identifier is reported only once xsml_parse_query.c:21: error: for each function it appears in.) xsml_parse_query.c:21: error: expected ‘;’ before ‘tag’ xsml_parse_query.c:22: error: ‘tag’ undeclared (first use in this function) xsml_parse_query.c: At top level: xsml_parse_query.c:33: error: expected declaration specifiers or ‘...’ before ‘node’ xsml_parse_query.c: In function ‘nuovonodo’: xsml_parse_query.c:36: warning: assignment makes pointer from integer without a cast xsml_parse_query.c:38: error: ‘tag’ undeclared (first use in this function) xsml_parse_query.c:52: warning: assignment makes pointer from integer without a cast xsml_parse_query.c:63: warning: assignment makes pointer from integer without a cast xsml_parse_query.c:73: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_parse_query.c: At top level: xsml_parse_query.c:91: error: conflicting types for ‘stringa1’ xsml_parse_query.c:36: error: previous implicit declaration of ‘stringa1’ was here xsml_parse_query.c: In function ‘stringa1’: xsml_parse_query.c:92: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_parse_query.c:108: warning: initialization makes pointer from integer without a cast In file included from xsml_query.c:3: xsml_query.h:45: warning: ‘struct node’ declared inside parameter list xsml_query.h:45: warning: its scope is only this definition or declaration, which is probably not what you want In file included from xsml_query.c:6: xsml_syn.h:25: warning: ‘struct node’ declared inside parameter list xsml_syn.h:39: warning: ‘struct node’ declared inside parameter list xsml_syn.h:55: warning: ‘struct node’ declared inside parameter list xsml_query.c:9: error: conflicting types for ‘query’ xsml_query.h:45: error: previous declaration of ‘query’ was here xsml_query.c:22: error: expected ‘)’ before ‘attr1’ xsml_query.c: In function ‘ricerca’: xsml_query.c:34: error: dereferencing pointer to incomplete type xsml_query.c:34: error: dereferencing pointer to incomplete type xsml_query.c:35: error: dereferencing pointer to incomplete type xsml_query.c:36: error: dereferencing pointer to incomplete type xsml_query.c:40: error: dereferencing pointer to incomplete type xsml_query.c:41: error: dereferencing pointer to incomplete type xsml_query.c:42: error: ‘attr’ undeclared (first use in this function) xsml_query.c:42: error: (Each undeclared identifier is reported only once xsml_query.c:42: error: for each function it appears in.) xsml_query.c:42: error: expected ‘;’ before ‘attrnodo’ xsml_query.c:44: error: ‘attrnodo’ undeclared (first use in this function) xsml_query.c:44: error: expected ‘;’ before ‘next’ xsml_query.c:45: error: ‘attrquery’ undeclared (first use in this function) xsml_query.c:45: error: expected ‘;’ before ‘next’ xsml_query.c:57: error: dereferencing pointer to incomplete type xsml_query.c:58: warning: passing argument 1 of ‘nodelist_it’ from incompatible pointer type xsml_query.c:66: error: dereferencing pointer to incomplete type xsml_query.c:66: error: dereferencing pointer to incomplete type xsml_query.c: In function ‘richiama_ricerca’: xsml_query.c:80: error: ‘struct nd’ has no member named ‘first’ xsml_query.c:81: error: dereferencing pointer to incomplete type xsml_query.c:81: error: dereferencing pointer to incomplete type xsml_query.c:82: error: dereferencing pointer to incomplete type xsml_query.c:83: warning: passing argument 1 of ‘nodelist_it’ from incompatible pointer type == SimoneDuse : Compiling main2.c with the student files In file included from main2.c:2: xsml_query.h:45: warning: ‘struct node’ declared inside parameter list xsml_query.h:45: warning: its scope is only this definition or declaration, which is probably not what you want main2.c: In function ‘main’: main2.c:7: error: ‘node’ undeclared (first use in this function) main2.c:7: error: (Each undeclared identifier is reported only once main2.c:7: error: for each function it appears in.) main2.c:7: error: expected ‘;’ before ‘t1’ main2.c:14: error: ‘t13’ undeclared (first use in this function) main2.c:16: error: ‘t2’ undeclared (first use in this function) main2.c:18: error: ‘t3’ undeclared (first use in this function) main2.c:22: error: ‘t4’ undeclared (first use in this function) main2.c:24: error: ‘t5’ undeclared (first use in this function) main2.c:26: error: ‘t6’ undeclared (first use in this function) main2.c:28: error: ‘t7’ undeclared (first use in this function) main2.c:30: error: ‘t8’ undeclared (first use in this function) main2.c:32: error: ‘t9’ undeclared (first use in this function) main2.c:34: error: ‘t10’ undeclared (first use in this function) main2.c:36: error: ‘t11’ undeclared (first use in this function) main2.c:38: error: ‘t12’ undeclared (first use in this function) main2.c:40: error: ‘t1’ undeclared (first use in this function) main2.c:75: error: expected ‘;’ before ‘correct’ main2.c:84: error: expected ‘;’ before ‘n’ main2.c:88: error: ‘n’ undeclared (first use in this function) main2.c:88: error: ‘correct’ undeclared (first use in this function) xsml_node.c:5: error: expected ‘)’ before ‘*’ token xsml_node.c:21: error: expected ‘)’ before ‘*’ token xsml_node.c:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘get_node_type’ xsml_node.c:43: error: expected ‘)’ before ‘parent’ xsml_node.c:50: error: expected ‘)’ before ‘n’ xsml_node.c:69: error: expected ‘)’ before ‘n’ In file included from xsml_iter.c:3: xsml_syn.h:25: warning: ‘struct node’ declared inside parameter list xsml_syn.h:25: warning: its scope is only this definition or declaration, which is probably not what you want xsml_syn.h:39: warning: ‘struct node’ declared inside parameter list xsml_syn.h:55: warning: ‘struct node’ declared inside parameter list xsml_iter.c:9: error: conflicting types for ‘attrlist_it’ xsml_syn.h:39: error: previous declaration of ‘attrlist_it’ was here xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:9: error: dereferencing pointer to incomplete type xsml_iter.c: At top level: xsml_iter.c:14: error: conflicting types for ‘nodelist_it’ xsml_syn.h:55: error: previous declaration of ‘nodelist_it’ was here xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:14: error: dereferencing pointer to incomplete type xsml_iter.c: In function ‘next_attr’: xsml_iter.c:20: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:20: error: (Each undeclared identifier is reported only once xsml_iter.c:20: error: for each function it appears in.) xsml_iter.c:20: error: expected ‘;’ before ‘a’ xsml_iter.c:21: error: ‘a’ undeclared (first use in this function) xsml_iter.c:21: error: expected ‘;’ before ‘next’ In file included from xsml_parse_query.c:5: xsml_query.h:45: warning: ‘struct node’ declared inside parameter list xsml_query.h:45: warning: its scope is only this definition or declaration, which is probably not what you want In file included from xsml_parse_query.c:7: xsml_syn.h:25: warning: ‘struct node’ declared inside parameter list xsml_syn.h:39: warning: ‘struct node’ declared inside parameter list xsml_syn.h:55: warning: ‘struct node’ declared inside parameter list xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:21: error: ‘node’ undeclared (first use in this function) xsml_parse_query.c:21: error: (Each undeclared identifier is reported only once xsml_parse_query.c:21: error: for each function it appears in.) xsml_parse_query.c:21: error: expected ‘;’ before ‘tag’ xsml_parse_query.c:22: error: ‘tag’ undeclared (first use in this function) xsml_parse_query.c: At top level: xsml_parse_query.c:33: error: expected declaration specifiers or ‘...’ before ‘node’ xsml_parse_query.c: In function ‘nuovonodo’: xsml_parse_query.c:36: warning: assignment makes pointer from integer without a cast xsml_parse_query.c:38: error: ‘tag’ undeclared (first use in this function) xsml_parse_query.c:52: warning: assignment makes pointer from integer without a cast xsml_parse_query.c:63: warning: assignment makes pointer from integer without a cast xsml_parse_query.c:73: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_parse_query.c: At top level: xsml_parse_query.c:91: error: conflicting types for ‘stringa1’ xsml_parse_query.c:36: error: previous implicit declaration of ‘stringa1’ was here xsml_parse_query.c: In function ‘stringa1’: xsml_parse_query.c:92: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_parse_query.c:108: warning: initialization makes pointer from integer without a cast In file included from xsml_query.c:3: xsml_query.h:45: warning: ‘struct node’ declared inside parameter list xsml_query.h:45: warning: its scope is only this definition or declaration, which is probably not what you want In file included from xsml_query.c:6: xsml_syn.h:25: warning: ‘struct node’ declared inside parameter list xsml_syn.h:39: warning: ‘struct node’ declared inside parameter list xsml_syn.h:55: warning: ‘struct node’ declared inside parameter list xsml_query.c:9: error: conflicting types for ‘query’ xsml_query.h:45: error: previous declaration of ‘query’ was here xsml_query.c:22: error: expected ‘)’ before ‘attr1’ xsml_query.c: In function ‘ricerca’: xsml_query.c:34: error: dereferencing pointer to incomplete type xsml_query.c:34: error: dereferencing pointer to incomplete type xsml_query.c:35: error: dereferencing pointer to incomplete type xsml_query.c:36: error: dereferencing pointer to incomplete type xsml_query.c:40: error: dereferencing pointer to incomplete type xsml_query.c:41: error: dereferencing pointer to incomplete type xsml_query.c:42: error: ‘attr’ undeclared (first use in this function) xsml_query.c:42: error: (Each undeclared identifier is reported only once xsml_query.c:42: error: for each function it appears in.) xsml_query.c:42: error: expected ‘;’ before ‘attrnodo’ xsml_query.c:44: error: ‘attrnodo’ undeclared (first use in this function) xsml_query.c:44: error: expected ‘;’ before ‘next’ xsml_query.c:45: error: ‘attrquery’ undeclared (first use in this function) xsml_query.c:45: error: expected ‘;’ before ‘next’ xsml_query.c:57: error: dereferencing pointer to incomplete type xsml_query.c:58: warning: passing argument 1 of ‘nodelist_it’ from incompatible pointer type xsml_query.c:66: error: dereferencing pointer to incomplete type xsml_query.c:66: error: dereferencing pointer to incomplete type xsml_query.c: In function ‘richiama_ricerca’: xsml_query.c:80: error: ‘struct nd’ has no member named ‘first’ xsml_query.c:81: error: dereferencing pointer to incomplete type xsml_query.c:81: error: dereferencing pointer to incomplete type xsml_query.c:82: error: dereferencing pointer to incomplete type xsml_query.c:83: warning: passing argument 1 of ‘nodelist_it’ from incompatible pointer type == SimoneDuse : Compiling main3.c with the student files In file included from main3.c:7: xsml_syn.h:25: warning: ‘struct node’ declared inside parameter list xsml_syn.h:25: warning: its scope is only this definition or declaration, which is probably not what you want xsml_syn.h:39: warning: ‘struct node’ declared inside parameter list xsml_syn.h:55: warning: ‘struct node’ declared inside parameter list main3.c: In function ‘stampa_open_tag’: main3.c:41: error: dereferencing pointer to incomplete type main3.c:42: warning: passing argument 1 of ‘attrlist_it’ from incompatible pointer type main3.c: In function ‘stampa_content’: main3.c:63: warning: passing argument 1 of ‘nodelist_it’ from incompatible pointer type main3.c: In function ‘stampa_albero’: main3.c:76: error: dereferencing pointer to incomplete type main3.c:76: error: ‘TEXT_NODE’ undeclared (first use in this function) main3.c:76: error: (Each undeclared identifier is reported only once main3.c:76: error: for each function it appears in.) main3.c:77: error: dereferencing pointer to incomplete type main3.c:78: error: dereferencing pointer to incomplete type main3.c:78: error: ‘TAG_NODE’ undeclared (first use in this function) main3.c:81: error: dereferencing pointer to incomplete type main3.c: In function ‘main’: main3.c:109: warning: passing argument 2 of ‘get_xsml_doc’ from incompatible pointer type xsml_node.c:5: error: expected ‘)’ before ‘*’ token xsml_node.c:21: error: expected ‘)’ before ‘*’ token xsml_node.c:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘get_node_type’ xsml_node.c:43: error: expected ‘)’ before ‘parent’ xsml_node.c:50: error: expected ‘)’ before ‘n’ xsml_node.c:69: error: expected ‘)’ before ‘n’ In file included from xsml_iter.c:3: xsml_syn.h:25: warning: ‘struct node’ declared inside parameter list xsml_syn.h:25: warning: its scope is only this definition or declaration, which is probably not what you want xsml_syn.h:39: warning: ‘struct node’ declared inside parameter list xsml_syn.h:55: warning: ‘struct node’ declared inside parameter list xsml_iter.c:9: error: conflicting types for ‘attrlist_it’ xsml_syn.h:39: error: previous declaration of ‘attrlist_it’ was here xsml_iter.c: In function ‘attrlist_it’: xsml_iter.c:9: error: dereferencing pointer to incomplete type xsml_iter.c: At top level: xsml_iter.c:14: error: conflicting types for ‘nodelist_it’ xsml_syn.h:55: error: previous declaration of ‘nodelist_it’ was here xsml_iter.c: In function ‘nodelist_it’: xsml_iter.c:14: error: dereferencing pointer to incomplete type xsml_iter.c: In function ‘next_attr’: xsml_iter.c:20: error: ‘attr’ undeclared (first use in this function) xsml_iter.c:20: error: (Each undeclared identifier is reported only once xsml_iter.c:20: error: for each function it appears in.) xsml_iter.c:20: error: expected ‘;’ before ‘a’ xsml_iter.c:21: error: ‘a’ undeclared (first use in this function) xsml_iter.c:21: error: expected ‘;’ before ‘next’ In file included from xsml_parse_query.c:5: xsml_query.h:45: warning: ‘struct node’ declared inside parameter list xsml_query.h:45: warning: its scope is only this definition or declaration, which is probably not what you want In file included from xsml_parse_query.c:7: xsml_syn.h:25: warning: ‘struct node’ declared inside parameter list xsml_syn.h:39: warning: ‘struct node’ declared inside parameter list xsml_syn.h:55: warning: ‘struct node’ declared inside parameter list xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:21: error: ‘node’ undeclared (first use in this function) xsml_parse_query.c:21: error: (Each undeclared identifier is reported only once xsml_parse_query.c:21: error: for each function it appears in.) xsml_parse_query.c:21: error: expected ‘;’ before ‘tag’ xsml_parse_query.c:22: error: ‘tag’ undeclared (first use in this function) xsml_parse_query.c: At top level: xsml_parse_query.c:33: error: expected declaration specifiers or ‘...’ before ‘node’ xsml_parse_query.c: In function ‘nuovonodo’: xsml_parse_query.c:36: warning: assignment makes pointer from integer without a cast xsml_parse_query.c:38: error: ‘tag’ undeclared (first use in this function) xsml_parse_query.c:52: warning: assignment makes pointer from integer without a cast xsml_parse_query.c:63: warning: assignment makes pointer from integer without a cast xsml_parse_query.c:73: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_parse_query.c: At top level: xsml_parse_query.c:91: error: conflicting types for ‘stringa1’ xsml_parse_query.c:36: error: previous implicit declaration of ‘stringa1’ was here xsml_parse_query.c: In function ‘stringa1’: xsml_parse_query.c:92: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_parse_query.c:108: warning: initialization makes pointer from integer without a cast In file included from xsml_query.c:3: xsml_query.h:45: warning: ‘struct node’ declared inside parameter list xsml_query.h:45: warning: its scope is only this definition or declaration, which is probably not what you want In file included from xsml_query.c:6: xsml_syn.h:25: warning: ‘struct node’ declared inside parameter list xsml_syn.h:39: warning: ‘struct node’ declared inside parameter list xsml_syn.h:55: warning: ‘struct node’ declared inside parameter list xsml_query.c:9: error: conflicting types for ‘query’ xsml_query.h:45: error: previous declaration of ‘query’ was here xsml_query.c:22: error: expected ‘)’ before ‘attr1’ xsml_query.c: In function ‘ricerca’: xsml_query.c:34: error: dereferencing pointer to incomplete type xsml_query.c:34: error: dereferencing pointer to incomplete type xsml_query.c:35: error: dereferencing pointer to incomplete type xsml_query.c:36: error: dereferencing pointer to incomplete type xsml_query.c:40: error: dereferencing pointer to incomplete type xsml_query.c:41: error: dereferencing pointer to incomplete type xsml_query.c:42: error: ‘attr’ undeclared (first use in this function) xsml_query.c:42: error: (Each undeclared identifier is reported only once xsml_query.c:42: error: for each function it appears in.) xsml_query.c:42: error: expected ‘;’ before ‘attrnodo’ xsml_query.c:44: error: ‘attrnodo’ undeclared (first use in this function) xsml_query.c:44: error: expected ‘;’ before ‘next’ xsml_query.c:45: error: ‘attrquery’ undeclared (first use in this function) xsml_query.c:45: error: expected ‘;’ before ‘next’ xsml_query.c:57: error: dereferencing pointer to incomplete type xsml_query.c:58: warning: passing argument 1 of ‘nodelist_it’ from incompatible pointer type xsml_query.c:66: error: dereferencing pointer to incomplete type xsml_query.c:66: error: dereferencing pointer to incomplete type xsml_query.c: In function ‘richiama_ricerca’: xsml_query.c:80: error: ‘struct nd’ has no member named ‘first’ xsml_query.c:81: error: dereferencing pointer to incomplete type xsml_query.c:81: error: dereferencing pointer to incomplete type xsml_query.c:82: error: dereferencing pointer to incomplete type xsml_query.c:83: warning: passing argument 1 of ‘nodelist_it’ from incompatible pointer type Compilation with the student files [FAILED]. ========================================================== SimoneMori: Unzip: [OK] ===== == SimoneMori : Compiling main1.c with our files, except of xsml_iter.c == SimoneMori : Compiling main2.c with our files, except of xsml_iter.c == SimoneMori : Compiling main3.c with our files, except of xsml_iter.c Compilation with our files [OK] ========================================================== SimoneStraccia: Unzip: [OK] ===== == SimoneStraccia : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:20: error: ‘attributo’ undeclared (first use in this function) xsml_iter.c:20: error: (Each undeclared identifier is reported only once xsml_iter.c:20: error: for each function it appears in.) xsml_iter.c:20: error: ‘nuw’ undeclared (first use in this function) xsml_iter.c:21: error: expected expression before ‘)’ token xsml_iter.c:22: warning: incompatible implicit declaration of built-in function ‘malloc’ == SimoneStraccia : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:20: error: ‘attributo’ undeclared (first use in this function) xsml_iter.c:20: error: (Each undeclared identifier is reported only once xsml_iter.c:20: error: for each function it appears in.) xsml_iter.c:20: error: ‘nuw’ undeclared (first use in this function) xsml_iter.c:21: error: expected expression before ‘)’ token xsml_iter.c:22: warning: incompatible implicit declaration of built-in function ‘malloc’ == SimoneStraccia : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:20: error: ‘attributo’ undeclared (first use in this function) xsml_iter.c:20: error: (Each undeclared identifier is reported only once xsml_iter.c:20: error: for each function it appears in.) xsml_iter.c:20: error: ‘nuw’ undeclared (first use in this function) xsml_iter.c:21: error: expected expression before ‘)’ token xsml_iter.c:22: warning: incompatible implicit declaration of built-in function ‘malloc’ Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/SimoneStraccia/SimoneStraccia' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/SimoneStraccia/SimoneStraccia' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/SimoneStraccia/SimoneStraccia' == SimoneStraccia : Compiling main1.c with the student files == SimoneStraccia : Compiling main2.c with the student files == SimoneStraccia : Compiling main3.c with the student files /tmp/ccIvtWsm.o: In function `main': main3.c:(.text+0x2dc): undefined reference to `get_xsml_doc' main3.c:(.text+0x31e): undefined reference to `last_token' collect2: ld returned 1 exit status Compilation with the student files [FAILED]. ========================================================== StefanoCaruso: Unzip: [OK] ===== == StefanoCaruso : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:26: error: ‘NULL’ undeclared (first use in this function) xsml_iter.c:26: error: (Each undeclared identifier is reported only once xsml_iter.c:26: error: for each function it appears in.) xsml_iter.c:30: error: ‘struct iterator’ has no member named ‘punt’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:59: error: ‘NULL’ undeclared (first use in this function) xsml_parse_query.c:21: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_parse_query.c:42: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_parse_query.c:42: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_parse_query.c:42: warning: ‘struct node’ declared inside parameter list xsml_parse_query.c:42: warning: its scope is only this definition or declaration, which is probably not what you want xsml_query.c:21: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_query.c:42: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_query.c:42: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_query.c:42: warning: ‘struct node’ declared inside parameter list xsml_query.c:42: warning: its scope is only this definition or declaration, which is probably not what you want == StefanoCaruso : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:26: error: ‘NULL’ undeclared (first use in this function) xsml_iter.c:26: error: (Each undeclared identifier is reported only once xsml_iter.c:26: error: for each function it appears in.) xsml_iter.c:30: error: ‘struct iterator’ has no member named ‘punt’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:59: error: ‘NULL’ undeclared (first use in this function) xsml_parse_query.c:21: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_parse_query.c:42: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_parse_query.c:42: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_parse_query.c:42: warning: ‘struct node’ declared inside parameter list xsml_parse_query.c:42: warning: its scope is only this definition or declaration, which is probably not what you want xsml_query.c:21: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_query.c:42: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_query.c:42: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_query.c:42: warning: ‘struct node’ declared inside parameter list xsml_query.c:42: warning: its scope is only this definition or declaration, which is probably not what you want == StefanoCaruso : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:26: error: ‘NULL’ undeclared (first use in this function) xsml_iter.c:26: error: (Each undeclared identifier is reported only once xsml_iter.c:26: error: for each function it appears in.) xsml_iter.c:30: error: ‘struct iterator’ has no member named ‘punt’ xsml_iter.c: In function ‘next_node’: xsml_iter.c:59: error: ‘NULL’ undeclared (first use in this function) xsml_parse_query.c:21: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_parse_query.c:42: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_parse_query.c:42: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_parse_query.c:42: warning: ‘struct node’ declared inside parameter list xsml_parse_query.c:42: warning: its scope is only this definition or declaration, which is probably not what you want xsml_query.c:21: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_query.c:42: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_query.c:42: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_query.c:42: warning: ‘struct node’ declared inside parameter list xsml_query.c:42: warning: its scope is only this definition or declaration, which is probably not what you want Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/StefanoCaruso/StefanoCaruso' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/StefanoCaruso/StefanoCaruso' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/StefanoCaruso/StefanoCaruso' == StefanoCaruso : Compiling main1.c with the student files xsml_node.c: In function ‘new_tag_node’: xsml_node.c:8: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_node.c:15: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_node.c:17: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c: In function ‘new_text_node’: xsml_node.c:26: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_node.c:33: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_node.c:35: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c: In function ‘get_attributo’: xsml_node.c:70: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_node.c:70: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_node.c:72: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c: In function ‘set_attributo’: xsml_node.c:93: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_node.c:93: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_node.c:95: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c:100: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_node.c:102: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_node.c:102: warning: assignment from incompatible pointer type xsml_node.c:104: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c:104: warning: passing argument 1 of ‘strcpy’ from incompatible pointer type xsml_list.c: In function ‘add_first’: xsml_list.c:17: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_last’: xsml_list.c:31: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_list.c: In function ‘get_iterator’: xsml_list.c:69: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:30: warning: return from incompatible pointer type xsml_parse_query.c:21: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_parse_query.c:42: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_parse_query.c:42: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_parse_query.c:42: warning: ‘struct node’ declared inside parameter list xsml_parse_query.c:42: warning: its scope is only this definition or declaration, which is probably not what you want xsml_query.c:21: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_query.c:42: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_query.c:42: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_query.c:42: warning: ‘struct node’ declared inside parameter list xsml_query.c:42: warning: its scope is only this definition or declaration, which is probably not what you want == StefanoCaruso : Compiling main2.c with the student files xsml_node.c: In function ‘new_tag_node’: xsml_node.c:8: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_node.c:15: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_node.c:17: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c: In function ‘new_text_node’: xsml_node.c:26: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_node.c:33: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_node.c:35: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c: In function ‘get_attributo’: xsml_node.c:70: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_node.c:70: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_node.c:72: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c: In function ‘set_attributo’: xsml_node.c:93: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_node.c:93: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_node.c:95: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c:100: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_node.c:102: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_node.c:102: warning: assignment from incompatible pointer type xsml_node.c:104: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c:104: warning: passing argument 1 of ‘strcpy’ from incompatible pointer type xsml_list.c: In function ‘add_first’: xsml_list.c:17: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_last’: xsml_list.c:31: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_list.c: In function ‘get_iterator’: xsml_list.c:69: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:30: warning: return from incompatible pointer type xsml_parse_query.c:21: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_parse_query.c:42: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_parse_query.c:42: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_parse_query.c:42: warning: ‘struct node’ declared inside parameter list xsml_parse_query.c:42: warning: its scope is only this definition or declaration, which is probably not what you want xsml_query.c:21: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_query.c:42: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_query.c:42: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_query.c:42: warning: ‘struct node’ declared inside parameter list xsml_query.c:42: warning: its scope is only this definition or declaration, which is probably not what you want == StefanoCaruso : Compiling main3.c with the student files xsml_node.c: In function ‘new_tag_node’: xsml_node.c:8: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_node.c:15: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_node.c:17: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c: In function ‘new_text_node’: xsml_node.c:26: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_node.c:33: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_node.c:35: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c: In function ‘get_attributo’: xsml_node.c:70: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_node.c:70: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_node.c:72: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c: In function ‘set_attributo’: xsml_node.c:93: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_node.c:93: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_node.c:95: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c:100: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_node.c:102: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_node.c:102: warning: assignment from incompatible pointer type xsml_node.c:104: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_node.c:104: warning: passing argument 1 of ‘strcpy’ from incompatible pointer type xsml_list.c: In function ‘add_first’: xsml_list.c:17: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_list.c: In function ‘add_last’: xsml_list.c:31: warning: incompatible implicit declaration of built-in function ‘calloc’ xsml_list.c: In function ‘get_iterator’: xsml_list.c:69: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_iter.c: In function ‘next_attr’: xsml_iter.c:30: warning: return from incompatible pointer type xsml_parse_query.c:21: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_parse_query.c:42: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_parse_query.c:42: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_parse_query.c:42: warning: ‘struct node’ declared inside parameter list xsml_parse_query.c:42: warning: its scope is only this definition or declaration, which is probably not what you want xsml_query.c:21: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_query.c:42: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_query.c:42: error: expected declaration specifiers or ‘...’ before ‘list’ xsml_query.c:42: warning: ‘struct node’ declared inside parameter list xsml_query.c:42: warning: its scope is only this definition or declaration, which is probably not what you want Compilation with the student files [FAILED]. ========================================================== TizianoFlati: Unzip: [OK] ===== == TizianoFlati : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:11: error: ‘coppie’ undeclared (first use in this function) xsml_iter.c:11: error: (Each undeclared identifier is reported only once xsml_iter.c:11: error: for each function it appears in.) xsml_iter.c:11: error: expected expression before ‘)’ token xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:27: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:28: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c: In function ‘prendi_parentesi_quadre’: xsml_parse_query.c:89: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c:89: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:91: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_query.c: In function ‘satisfying_node’: xsml_query.c:298: error: ‘coppie’ undeclared (first use in this function) xsml_query.c:298: error: (Each undeclared identifier is reported only once xsml_query.c:298: error: for each function it appears in.) xsml_query.c:298: error: ‘qptr’ undeclared (first use in this function) xsml_query.c:303: error: expected expression before ‘)’ token == TizianoFlati : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:11: error: ‘coppie’ undeclared (first use in this function) xsml_iter.c:11: error: (Each undeclared identifier is reported only once xsml_iter.c:11: error: for each function it appears in.) xsml_iter.c:11: error: expected expression before ‘)’ token xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:27: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:28: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c: In function ‘prendi_parentesi_quadre’: xsml_parse_query.c:89: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c:89: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:91: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_query.c: In function ‘satisfying_node’: xsml_query.c:298: error: ‘coppie’ undeclared (first use in this function) xsml_query.c:298: error: (Each undeclared identifier is reported only once xsml_query.c:298: error: for each function it appears in.) xsml_query.c:298: error: ‘qptr’ undeclared (first use in this function) xsml_query.c:303: error: expected expression before ‘)’ token == TizianoFlati : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:11: error: ‘coppie’ undeclared (first use in this function) xsml_iter.c:11: error: (Each undeclared identifier is reported only once xsml_iter.c:11: error: for each function it appears in.) xsml_iter.c:11: error: expected expression before ‘)’ token xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:27: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:28: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c: In function ‘prendi_parentesi_quadre’: xsml_parse_query.c:89: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c:89: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:91: warning: incompatible implicit declaration of built-in function ‘strcpy’ xsml_query.c: In function ‘satisfying_node’: xsml_query.c:298: error: ‘coppie’ undeclared (first use in this function) xsml_query.c:298: error: (Each undeclared identifier is reported only once xsml_query.c:298: error: for each function it appears in.) xsml_query.c:298: error: ‘qptr’ undeclared (first use in this function) xsml_query.c:303: error: expected expression before ‘)’ token Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/TizianoFlati/TizianoFlati' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/TizianoFlati/TizianoFlati' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/TizianoFlati/TizianoFlati' == TizianoFlati : Compiling main1.c with the student files xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:27: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:28: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c: In function ‘prendi_parentesi_quadre’: xsml_parse_query.c:89: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c:89: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:91: warning: incompatible implicit declaration of built-in function ‘strcpy’ /tmp/ccRFR19U.o: In function `parse_query': xsml_query.c:(.text+0x0): multiple definition of `parse_query' /tmp/ccIPmbgF.o:xsml_parse_query.c:(.text+0x0): first defined here /tmp/ccRFR19U.o: In function `get_word': xsml_query.c:(.text+0x1d2): multiple definition of `get_word' /tmp/ccIPmbgF.o:xsml_parse_query.c:(.text+0x1d2): first defined here /usr/bin/ld: Warning: size of symbol `get_word' changed from 505 in /tmp/ccIPmbgF.o to 563 in /tmp/ccRFR19U.o /tmp/ccRFR19U.o: In function `prendi_parentesi_quadre': xsml_query.c:(.text+0x405): multiple definition of `prendi_parentesi_quadre' /tmp/ccIPmbgF.o:xsml_parse_query.c:(.text+0x3cb): first defined here /usr/bin/ld: Warning: size of symbol `prendi_parentesi_quadre' changed from 1055 in /tmp/ccIPmbgF.o to 1100 in /tmp/ccRFR19U.o collect2: ld returned 1 exit status == TizianoFlati : Compiling main2.c with the student files xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:27: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:28: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c: In function ‘prendi_parentesi_quadre’: xsml_parse_query.c:89: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c:89: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:91: warning: incompatible implicit declaration of built-in function ‘strcpy’ /tmp/ccuUGMy6.o: In function `parse_query': xsml_query.c:(.text+0x0): multiple definition of `parse_query' /tmp/ccMJ443d.o:xsml_parse_query.c:(.text+0x0): first defined here /tmp/ccuUGMy6.o: In function `get_word': xsml_query.c:(.text+0x1d2): multiple definition of `get_word' /tmp/ccMJ443d.o:xsml_parse_query.c:(.text+0x1d2): first defined here /usr/bin/ld: Warning: size of symbol `get_word' changed from 505 in /tmp/ccMJ443d.o to 563 in /tmp/ccuUGMy6.o /tmp/ccuUGMy6.o: In function `prendi_parentesi_quadre': xsml_query.c:(.text+0x405): multiple definition of `prendi_parentesi_quadre' /tmp/ccMJ443d.o:xsml_parse_query.c:(.text+0x3cb): first defined here /usr/bin/ld: Warning: size of symbol `prendi_parentesi_quadre' changed from 1055 in /tmp/ccMJ443d.o to 1100 in /tmp/ccuUGMy6.o collect2: ld returned 1 exit status == TizianoFlati : Compiling main3.c with the student files xsml_parse_query.c: In function ‘parse_query’: xsml_parse_query.c:27: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:28: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c: In function ‘prendi_parentesi_quadre’: xsml_parse_query.c:89: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_parse_query.c:89: warning: incompatible implicit declaration of built-in function ‘strlen’ xsml_parse_query.c:91: warning: incompatible implicit declaration of built-in function ‘strcpy’ /tmp/ccmfSV5v.o: In function `parse_query': xsml_query.c:(.text+0x0): multiple definition of `parse_query' /tmp/ccC6SL3n.o:xsml_parse_query.c:(.text+0x0): first defined here /tmp/ccmfSV5v.o: In function `get_word': xsml_query.c:(.text+0x1d2): multiple definition of `get_word' /tmp/ccC6SL3n.o:xsml_parse_query.c:(.text+0x1d2): first defined here /usr/bin/ld: Warning: size of symbol `get_word' changed from 505 in /tmp/ccC6SL3n.o to 563 in /tmp/ccmfSV5v.o /tmp/ccmfSV5v.o: In function `prendi_parentesi_quadre': xsml_query.c:(.text+0x405): multiple definition of `prendi_parentesi_quadre' /tmp/ccC6SL3n.o:xsml_parse_query.c:(.text+0x3cb): first defined here /usr/bin/ld: Warning: size of symbol `prendi_parentesi_quadre' changed from 1055 in /tmp/ccC6SL3n.o to 1100 in /tmp/ccmfSV5v.o /tmp/cckA2v37.o: In function `main': main3.c:(.text+0x2dc): undefined reference to `get_xsml_doc' main3.c:(.text+0x31e): undefined reference to `last_token' collect2: ld returned 1 exit status Compilation with the student files [FAILED]. ========================================================== ValerioMassimi: Unzip: [OK] ===== == ValerioMassimi : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c:1:23: error: xsml_iter.h: No such file or directory xsml_iter.c:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attrlist_it’ xsml_iter.c:13: error: expected ‘)’ before ‘i’ xsml_iter.c:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nodelist_it’ xsml_iter.c:29: error: expected ‘)’ before ‘i’ xsml_parse_query.c:7:23: error: xsml_iter.h: No such file or directory xsml_query.c:7:23: error: xsml_iter.h: No such file or directory == ValerioMassimi : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c:1:23: error: xsml_iter.h: No such file or directory xsml_iter.c:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attrlist_it’ xsml_iter.c:13: error: expected ‘)’ before ‘i’ xsml_iter.c:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nodelist_it’ xsml_iter.c:29: error: expected ‘)’ before ‘i’ xsml_parse_query.c:7:23: error: xsml_iter.h: No such file or directory xsml_query.c:7:23: error: xsml_iter.h: No such file or directory == ValerioMassimi : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c:1:23: error: xsml_iter.h: No such file or directory xsml_iter.c:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attrlist_it’ xsml_iter.c:13: error: expected ‘)’ before ‘i’ xsml_iter.c:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nodelist_it’ xsml_iter.c:29: error: expected ‘)’ before ‘i’ xsml_parse_query.c:7:23: error: xsml_iter.h: No such file or directory xsml_query.c:7:23: error: xsml_iter.h: No such file or directory Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/ValerioMassimi/ValerioMassimi' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/ValerioMassimi/ValerioMassimi' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/ValerioMassimi/ValerioMassimi' == ValerioMassimi : Compiling main1.c with the student files In file included from xsml_node.h:2, from xsml_query.h:5, from main1.c:2: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here xsml_iter.c:1:23: error: xsml_iter.h: No such file or directory xsml_iter.c:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attrlist_it’ xsml_iter.c:13: error: expected ‘)’ before ‘i’ xsml_iter.c:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nodelist_it’ xsml_iter.c:29: error: expected ‘)’ before ‘i’ In file included from xsml_query.h:4, from xsml_parse_query.c:6: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:2, from xsml_query.h:5, from xsml_parse_query.c:6: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_parse_query.c:6: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct attributo’ xsml_node.h:19: error: redefinition of typedef ‘attr’ xsml_node.h:19: error: previous declaration of ‘attr’ was here xsml_node.h:21: error: redefinition of ‘struct node’ xsml_node.h:32: error: redefinition of typedef ‘node’ xsml_node.h:32: error: previous declaration of ‘node’ was here xsml_node.h:44: error: conflicting types for ‘get_node_type’ xsml_node.h:44: error: previous declaration of ‘get_node_type’ was here xsml_parse_query.c:7:23: error: xsml_iter.h: No such file or directory In file included from xsml_node.h:2, from xsml_syn.h:6, from xsml_query.c:5: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:2, from xsml_query.c:6: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.c:6: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct attributo’ xsml_node.h:19: error: redefinition of typedef ‘attr’ xsml_node.h:19: error: previous declaration of ‘attr’ was here xsml_node.h:21: error: redefinition of ‘struct node’ xsml_node.h:32: error: redefinition of typedef ‘node’ xsml_node.h:32: error: previous declaration of ‘node’ was here xsml_node.h:44: error: conflicting types for ‘get_node_type’ xsml_node.h:44: error: previous declaration of ‘get_node_type’ was here xsml_query.c:7:23: error: xsml_iter.h: No such file or directory In file included from xsml_query.h:4, from xsml_query.c:8: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:2, from xsml_query.h:5, from xsml_query.c:8: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_query.c:8: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct attributo’ xsml_node.h:19: error: redefinition of typedef ‘attr’ xsml_node.h:19: error: previous declaration of ‘attr’ was here xsml_node.h:21: error: redefinition of ‘struct node’ xsml_node.h:32: error: redefinition of typedef ‘node’ xsml_node.h:32: error: previous declaration of ‘node’ was here xsml_node.h:44: error: conflicting types for ‘get_node_type’ xsml_node.h:44: error: previous declaration of ‘get_node_type’ was here == ValerioMassimi : Compiling main2.c with the student files In file included from xsml_node.h:2, from xsml_query.h:5, from main2.c:2: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here xsml_iter.c:1:23: error: xsml_iter.h: No such file or directory xsml_iter.c:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attrlist_it’ xsml_iter.c:13: error: expected ‘)’ before ‘i’ xsml_iter.c:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nodelist_it’ xsml_iter.c:29: error: expected ‘)’ before ‘i’ In file included from xsml_query.h:4, from xsml_parse_query.c:6: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:2, from xsml_query.h:5, from xsml_parse_query.c:6: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_parse_query.c:6: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct attributo’ xsml_node.h:19: error: redefinition of typedef ‘attr’ xsml_node.h:19: error: previous declaration of ‘attr’ was here xsml_node.h:21: error: redefinition of ‘struct node’ xsml_node.h:32: error: redefinition of typedef ‘node’ xsml_node.h:32: error: previous declaration of ‘node’ was here xsml_node.h:44: error: conflicting types for ‘get_node_type’ xsml_node.h:44: error: previous declaration of ‘get_node_type’ was here xsml_parse_query.c:7:23: error: xsml_iter.h: No such file or directory In file included from xsml_node.h:2, from xsml_syn.h:6, from xsml_query.c:5: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:2, from xsml_query.c:6: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.c:6: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct attributo’ xsml_node.h:19: error: redefinition of typedef ‘attr’ xsml_node.h:19: error: previous declaration of ‘attr’ was here xsml_node.h:21: error: redefinition of ‘struct node’ xsml_node.h:32: error: redefinition of typedef ‘node’ xsml_node.h:32: error: previous declaration of ‘node’ was here xsml_node.h:44: error: conflicting types for ‘get_node_type’ xsml_node.h:44: error: previous declaration of ‘get_node_type’ was here xsml_query.c:7:23: error: xsml_iter.h: No such file or directory In file included from xsml_query.h:4, from xsml_query.c:8: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:2, from xsml_query.h:5, from xsml_query.c:8: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_query.c:8: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct attributo’ xsml_node.h:19: error: redefinition of typedef ‘attr’ xsml_node.h:19: error: previous declaration of ‘attr’ was here xsml_node.h:21: error: redefinition of ‘struct node’ xsml_node.h:32: error: redefinition of typedef ‘node’ xsml_node.h:32: error: previous declaration of ‘node’ was here xsml_node.h:44: error: conflicting types for ‘get_node_type’ xsml_node.h:44: error: previous declaration of ‘get_node_type’ was here == ValerioMassimi : Compiling main3.c with the student files In file included from xsml_node.h:2, from main3.c:6: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:5, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:2, from xsml_syn.h:6, from main3.c:7: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_syn.h:6, from main3.c:7: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct attributo’ xsml_node.h:19: error: redefinition of typedef ‘attr’ xsml_node.h:19: error: previous declaration of ‘attr’ was here xsml_node.h:21: error: redefinition of ‘struct node’ xsml_node.h:32: error: redefinition of typedef ‘node’ xsml_node.h:32: error: previous declaration of ‘node’ was here xsml_node.h:44: error: conflicting types for ‘get_node_type’ xsml_node.h:44: error: previous declaration of ‘get_node_type’ was here xsml_iter.c:1:23: error: xsml_iter.h: No such file or directory xsml_iter.c:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attrlist_it’ xsml_iter.c:13: error: expected ‘)’ before ‘i’ xsml_iter.c:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nodelist_it’ xsml_iter.c:29: error: expected ‘)’ before ‘i’ In file included from xsml_query.h:4, from xsml_parse_query.c:6: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:2, from xsml_query.h:5, from xsml_parse_query.c:6: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_parse_query.c:6: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct attributo’ xsml_node.h:19: error: redefinition of typedef ‘attr’ xsml_node.h:19: error: previous declaration of ‘attr’ was here xsml_node.h:21: error: redefinition of ‘struct node’ xsml_node.h:32: error: redefinition of typedef ‘node’ xsml_node.h:32: error: previous declaration of ‘node’ was here xsml_node.h:44: error: conflicting types for ‘get_node_type’ xsml_node.h:44: error: previous declaration of ‘get_node_type’ was here xsml_parse_query.c:7:23: error: xsml_iter.h: No such file or directory In file included from xsml_node.h:2, from xsml_syn.h:6, from xsml_query.c:5: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:2, from xsml_query.c:6: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.c:6: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct attributo’ xsml_node.h:19: error: redefinition of typedef ‘attr’ xsml_node.h:19: error: previous declaration of ‘attr’ was here xsml_node.h:21: error: redefinition of ‘struct node’ xsml_node.h:32: error: redefinition of typedef ‘node’ xsml_node.h:32: error: previous declaration of ‘node’ was here xsml_node.h:44: error: conflicting types for ‘get_node_type’ xsml_node.h:44: error: previous declaration of ‘get_node_type’ was here xsml_query.c:7:23: error: xsml_iter.h: No such file or directory In file included from xsml_query.h:4, from xsml_query.c:8: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_node.h:2, from xsml_query.h:5, from xsml_query.c:8: xsml_list.h:5: error: redefinition of ‘struct elem’ xsml_list.h:10: error: redefinition of typedef ‘elem’ xsml_list.h:10: error: previous declaration of ‘elem’ was here xsml_list.h:13: error: redefinition of ‘struct list’ xsml_list.h:18: error: redefinition of typedef ‘list’ xsml_list.h:18: error: previous declaration of ‘list’ was here xsml_list.h:21: error: redefinition of ‘struct iterator’ xsml_list.h:28: error: redefinition of typedef ‘iterator’ xsml_list.h:28: error: previous declaration of ‘iterator’ was here xsml_list.h:32: error: nested redefinition of ‘enum op_errors’ xsml_list.h:32: error: redeclaration of ‘enum op_errors’ xsml_list.h:33: error: redeclaration of enumerator ‘OP_OK’ xsml_list.h:33: error: previous definition of ‘OP_OK’ was here xsml_list.h:34: error: redeclaration of enumerator ‘OP_MEM_ERROR’ xsml_list.h:34: error: previous definition of ‘OP_MEM_ERROR’ was here xsml_list.h:35: error: redeclaration of enumerator ‘OP_NO_ATTRIBUTE_ERROR’ xsml_list.h:35: error: previous definition of ‘OP_NO_ATTRIBUTE_ERROR’ was here xsml_list.h:37: error: redeclaration of enumerator ‘OP_GENERIC’ xsml_list.h:37: error: previous definition of ‘OP_GENERIC’ was here In file included from xsml_query.h:5, from xsml_query.c:8: xsml_node.h:6: error: redeclaration of enumerator ‘TEXT_NODE’ xsml_node.h:6: error: previous definition of ‘TEXT_NODE’ was here xsml_node.h:8: error: redeclaration of enumerator ‘TAG_NODE’ xsml_node.h:8: error: previous definition of ‘TAG_NODE’ was here xsml_node.h:8: error: conflicting types for ‘node_type’ xsml_node.h:8: error: previous declaration of ‘node_type’ was here xsml_node.h:12: error: redefinition of ‘struct attributo’ xsml_node.h:19: error: redefinition of typedef ‘attr’ xsml_node.h:19: error: previous declaration of ‘attr’ was here xsml_node.h:21: error: redefinition of ‘struct node’ xsml_node.h:32: error: redefinition of typedef ‘node’ xsml_node.h:32: error: previous declaration of ‘node’ was here xsml_node.h:44: error: conflicting types for ‘get_node_type’ xsml_node.h:44: error: previous declaration of ‘get_node_type’ was here Compilation with the student files [FAILED]. ========================================================== ValerioSecondini: Unzip: [OK] Compile: [NOT PATCHED, IGNORING] ========================================================== VincenzoNovino: Unzip: [OK] ===== == VincenzoNovino : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:32: error: dereferencing pointer to incomplete type xsml_iter.c:34: error: dereferencing pointer to incomplete type xsml_iter.c:36: error: dereferencing pointer to incomplete type == VincenzoNovino : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:32: error: dereferencing pointer to incomplete type xsml_iter.c:34: error: dereferencing pointer to incomplete type xsml_iter.c:36: error: dereferencing pointer to incomplete type == VincenzoNovino : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:32: error: dereferencing pointer to incomplete type xsml_iter.c:34: error: dereferencing pointer to incomplete type xsml_iter.c:36: error: dereferencing pointer to incomplete type Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/VincenzoNovino/VincenzoNovino' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/VincenzoNovino/VincenzoNovino' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/VincenzoNovino/VincenzoNovino' == VincenzoNovino : Compiling main1.c with the student files == VincenzoNovino : Compiling main2.c with the student files == VincenzoNovino : Compiling main3.c with the student files /tmp/ccyhcFlJ.o: In function `main': main3.c:(.text+0x2dc): undefined reference to `get_xsml_doc' main3.c:(.text+0x31e): undefined reference to `last_token' collect2: ld returned 1 exit status Compilation with the student files [FAILED]. ========================================================== VitalijZadneprovskij: Unzip: [OK] ===== == VitalijZadneprovskij : Compiling main1.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:34: error: invalid operands to binary == xsml_iter.c:38: error: ‘elem’ undeclared (first use in this function) xsml_iter.c:38: error: (Each undeclared identifier is reported only once xsml_iter.c:38: error: for each function it appears in.) xsml_iter.c:38: error: ‘elemento’ undeclared (first use in this function) xsml_iter.c:38: error: expected expression before ‘)’ token xsml_iter.c: In function ‘duplica’: xsml_iter.c:94: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c: In function ‘does_satisfies’: xsml_query.c:192: error: ‘attribute_tuple’ undeclared (first use in this function) xsml_query.c:192: error: (Each undeclared identifier is reported only once xsml_query.c:192: error: for each function it appears in.) xsml_query.c:192: error: expected ‘;’ before ‘a’ xsml_query.c:195: error: ‘a’ undeclared (first use in this function) == VitalijZadneprovskij : Compiling main2.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:34: error: invalid operands to binary == xsml_iter.c:38: error: ‘elem’ undeclared (first use in this function) xsml_iter.c:38: error: (Each undeclared identifier is reported only once xsml_iter.c:38: error: for each function it appears in.) xsml_iter.c:38: error: ‘elemento’ undeclared (first use in this function) xsml_iter.c:38: error: expected expression before ‘)’ token xsml_iter.c: In function ‘duplica’: xsml_iter.c:94: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c: In function ‘does_satisfies’: xsml_query.c:192: error: ‘attribute_tuple’ undeclared (first use in this function) xsml_query.c:192: error: (Each undeclared identifier is reported only once xsml_query.c:192: error: for each function it appears in.) xsml_query.c:192: error: expected ‘;’ before ‘a’ xsml_query.c:195: error: ‘a’ undeclared (first use in this function) == VitalijZadneprovskij : Compiling main3.c with our files, except of xsml_iter.c xsml_iter.c: In function ‘next_attr’: xsml_iter.c:34: error: invalid operands to binary == xsml_iter.c:38: error: ‘elem’ undeclared (first use in this function) xsml_iter.c:38: error: (Each undeclared identifier is reported only once xsml_iter.c:38: error: for each function it appears in.) xsml_iter.c:38: error: ‘elemento’ undeclared (first use in this function) xsml_iter.c:38: error: expected expression before ‘)’ token xsml_iter.c: In function ‘duplica’: xsml_iter.c:94: warning: incompatible implicit declaration of built-in function ‘malloc’ xsml_query.c: In function ‘does_satisfies’: xsml_query.c:192: error: ‘attribute_tuple’ undeclared (first use in this function) xsml_query.c:192: error: (Each undeclared identifier is reported only once xsml_query.c:192: error: for each function it appears in.) xsml_query.c:192: error: expected ‘;’ before ‘a’ xsml_query.c:195: error: ‘a’ undeclared (first use in this function) Compilation with our files [FAILED]. Trying with the student files... ===== cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/VitalijZadneprovskij/VitalijZadneprovskij' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../3/VitalijZadneprovskij/VitalijZadneprovskij' cp: omitting directory `/home/prog2-eo/PATCHES_TWO/PROG4/4/../2/VitalijZadneprovskij/VitalijZadneprovskij' == VitalijZadneprovskij : Compiling main1.c with the student files In file included from xsml_query.h:5, from main1.c:2: xsml_node.h:9:1: warning: "NULL" redefined In file included from /usr/include/malloc.h:24, from xsml_list.h:9, from xsml_query.h:4, from main1.c:2: /usr/lib/gcc/i386-redhat-linux/4.1.1/include/stddef.h:403:1: warning: this is the location of the previous definition In file included from xsml_iter.c:11: xsml_node.h:9:1: warning: "NULL" redefined In file included from /usr/include/malloc.h:24, from xsml_list.h:9, from xsml_iter.c:10: /usr/lib/gcc/i386-redhat-linux/4.1.1/include/stddef.h:403:1: warning: this is the location of the previous definition In file included from xsml_parse_query.c:13: xsml_node.h:9:1: warning: "NULL" redefined In file included from /usr/include/gconv.h:31, from /usr/include/_G_config.h:44, from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from xsml_lex.h:4, from xsml_parse_query.c:11: /usr/lib/gcc/i386-redhat-linux/4.1.1/include/stddef.h:403:1: warning: this is the location of the previous definition In file included from xsml_query.c:12: xsml_node.h:9:1: warning: "NULL" redefined In file included from /usr/include/malloc.h:24, from xsml_list.h:9, from xsml_query.c:11: /usr/lib/gcc/i386-redhat-linux/4.1.1/include/stddef.h:403:1: warning: this is the location of the previous definition == VitalijZadneprovskij : Compiling main2.c with the student files In file included from xsml_query.h:5, from main2.c:2: xsml_node.h:9:1: warning: "NULL" redefined In file included from /usr/include/malloc.h:24, from xsml_list.h:9, from xsml_query.h:4, from main2.c:2: /usr/lib/gcc/i386-redhat-linux/4.1.1/include/stddef.h:403:1: warning: this is the location of the previous definition In file included from xsml_iter.c:11: xsml_node.h:9:1: warning: "NULL" redefined In file included from /usr/include/malloc.h:24, from xsml_list.h:9, from xsml_iter.c:10: /usr/lib/gcc/i386-redhat-linux/4.1.1/include/stddef.h:403:1: warning: this is the location of the previous definition In file included from xsml_parse_query.c:13: xsml_node.h:9:1: warning: "NULL" redefined In file included from /usr/include/gconv.h:31, from /usr/include/_G_config.h:44, from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from xsml_lex.h:4, from xsml_parse_query.c:11: /usr/lib/gcc/i386-redhat-linux/4.1.1/include/stddef.h:403:1: warning: this is the location of the previous definition In file included from xsml_query.c:12: xsml_node.h:9:1: warning: "NULL" redefined In file included from /usr/include/malloc.h:24, from xsml_list.h:9, from xsml_query.c:11: /usr/lib/gcc/i386-redhat-linux/4.1.1/include/stddef.h:403:1: warning: this is the location of the previous definition == VitalijZadneprovskij : Compiling main3.c with the student files In file included from main3.c:6: xsml_node.h:9:1: warning: "NULL" redefined In file included from /usr/include/malloc.h:24, from xsml_list.h:9, from main3.c:5: /usr/lib/gcc/i386-redhat-linux/4.1.1/include/stddef.h:403:1: warning: this is the location of the previous definition In file included from xsml_iter.c:11: xsml_node.h:9:1: warning: "NULL" redefined In file included from /usr/include/malloc.h:24, from xsml_list.h:9, from xsml_iter.c:10: /usr/lib/gcc/i386-redhat-linux/4.1.1/include/stddef.h:403:1: warning: this is the location of the previous definition In file included from xsml_parse_query.c:13: xsml_node.h:9:1: warning: "NULL" redefined In file included from /usr/include/gconv.h:31, from /usr/include/_G_config.h:44, from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from xsml_lex.h:4, from xsml_parse_query.c:11: /usr/lib/gcc/i386-redhat-linux/4.1.1/include/stddef.h:403:1: warning: this is the location of the previous definition In file included from xsml_query.c:12: xsml_node.h:9:1: warning: "NULL" redefined In file included from /usr/include/malloc.h:24, from xsml_list.h:9, from xsml_query.c:11: /usr/lib/gcc/i386-redhat-linux/4.1.1/include/stddef.h:403:1: warning: this is the location of the previous definition /tmp/ccsfLpdK.o: In function `main': main3.c:(.text+0x2dc): undefined reference to `get_xsml_doc' main3.c:(.text+0x31e): undefined reference to `last_token' collect2: ld returned 1 exit status Compilation with the student files [FAILED]. ========================================================== VladLupascu: Unzip: [OK] Compile: [NOT PATCHED, IGNORING] ========================================================== Results of unpacking and compiling Total = 87 Unpacking: Unzipped = 87 Untarrred = 0 Unrared = 0 C file submitted = 0 Errors = 0 Compilation Not patched = 23 Errors = 40 Good = 24