-
Notifications
You must be signed in to change notification settings - Fork 91
Description
Kernel: 6.15.7-1-MANJARO
gcc (GCC) 15.2.1 20250813
When trying to build with simh:
make EMULATOR=simh
git submodule sync --recursive dirname tools/pdp6/.gitignore
Sincronizzazione URL sottomodulo per 'tools/pdp6' in corso
git submodule update --recursive --init dirname tools/pdp6/.gitignore
git submodule sync --recursive dirname tools/ncp/.gitignore
Sincronizzazione URL sottomodulo per 'tools/ncp' in corso
Sincronizzazione URL sottomodulo per 'tools/ncp/test/simh' in corso
git submodule update --recursive --init dirname tools/ncp/.gitignore
make -C tools/itstar
make[1]: ingresso nella directory «/home/aidserse/its/tools/itstar»
Makefile:25: warning: ignoring prerequisites on suffix rule definition
cc -O -c itstar.c
itstar.c:65:6: error: conflicting types for ‘save’; have ‘void(void)’
65 | void save(), weenixname(), nomem();
| ^~~~
In file included from itstar.c:48:
itstar.h:2:6: note: previous declaration of ‘save’ with type ‘void(char *)’
2 | void save(char *f);
| ^~~~
itstar.c:65:14: error: conflicting types for ‘weenixname’; have ‘void(void)’
65 | void save(), weenixname(), nomem();
| ^~~~~~~~~~
itstar.h:1:6: note: previous declaration of ‘weenixname’ with type ‘void(char *)’
1 | void weenixname(char p);
| ^~~~~~~~~~
itstar.c: In function ‘main’:
itstar.c:126:41: error: too many arguments to function ‘usage’; expected 0, have 1
126 | usage(0);
| ^~~~~ ~
itstar.c:58:13: note: declared here
58 | static void usage(void);
| ^~~~~
itstar.c:151:41: error: too many arguments to function ‘usage’; expected 0, have 1
151 | usage(1);
| ^~~~~ ~
itstar.c:58:13: note: declared here
58 | static void usage(void);
| ^~~~~
itstar.c:154:41: error: too many arguments to function ‘usage’; expected 0, have 1
154 | usage(1);
| ^~~~~ ~
itstar.c:58:13: note: declared here
58 | static void usage(void);
| ^~~~~
itstar.c:185:17: error: too many arguments to function ‘posneot’; expected 0, have 1
185 | posneot(1); / space to EOT /
| ^~~~~~~ ~
itstar.h:15:6: note: declared here
15 | void posneot();
| ^~~~~~~
itstar.c:187:17: error: too many arguments to function ‘addfiles’; expected 0, have 2
187 | addfiles(argc,argv); / add files onto end /
| ^~~~~~~~ ~~~~
itstar.c:62:13: note: declared here
62 | static void addfiles(), addfile(), listfiles(), listfile(),
| ^~~~~~~~
itstar.c:194:17: error: too many arguments to function ‘addfiles’; expected 0, have 2
194 | addfiles(argc,argv); / add files onto end /
| ^~~~~~~~ ~~~~
itstar.c:62:13: note: declared here
62 | static void addfiles(), addfile(), listfiles(), listfile(),
| ^~~~~~~~
itstar.c:197:29: error: too many arguments to function ‘usage’; expected 0, have 1
197 | if(argc!=0) usage(1); / should we handle filenames? no. /
| ^~~~~ ~
itstar.c:58:13: note: declared here
58 | static void usage(void);
| ^~~~~
itstar.c:204:29: error: too many arguments to function ‘usage’; expected 0, have 1
204 | if(argc!=0) usage(1); / should we handle filenames? soon /
| ^~~~~ ~
itstar.c:58:13: note: declared here
58 | static void usage(void);
| ^~~~~
itstar.c:208:17: error: too many arguments to function ‘extfiles’; expected 0, have 2
208 | extfiles(argc,argv); / extract files */
| ^~~~~~~~ ~~~~
itstar.c:63:9: note: declared here
63 | extfiles(), extfile();
| ^~~~~~~~
itstar.c: At top level:
itstar.c:239:13: error: conflicting types for ‘addfiles’; have ‘void(int, char **)’
239 | static void addfiles(int argc,char **argv)
| ^~~~~~~~
itstar.c:62:13: note: previous declaration of ‘addfiles’ with type ‘void(void)’
62 | static void addfiles(), addfile(), listfiles(), listfile(),
| ^~~~~~~~
itstar.c: In function ‘addfiles’:
itstar.c:245:17: error: too many arguments to function ‘addfile’; expected 0, have 3
245 | addfile(argc,argv,*v++);
| ^~~~~~~ ~~~~
itstar.c:62:25: note: declared here
62 | static void addfiles(), addfile(), listfiles(), listfile(),
| ^~~~~~~
itstar.c: At top level:
itstar.c:254:13: error: conflicting types for ‘addfile’; have ‘void(int, char **, char *)’
254 | static void addfile(int argc,char **argv,char *f)
| ^~~~~~~
itstar.c:62:25: note: previous declaration of ‘addfile’ with type ‘void(void)’
62 | static void addfiles(), addfile(), listfiles(), listfile(),
| ^~~~~~~
itstar.c: In function ‘addfile’:
itstar.c:318:9: error: too many arguments to function ‘save’; expected 0, have 1
318 | save(f);
| ^~~~ ~
itstar.c:65:6: note: declared here
65 | void save(), weenixname(), nomem();
| ^~~~
itstar.c: At top level:
itstar.c:372:13: error: conflicting types for ‘listfiles’; have ‘void(int, char **)’
372 | static void listfiles(int argc,char **argv)
| ^~~~~~~~~
itstar.c:62:36: note: previous declaration of ‘listfiles’ with type ‘void(void)’
62 | static void addfiles(), addfile(), listfiles(), listfile(),
| ^~~~~~~~~
itstar.c:400:13: error: conflicting types for ‘extfiles’; have ‘void(int, char **)’
400 | static void extfiles(int argc,char *argv)
| ^~~~~~~~
itstar.c:63:9: note: previous declaration of ‘extfiles’ with type ‘void(void)’
63 | extfiles(), extfile();
| ^~~~~~~~
itstar.c: In function ‘extfile’:
itstar.c:416:9: error: too many arguments to function ‘weenixname’; expected 0, have 1
416 | weenixname(ufd); / convert to WEENIX equivalent /
| ^~~~~~~~~~ ~~~
itstar.c:65:14: note: declared here
65 | void save(), weenixname(), nomem();
| ^~~~~~~~~~
itstar.c:417:9: error: too many arguments to function ‘weenixname’; expected 0, have 1
417 | weenixname(fn1);
| ^~~~~~~~~~ ~~~
itstar.c:65:14: note: declared here
65 | void save(), weenixname(), nomem();
| ^~~~~~~~~~
itstar.c:418:9: error: too many arguments to function ‘weenixname’; expected 0, have 1
418 | weenixname(fn2);
| ^~~~~~~~~~ ~~~
itstar.c:65:14: note: declared here
65 | void save(), weenixname(), nomem();
| ^~~~~~~~~~
itstar.c:451:17: error: too many arguments to function ‘weenixname’; expected 0, have 1
451 | weenixname(lufd); / convert to WEENIX style */
| ^~~~~~~~~~ ~~~~
itstar.c:65:14: note: declared here
65 | void save(), weenixname(), nomem();
| ^~~~~~~~~~
itstar.c:452:17: error: too many arguments to function ‘weenixname’; expected 0, have 1
452 | weenixname(lfn1);
| ^~~~~~~~~~ ~~~~
itstar.c:65:14: note: declared here
65 | void save(), weenixname(), nomem();
| ^~~~~~~~~~
itstar.c:453:17: error: too many arguments to function ‘weenixname’; expected 0, have 1
453 | weenixname(lfn2);
| ^~~~~~~~~~ ~~~~
itstar.c:65:14: note: declared here
65 | void save(), weenixname(), nomem();
| ^~~~~~~~~~
itstar.c: At top level:
itstar.c:601:13: error: conflicting types for ‘usage’; have ‘void(int)’
601 | static void usage(int rc)
| ^~~~~
itstar.c:58:13: note: previous declaration of ‘usage’ with type ‘void(void)’
58 | static void usage(void);
| ^~~~~
itstar.c:58:13: warning: ‘usage’ used but never defined
itstar.c:62:13: warning: ‘addfiles’ used but never defined
62 | static void addfiles(), addfile(), listfiles(), listfile(),
| ^~~~~~~~
itstar.c:62:25: warning: ‘addfile’ used but never defined
62 | static void addfiles(), addfile(), listfiles(), listfile(),
| ^~~~~~~
itstar.c:62:36: warning: ‘listfiles’ used but never defined
62 | static void addfiles(), addfile(), listfiles(), listfile(),
| ^~~~~~~~~
itstar.c:63:9: warning: ‘extfiles’ used but never defined
63 | extfiles(), extfile();
| ^~~~~~~~
make[1]: *** [Makefile:25: itstar.o] Error 1
make[1]: uscita dalla directory «/home/aidserse/its/tools/itstar»
make: *** [Makefile:415: tools/itstar/itstar] Error 2
I really have no idea what it could be. I hope I'm not asking a stupid question, but I haven't found any solutions anywhere. I obviously have all the other dependencies in place.