=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xgas", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xgas-1.0nb3 --- main.o --- --- dynamics.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I./lib/Xt -I. -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c dynamics.c --- main.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I./lib/Xt -I. -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c main.c --- dynamics.o --- dynamics.c: In function 'dynamics': dynamics.c:15:6: warning: old-style function definition [-Wold-style-definition] 15 | void dynamics( mol, data ) | ^~~~~~~~ dynamics.c:18:1: error: number of arguments doesn't match prototype 18 | { | ^ In file included from dynamics.c:8: xgas.h:126:14: error: prototype declaration 126 | void dynamics(); | ^~~~~~~~ dynamics.c:21:9: error: too many arguments to function 'collide'; expected 0, have 2 21 | collide( mol, data ); | ^~~~~~~ ~~~ dynamics.c:10:13: note: declared here 10 | static void collide(); | ^~~~~~~ dynamics.c:22:9: error: too many arguments to function 'findNextCollision'; expected 0, have 2 22 | findNextCollision( mol, data); | ^~~~~~~~~~~~~~~~~ ~~~ xgas.h:125:14: note: declared here 125 | void findNextCollision(); | ^~~~~~~~~~~~~~~~~ dynamics.c:24:5: error: too many arguments to function 'inertia'; expected 0, have 2 24 | inertia( mol, data ); | ^~~~~~~ ~~~ dynamics.c:9:13: note: declared here 9 | static void inertia(); | ^~~~~~~ dynamics.c: In function 'inertia': dynamics.c:28:13: warning: old-style function definition [-Wold-style-definition] 28 | static void inertia( mol, data) | ^~~~~~~ dynamics.c: In function 'collide': dynamics.c:44:13: warning: old-style function definition [-Wold-style-definition] 44 | static void collide( mol, data) | ^~~~~~~ dynamics.c:61:19: error: too many arguments to function 'whichCorner'; expected 0, have 4 61 | if ((corner = whichCorner( mol->collisionPos.x, mol->collisionPos.y, | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ xgas.h:132:13: note: declared here 132 | int whichCorner(); | ^~~~~~~~~~~ dynamics.c:81:29: error: too many arguments to function 'frand'; expected 0, have 2 81 | if (corner) thetaRand = frand( 0.0, M_PI_2); | ^~~~~ ~~~ xgas.h:139:15: note: declared here 139 | float frand(); | ^~~~~ dynamics.c:82:22: error: too many arguments to function 'frand'; expected 0, have 2 82 | else thetaRand = frand( -M_PI_2, M_PI_2); | ^~~~~ xgas.h:139:15: note: declared here 139 | float frand(); | ^~~~~ dynamics.c:92:18: error: too many arguments to function 'vEquilibrium'; expected 0, have 1 92 | vMagnitude = vEquilibrium( mol->temperature); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ xgas.h:138:15: note: declared here 138 | float vEquilibrium(); | ^~~~~~~~~~~~ dynamics.c: In function 'findNextCollision': dynamics.c:109:6: warning: old-style function definition [-Wold-style-definition] 109 | void findNextCollision( mol, data) | ^~~~~~~~~~~~~~~~~ dynamics.c:112:1: error: number of arguments doesn't match prototype 112 | { | ^ xgas.h:125:14: error: prototype declaration 125 | void findNextCollision(); | ^~~~~~~~~~~~~~~~~ dynamics.c:125:9: error: too many arguments to function 'hitHole'; expected 0, have 3 125 | if( hitHole( mol, &data->chamber[box].walls[0], data) > 0.0) { | ^~~~~~~ ~~~ dynamics.c:12:15: note: declared here 12 | static double hitHole(); | ^~~~~~~ dynamics.c:137:26: error: too many arguments to function 'hit'; expected 0, have 2 137 | && (( deltaT = hit( mol, &data->chamber[box].walls[i])) | ^~~ ~~~ dynamics.c:11:15: note: declared here 11 | static double hit(); | ^~~ dynamics.c:144:9: error: implicit declaration of function 'error'; did you mean 'XtError'? [-Wimplicit-function-declaration] 144 | error("In findNextCollision(): couldn't find a wall to hit.", | ^~~~~ | XtError dynamics.c: In function 'hit': dynamics.c:167:15: warning: old-style function definition [-Wold-style-definition] 167 | static double hit( mol, wall) | ^~~ dynamics.c: In function 'hitHole': dynamics.c:231:15: warning: old-style function definition [-Wold-style-definition] 231 | static double hitHole( mol, wall, data) | ^~~~~~~ --- main.o --- main.c:108:1: error: return type defaults to 'int' [-Wimplicit-int] 108 | Syntax(call) | ^~~~~~ main.c: In function 'Syntax': main.c:108:1: warning: old-style function definition [-Wold-style-definition] main.c:111:16: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration] 111 | (void) printf ("Usage: %s [-as] [-ts ] [-d