(rebx-3.3.0) stanley@PAVILION-13:~/github/sabaronett/reboundx/examples/exponential_migration$ make clean Cleaning up shared library librebound.so ... make -C /home/stanley/github/hannorein/rebound/src/ clean make[1]: Entering directory '/home/stanley/github/hannorein/rebound/src' Removing object files *.o ... Removing shared library librebound.so ... Removing coverage files ... make[1]: Leaving directory '/home/stanley/github/hannorein/rebound/src' Cleaning up shared library libreboundx.so ... make -C ../..//src/ clean make[1]: Entering directory '/home/stanley/github/sabaronett/reboundx/src' Cleaning up shared library librebound.so ... make -C /home/stanley/github/hannorein/rebound/src/ clean make[2]: Entering directory '/home/stanley/github/hannorein/rebound/src' Removing object files *.o ... Removing shared library librebound.so ... Removing coverage files ... make[2]: Leaving directory '/home/stanley/github/hannorein/rebound/src' Cleaning up shared library libreboundx.so ... make[1]: Leaving directory '/home/stanley/github/sabaronett/reboundx/src' Cleaning up local directory ... removed 'rebound' (rebx-3.3.0) stanley@PAVILION-13:~/github/sabaronett/reboundx/examples/exponential_migration$ make -j Compiling shared library librebound.so ... Compiling shared library libreboundx.so ... make -C /home/stanley/github/hannorein/rebound/src/ make -C ../..//src/ make[1]: Entering directory '/home/stanley/github/hannorein/rebound/src' make[1]: Entering directory '/home/stanley/github/sabaronett/reboundx/src' Compiling shared library librebound.so ... make -C /home/stanley/github/hannorein/rebound/src/ Compiling source file rebound.c ... make[2]: Entering directory '/home/stanley/github/hannorein/rebound/src' cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o rebound.o rebound.c Compiling source file exponential_migration.c ... Compiling source file tree.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -DREBXGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -I/home/stanley/github/hannorein/rebound/src -o exponential_migration.o exponential_migration.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o tree.o tree.c Compiling source file particle.c ... Compiling source file core.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o particle.o particle.c Compiling source file rebound.c ... Compiling source file gravity.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o rebound.o rebound.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -DREBXGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -I/home/stanley/github/hannorein/rebound/src -o core.o core.c Compiling source file tree.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o gravity.o gravity.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o tree.o tree.c Compiling source file particle.c ... Compiling source file gr_potential.c ... Compiling source file integrator.c ... Compiling source file integrator_whfast.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o particle.o particle.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -DREBXGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -I/home/stanley/github/hannorein/rebound/src -o gr_potential.o gr_potential.c Compiling source file gravity.c ... Compiling source file modify_orbits_direct.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o gravity.o gravity.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o integrator.o integrator.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o integrator_whfast.o integrator_whfast.c exponential_migration.c: In function ‘rebx_calculate_modify_orbits_forces_new’: exponential_migration.c:79:18: warning: unused variable ‘r2’ [-Wunused-variable] const double r2 = dx*dx + dy*dy + dz*dz; ^~ cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -DREBXGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -I/home/stanley/github/hannorein/rebound/src -o modify_orbits_direct.o modify_orbits_direct.c Compiling source file integrator.c ... Compiling source file integrator_saba.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o integrator.o integrator.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o integrator_saba.o integrator_saba.c Compiling source file integrator_whfast.c ... Compiling source file integrator_ias15.c ... core.c: In function ‘rebx_add_operator’: core.c:484:5: warning: enumeration value ‘REB_INTEGRATOR_SEI’ not handled in switch [-Wswitch] switch(sim->integrator){ ^~~~~~ core.c:484:5: warning: enumeration value ‘REB_INTEGRATOR_LEAPFROG’ not handled in switch [-Wswitch] core.c:484:5: warning: enumeration value ‘REB_INTEGRATOR_NONE’ not handled in switch [-Wswitch] core.c:484:5: warning: enumeration value ‘REB_INTEGRATOR_JANUS’ not handled in switch [-Wswitch] core.c:484:5: warning: enumeration value ‘REB_INTEGRATOR_SABA’ not handled in switch [-Wswitch] core.c:484:5: warning: enumeration value ‘REB_INTEGRATOR_EOS’ not handled in switch [-Wswitch] core.c: In function ‘rebx_free_particle_ap’: core.c:768:18: warning: passing argument 1 of ‘rebx_free_ap’ from incompatible pointer type [-Wincompatible-pointer-types] rebx_free_ap(&p->ap); ^ core.c:756:6: note: expected ‘struct rebx_node **’ but argument is of type ‘void **’ void rebx_free_ap(struct rebx_node** ap){ ^~~~~~~~~~~~ Compiling source file integrator_sei.c ... Compiling source file integrator_euler.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o integrator_whfast.o integrator_whfast.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o integrator_ias15.o integrator_ias15.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -DREBXGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -I/home/stanley/github/hannorein/rebound/src -o integrator_euler.o integrator_euler.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o integrator_sei.o integrator_sei.c Compiling source file integrator_saba.c ... Compiling source file integrator_leapfrog.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o integrator_saba.o integrator_saba.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o integrator_leapfrog.o integrator_leapfrog.c Compiling source file integrator_mercurius.c ... Compiling source file integrator_ias15.c ... Compiling source file central_force.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o integrator_ias15.o integrator_ias15.c Compiling source file integrator_sei.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -DREBXGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -I/home/stanley/github/hannorein/rebound/src -o central_force.o central_force.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o integrator_mercurius.o integrator_mercurius.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o integrator_sei.o integrator_sei.c Compiling source file integrator_eos.c ... Compiling source file integrator_leapfrog.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o integrator_eos.o integrator_eos.c Compiling source file boundary.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o integrator_leapfrog.o integrator_leapfrog.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o boundary.o boundary.c Compiling source file integrator_mercurius.c ... Compiling source file gravitational_harmonics.c ... Compiling source file input.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -DREBXGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -I/home/stanley/github/hannorein/rebound/src -o gravitational_harmonics.o gravitational_harmonics.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o integrator_mercurius.o integrator_mercurius.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o input.o input.c Compiling source file binarydiff.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o binarydiff.o binarydiff.c Compiling source file integrator_eos.c ... Compiling source file output.c ... Compiling source file output.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o integrator_eos.o integrator_eos.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o output.o output.c Compiling source file boundary.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -DREBXGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -I/home/stanley/github/hannorein/rebound/src -o output.o output.c Compiling source file collision.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o collision.o collision.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o boundary.o boundary.c Compiling source file input.c ... Compiling source file communication_mpi.c ... Compiling source file linkedlist.c ... Compiling source file display.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o input.o input.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -DREBXGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -I/home/stanley/github/hannorein/rebound/src -o linkedlist.o linkedlist.c Compiling source file binarydiff.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o communication_mpi.o communication_mpi.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o display.o display.c Compiling source file tools.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o tools.o tools.c Compiling source file rebxtools.c ... Compiling source file derivatives.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o binarydiff.o binarydiff.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -DREBXGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -I/home/stanley/github/hannorein/rebound/src -o rebxtools.o rebxtools.c Compiling source file output.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o derivatives.o derivatives.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o output.o output.c Compiling source file simulationarchive.c ... Compiling source file gr.c ... Compiling source file collision.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o collision.o collision.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o simulationarchive.o simulationarchive.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -DREBXGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -I/home/stanley/github/hannorein/rebound/src -o gr.o gr.c Compiling source file communication_mpi.c ... Compiling source file glad.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o glad.o glad.c Compiling source file integrator_janus.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o communication_mpi.o communication_mpi.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o integrator_janus.o integrator_janus.c Compiling source file display.c ... Compiling source file transformations.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o transformations.o transformations.c Compiling source file integrate_force.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -DREBXGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -I/home/stanley/github/hannorein/rebound/src -o integrate_force.o integrate_force.c output.c: In function ‘rebx_write_force_param’: output.c:94:1: warning: null argument where non-null required (argument 1) [-Wnonnull] fwrite(valueptr,typesize,1,of);\ ^ output.c:107:1: note: in expansion of macro ‘REBX_WRITE_DATA_FIELD’ REBX_WRITE_DATA_FIELD(END, NULL, 0);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:131:5: note: in expansion of macro ‘REBX_END_OBJECT_FIELD’ REBX_END_OBJECT_FIELD(force_param); ^~~~~~~~~~~~~~~~~~~~~ cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o display.o display.c output.c: In function ‘rebx_write_param’: output.c:94:1: warning: null argument where non-null required (argument 1) [-Wnonnull] fwrite(valueptr,typesize,1,of);\ ^ output.c:107:1: note: in expansion of macro ‘REBX_WRITE_DATA_FIELD’ REBX_WRITE_DATA_FIELD(END, NULL, 0);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:147:5: note: in expansion of macro ‘REBX_END_OBJECT_FIELD’ REBX_END_OBJECT_FIELD(param); ^~~~~~~~~~~~~~~~~~~~~ output.c: In function ‘rebx_write_registered_param’: output.c:94:1: warning: null argument where non-null required (argument 1) [-Wnonnull] fwrite(valueptr,typesize,1,of);\ ^ output.c:107:1: note: in expansion of macro ‘REBX_WRITE_DATA_FIELD’ REBX_WRITE_DATA_FIELD(END, NULL, 0);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:154:5: note: in expansion of macro ‘REBX_END_OBJECT_FIELD’ REBX_END_OBJECT_FIELD(registered_param); ^~~~~~~~~~~~~~~~~~~~~ output.c: In function ‘rebx_write_force’: output.c:94:1: warning: null argument where non-null required (argument 1) [-Wnonnull] fwrite(valueptr,typesize,1,of);\ ^ output.c:107:1: note: in expansion of macro ‘REBX_WRITE_DATA_FIELD’ REBX_WRITE_DATA_FIELD(END, NULL, 0);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:120:1: note: in expansion of macro ‘REBX_END_OBJECT_FIELD’ REBX_END_OBJECT_FIELD(list);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:161:5: note: in expansion of macro ‘REBX_WRITE_LIST_FIELD’ REBX_WRITE_LIST_FIELD(PARAM_LIST, PARAM, force->ap); ^~~~~~~~~~~~~~~~~~~~~ output.c:94:1: warning: null argument where non-null required (argument 1) [-Wnonnull] fwrite(valueptr,typesize,1,of);\ ^ output.c:107:1: note: in expansion of macro ‘REBX_WRITE_DATA_FIELD’ REBX_WRITE_DATA_FIELD(END, NULL, 0);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:162:5: note: in expansion of macro ‘REBX_END_OBJECT_FIELD’ REBX_END_OBJECT_FIELD(force); ^~~~~~~~~~~~~~~~~~~~~ output.c: In function ‘rebx_write_additional_force’: output.c:94:1: warning: null argument where non-null required (argument 1) [-Wnonnull] fwrite(valueptr,typesize,1,of);\ ^ output.c:107:1: note: in expansion of macro ‘REBX_WRITE_DATA_FIELD’ REBX_WRITE_DATA_FIELD(END, NULL, 0);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:169:5: note: in expansion of macro ‘REBX_END_OBJECT_FIELD’ REBX_END_OBJECT_FIELD(additional_force); ^~~~~~~~~~~~~~~~~~~~~ output.c: In function ‘rebx_write_operator’: output.c:94:1: warning: null argument where non-null required (argument 1) [-Wnonnull] fwrite(valueptr,typesize,1,of);\ ^ output.c:107:1: note: in expansion of macro ‘REBX_WRITE_DATA_FIELD’ REBX_WRITE_DATA_FIELD(END, NULL, 0);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:120:1: note: in expansion of macro ‘REBX_END_OBJECT_FIELD’ REBX_END_OBJECT_FIELD(list);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:175:5: note: in expansion of macro ‘REBX_WRITE_LIST_FIELD’ REBX_WRITE_LIST_FIELD(PARAM_LIST, PARAM, operator->ap); ^~~~~~~~~~~~~~~~~~~~~ output.c:94:1: warning: null argument where non-null required (argument 1) [-Wnonnull] fwrite(valueptr,typesize,1,of);\ ^ output.c:107:1: note: in expansion of macro ‘REBX_WRITE_DATA_FIELD’ REBX_WRITE_DATA_FIELD(END, NULL, 0);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:176:5: note: in expansion of macro ‘REBX_END_OBJECT_FIELD’ REBX_END_OBJECT_FIELD(operator); ^~~~~~~~~~~~~~~~~~~~~ output.c: In function ‘rebx_write_step’: output.c:94:1: warning: null argument where non-null required (argument 1) [-Wnonnull] fwrite(valueptr,typesize,1,of);\ ^ output.c:107:1: note: in expansion of macro ‘REBX_WRITE_DATA_FIELD’ REBX_WRITE_DATA_FIELD(END, NULL, 0);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:184:5: note: in expansion of macro ‘REBX_END_OBJECT_FIELD’ REBX_END_OBJECT_FIELD(step); ^~~~~~~~~~~~~~~~~~~~~ output.c: In function ‘rebx_write_particle’: output.c:94:1: warning: null argument where non-null required (argument 1) [-Wnonnull] fwrite(valueptr,typesize,1,of);\ ^ output.c:107:1: note: in expansion of macro ‘REBX_WRITE_DATA_FIELD’ REBX_WRITE_DATA_FIELD(END, NULL, 0);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:120:1: note: in expansion of macro ‘REBX_END_OBJECT_FIELD’ REBX_END_OBJECT_FIELD(list);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:190:5: note: in expansion of macro ‘REBX_WRITE_LIST_FIELD’ REBX_WRITE_LIST_FIELD(PARAM_LIST, PARAM, particle->ap); ^~~~~~~~~~~~~~~~~~~~~ output.c:94:1: warning: null argument where non-null required (argument 1) [-Wnonnull] fwrite(valueptr,typesize,1,of);\ ^ output.c:107:1: note: in expansion of macro ‘REBX_WRITE_DATA_FIELD’ REBX_WRITE_DATA_FIELD(END, NULL, 0);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:191:5: note: in expansion of macro ‘REBX_END_OBJECT_FIELD’ REBX_END_OBJECT_FIELD(particle); ^~~~~~~~~~~~~~~~~~~~~ Compiling source file radiation_forces.c ... output.c: In function ‘rebx_write_rebx’: output.c:94:1: warning: null argument where non-null required (argument 1) [-Wnonnull] fwrite(valueptr,typesize,1,of);\ ^ output.c:107:1: note: in expansion of macro ‘REBX_WRITE_DATA_FIELD’ REBX_WRITE_DATA_FIELD(END, NULL, 0);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:120:1: note: in expansion of macro ‘REBX_END_OBJECT_FIELD’ REBX_END_OBJECT_FIELD(list);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:196:5: note: in expansion of macro ‘REBX_WRITE_LIST_FIELD’ REBX_WRITE_LIST_FIELD(REGISTERED_PARAMETERS, REGISTERED_PARAM, rebx->registered_params); ^~~~~~~~~~~~~~~~~~~~~ output.c:94:1: warning: null argument where non-null required (argument 1) [-Wnonnull] fwrite(valueptr,typesize,1,of);\ ^ output.c:107:1: note: in expansion of macro ‘REBX_WRITE_DATA_FIELD’ REBX_WRITE_DATA_FIELD(END, NULL, 0);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:120:1: note: in expansion of macro ‘REBX_END_OBJECT_FIELD’ REBX_END_OBJECT_FIELD(list);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:197:5: note: in expansion of macro ‘REBX_WRITE_LIST_FIELD’ REBX_WRITE_LIST_FIELD(ALLOCATED_FORCES, FORCE, rebx->allocated_forces); ^~~~~~~~~~~~~~~~~~~~~ output.c:94:1: warning: null argument where non-null required (argument 1) [-Wnonnull] fwrite(valueptr,typesize,1,of);\ ^ output.c:107:1: note: in expansion of macro ‘REBX_WRITE_DATA_FIELD’ REBX_WRITE_DATA_FIELD(END, NULL, 0);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:120:1: note: in expansion of macro ‘REBX_END_OBJECT_FIELD’ REBX_END_OBJECT_FIELD(list);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:198:5: note: in expansion of macro ‘REBX_WRITE_LIST_FIELD’ REBX_WRITE_LIST_FIELD(ALLOCATED_OPERATORS, OPERATOR, rebx->allocated_operators); ^~~~~~~~~~~~~~~~~~~~~ output.c:94:1: warning: null argument where non-null required (argument 1) [-Wnonnull] fwrite(valueptr,typesize,1,of);\ ^ output.c:107:1: note: in expansion of macro ‘REBX_WRITE_DATA_FIELD’ REBX_WRITE_DATA_FIELD(END, NULL, 0);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:120:1: note: in expansion of macro ‘REBX_END_OBJECT_FIELD’ REBX_END_OBJECT_FIELD(list);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:199:5: note: in expansion of macro ‘REBX_WRITE_LIST_FIELD’ REBX_WRITE_LIST_FIELD(ADDITIONAL_FORCES, ADDITIONAL_FORCE, rebx->additional_forces); ^~~~~~~~~~~~~~~~~~~~~ output.c:94:1: warning: null argument where non-null required (argument 1) [-Wnonnull] fwrite(valueptr,typesize,1,of);\ ^ output.c:107:1: note: in expansion of macro ‘REBX_WRITE_DATA_FIELD’ REBX_WRITE_DATA_FIELD(END, NULL, 0);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:120:1: note: in expansion of macro ‘REBX_END_OBJECT_FIELD’ REBX_END_OBJECT_FIELD(list);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:200:5: note: in expansion of macro ‘REBX_WRITE_LIST_FIELD’ REBX_WRITE_LIST_FIELD(PRE_TIMESTEP_MODIFICATIONS, STEP, rebx->pre_timestep_modifications); ^~~~~~~~~~~~~~~~~~~~~ Compiling source file tools.c ... output.c:94:1: warning: null argument where non-null required (argument 1) [-Wnonnull] fwrite(valueptr,typesize,1,of);\ ^ output.c:107:1: note: in expansion of macro ‘REBX_WRITE_DATA_FIELD’ REBX_WRITE_DATA_FIELD(END, NULL, 0);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:120:1: note: in expansion of macro ‘REBX_END_OBJECT_FIELD’ REBX_END_OBJECT_FIELD(list);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:201:5: note: in expansion of macro ‘REBX_WRITE_LIST_FIELD’ REBX_WRITE_LIST_FIELD(POST_TIMESTEP_MODIFICATIONS, STEP, rebx->post_timestep_modifications); ^~~~~~~~~~~~~~~~~~~~~ cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -DREBXGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -I/home/stanley/github/hannorein/rebound/src -o radiation_forces.o radiation_forces.c output.c:94:1: warning: null argument where non-null required (argument 1) [-Wnonnull] fwrite(valueptr,typesize,1,of);\ ^ output.c:107:1: note: in expansion of macro ‘REBX_WRITE_DATA_FIELD’ REBX_WRITE_DATA_FIELD(END, NULL, 0);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:202:5: note: in expansion of macro ‘REBX_END_OBJECT_FIELD’ REBX_END_OBJECT_FIELD(rebx_structure); ^~~~~~~~~~~~~~~~~~~~~ output.c: In function ‘rebx_write_particles’: output.c:94:1: warning: null argument where non-null required (argument 1) [-Wnonnull] fwrite(valueptr,typesize,1,of);\ ^ output.c:107:1: note: in expansion of macro ‘REBX_WRITE_DATA_FIELD’ REBX_WRITE_DATA_FIELD(END, NULL, 0);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:213:5: note: in expansion of macro ‘REBX_END_OBJECT_FIELD’ REBX_END_OBJECT_FIELD(particle_list); ^~~~~~~~~~~~~~~~~~~~~ output.c: In function ‘rebx_write_list’: output.c:224:9: warning: enumeration value ‘REBX_BINARY_FIELD_TYPE_NONE’ not handled in switch [-Wswitch] switch(list_type){ ^~~~~~ output.c:224:9: warning: enumeration value ‘REBX_BINARY_FIELD_TYPE_PARTICLE’ not handled in switch [-Wswitch] output.c:224:9: warning: enumeration value ‘REBX_BINARY_FIELD_TYPE_REBX_STRUCTURE’ not handled in switch [-Wswitch] output.c:224:9: warning: enumeration value ‘REBX_BINARY_FIELD_TYPE_NAME’ not handled in switch [-Wswitch] output.c:224:9: warning: enumeration value ‘REBX_BINARY_FIELD_TYPE_PARAM_TYPE’ not handled in switch [-Wswitch] output.c:224:9: warning: enumeration value ‘REBX_BINARY_FIELD_TYPE_PARAM_VALUE’ not handled in switch [-Wswitch] output.c:224:9: warning: enumeration value ‘REBX_BINARY_FIELD_TYPE_END’ not handled in switch [-Wswitch] output.c:224:9: warning: enumeration value ‘REBX_BINARY_FIELD_TYPE_PARTICLE_INDEX’ not handled in switch [-Wswitch] output.c:224:9: warning: enumeration value ‘REBX_BINARY_FIELD_TYPE_REBX_INTEGRATOR’ not handled in switch [-Wswitch] output.c:224:9: warning: enumeration value ‘REBX_BINARY_FIELD_TYPE_FORCE_TYPE’ not handled in switch [-Wswitch] output.c:224:9: warning: enumeration value ‘REBX_BINARY_FIELD_TYPE_OPERATOR_TYPE’ not handled in switch [-Wswitch] output.c:224:9: warning: enumeration value ‘REBX_BINARY_FIELD_TYPE_STEP_DT_FRACTION’ not handled in switch [-Wswitch] output.c:224:9: warning: enumeration value ‘REBX_BINARY_FIELD_TYPE_PARAM_LIST’ not handled in switch [-Wswitch] output.c:224:9: warning: enumeration value ‘REBX_BINARY_FIELD_TYPE_REGISTERED_PARAMETERS’ not handled in switch [-Wswitch] output.c:224:9: warning: enumeration value ‘REBX_BINARY_FIELD_TYPE_ALLOCATED_FORCES’ not handled in switch [-Wswitch] output.c:224:9: warning: enumeration value ‘REBX_BINARY_FIELD_TYPE_ALLOCATED_OPERATORS’ not handled in switch [-Wswitch] output.c:224:9: warning: enumeration value ‘REBX_BINARY_FIELD_TYPE_ADDITIONAL_FORCES’ not handled in switch [-Wswitch] output.c:224:9: warning: enumeration value ‘REBX_BINARY_FIELD_TYPE_PRE_TIMESTEP_MODIFICATIONS’ not handled in switch [-Wswitch] output.c:224:9: warning: enumeration value ‘REBX_BINARY_FIELD_TYPE_POST_TIMESTEP_MODIFICATIONS’ not handled in switch [-Wswitch] output.c:224:9: warning: enumeration value ‘REBX_BINARY_FIELD_TYPE_PARTICLES’ not handled in switch [-Wswitch] output.c:224:9: warning: enumeration value ‘REBX_BINARY_FIELD_TYPE_SNAPSHOT’ not handled in switch [-Wswitch] output.c: In function ‘rebx_write_snapshot’: output.c:94:1: warning: null argument where non-null required (argument 1) [-Wnonnull] fwrite(valueptr,typesize,1,of);\ ^ output.c:107:1: note: in expansion of macro ‘REBX_WRITE_DATA_FIELD’ REBX_WRITE_DATA_FIELD(END, NULL, 0);\ ^~~~~~~~~~~~~~~~~~~~~ output.c:265:5: note: in expansion of macro ‘REBX_END_OBJECT_FIELD’ REBX_END_OBJECT_FIELD(snapshot); ^~~~~~~~~~~~~~~~~~~~~ cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o tools.o tools.c Compiling source file derivatives.c ... Compiling source file interpolation.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o derivatives.o derivatives.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -DREBXGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -I/home/stanley/github/hannorein/rebound/src -o interpolation.o interpolation.c Compiling source file simulationarchive.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o simulationarchive.o simulationarchive.c Compiling source file glad.c ... Compiling source file integrator_rk2.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o glad.o glad.c cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -DREBXGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -I/home/stanley/github/hannorein/rebound/src -o integrator_rk2.o integrator_rk2.c Compiling source file integrator_janus.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o integrator_janus.o integrator_janus.c Compiling source file transformations.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -DOPENGL -DGITHASH=1074be9583a97139a1191d2b1062dd7d766a6555 -o transformations.o transformations.c boundary.c: In function ‘reb_boundary_particle_is_in_box’: boundary.c:231:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Compiling source file gr_full.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -DREBXGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -I/home/stanley/github/hannorein/rebound/src -o gr_full.o gr_full.c Compiling source file modify_mass.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -DREBXGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -I/home/stanley/github/hannorein/rebound/src -o modify_mass.o modify_mass.c boundary.c: In function ‘reb_boundary_particle_is_in_box’: boundary.c:231:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Compiling source file steppers.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -DREBXGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -I/home/stanley/github/hannorein/rebound/src -o steppers.o steppers.c Compiling source file modify_orbits_forces.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -DREBXGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -I/home/stanley/github/hannorein/rebound/src -o modify_orbits_forces.o modify_orbits_forces.c Compiling source file integrator_implicit_midpoint.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -DREBXGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -I/home/stanley/github/hannorein/rebound/src -o integrator_implicit_midpoint.o integrator_implicit_midpoint.c Compiling source file tides_constant_time_lag.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -DREBXGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -I/home/stanley/github/hannorein/rebound/src -o tides_constant_time_lag.o tides_constant_time_lag.c Compiling source file integrator_rk4.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -DREBXGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -I/home/stanley/github/hannorein/rebound/src -o integrator_rk4.o integrator_rk4.c Compiling source file track_min_distance.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -DREBXGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -I/home/stanley/github/hannorein/rebound/src -o track_min_distance.o track_min_distance.c Compiling source file input.c ... cc -c -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -DREBXGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d -I/home/stanley/github/hannorein/rebound/src -o input.o input.c integrator_janus.c: In function ‘reb_integrator_janus_part1’: integrator_janus.c:123:23: warning: array subscript is above array bounds [-Warray-bounds] return s.gamma[s.stages-1-stage]; ~~~~~~~^~~~~~~~~~~~~~~~~~ integrator_janus.c: In function ‘reb_integrator_janus_part1’: integrator_janus.c:123:23: warning: array subscript is above array bounds [-Warray-bounds] return s.gamma[s.stages-1-stage]; ~~~~~~~^~~~~~~~~~~~~~~~~~ track_min_distance.c: In function ‘rebx_track_min_distance’: track_min_distance.c:71:47: warning: passing argument 1 of ‘rebx_get_param’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] double* min_distance = rebx_get_param(rebx, p->ap, "min_distance"); ^~~~ In file included from track_min_distance.c:64:0: reboundx.h:416:7: note: expected ‘struct rebx_extras *’ but argument is of type ‘const struct rebx_extras * const’ void* rebx_get_param(struct rebx_extras* rebx, struct rebx_node* ap, const char* const param_name); ^~~~~~~~~~~~~~ track_min_distance.c:73:59: warning: passing argument 1 of ‘rebx_get_param’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] const uint32_t* const target = rebx_get_param(rebx, p->ap, "min_distance_from"); ^~~~ In file included from track_min_distance.c:64:0: reboundx.h:416:7: note: expected ‘struct rebx_extras *’ but argument is of type ‘const struct rebx_extras * const’ void* rebx_get_param(struct rebx_extras* rebx, struct rebx_node* ap, const char* const param_name); ^~~~~~~~~~~~~~ track_min_distance.c:87:64: warning: passing argument 1 of ‘rebx_get_param’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] struct reb_orbit* const orbit = rebx_get_param(rebx, p->ap, "min_distance_orbit"); ^~~~ In file included from track_min_distance.c:64:0: reboundx.h:416:7: note: expected ‘struct rebx_extras *’ but argument is of type ‘const struct rebx_extras * const’ void* rebx_get_param(struct rebx_extras* rebx, struct rebx_node* ap, const char* const param_name); ^~~~~~~~~~~~~~ input.c: In function ‘rebx_load_particle’: input.c:379:73: warning: passing argument 3 of ‘rebx_load_list’ from incompatible pointer type [-Wincompatible-pointer-types] if (!rebx_load_list(rebx, REBX_BINARY_FIELD_TYPE_PARAM, &p->ap, inf, warnings)){ ^ input.c:62:12: note: expected ‘struct rebx_node **’ but argument is of type ‘void **’ static int rebx_load_list(struct rebx_extras* rebx, enum rebx_binary_field_type expected_type, struct rebx_node** ap, FILE* inf, enum rebx_input_binary_messages* warnings); ^~~~~~~~~~~~~~ Linking shared library libreboundx.so ... cc -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -shared exponential_migration.o core.o gr_potential.o modify_orbits_direct.o integrator_euler.o central_force.o gravitational_harmonics.o output.o linkedlist.o rebxtools.o gr.o integrate_force.o radiation_forces.o interpolation.o integrator_rk2.o gr_full.o modify_mass.o steppers.o modify_orbits_forces.o integrator_implicit_midpoint.o tides_constant_time_lag.o integrator_rk4.o track_min_distance.o input.o -lm -lrt -lglfw -lrebound -L/home/stanley/github/hannorein/rebound/src -o libreboundx.so /usr/bin/ld: cannot find -lrebound collect2: error: ld returned 1 exit status Makefile:43: recipe for target 'libreboundx.so' failed make[1]: *** [libreboundx.so] Error 1 make[1]: *** Waiting for unfinished jobs.... Linking share library librebound.so ... cc -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -shared rebound.o tree.o particle.o gravity.o integrator.o integrator_whfast.o integrator_saba.o integrator_ias15.o integrator_sei.o integrator_leapfrog.o integrator_mercurius.o integrator_eos.o boundary.o input.o binarydiff.o output.o collision.o communication_mpi.o display.o tools.o derivatives.o simulationarchive.o glad.o integrator_janus.o transformations.o -lm -lrt -lglfw -o librebound.so derivatives.o: file not recognized: File truncated collect2: error: ld returned 1 exit status Makefile:16: recipe for target 'librebound.so' failed make[1]: *** [librebound.so] Error 1 make[1]: Leaving directory '/home/stanley/github/hannorein/rebound/src' Makefile:28: recipe for target 'librebound.so' failed make: *** [librebound.so] Error 2 make: *** Waiting for unfinished jobs.... Linking share library librebound.so ... cc -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUND -shared rebound.o tree.o particle.o gravity.o integrator.o integrator_whfast.o integrator_saba.o integrator_ias15.o integrator_sei.o integrator_leapfrog.o integrator_mercurius.o integrator_eos.o boundary.o input.o binarydiff.o output.o collision.o communication_mpi.o display.o tools.o derivatives.o simulationarchive.o glad.o integrator_janus.o transformations.o -lm -lrt -lglfw -o librebound.so The shared library rebound.o has been created successfully. make[2]: Leaving directory '/home/stanley/github/hannorein/rebound/src' Creating link for shared library librebound.so ... make[1]: Leaving directory '/home/stanley/github/sabaronett/reboundx/src' Makefile:35: recipe for target 'libreboundx.so' failed make: *** [libreboundx.so] Error 2 (rebx-3.3.0) stanley@PAVILION-13:~/github/sabaronett/reboundx/examples/exponential_migration$ make -j Compiling shared library librebound.so ... Compiling shared library libreboundx.so ... make -C /home/stanley/github/hannorein/rebound/src/ make -C ../..//src/ make[1]: Entering directory '/home/stanley/github/hannorein/rebound/src' make[1]: Entering directory '/home/stanley/github/sabaronett/reboundx/src' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/stanley/github/hannorein/rebound/src' Creating link for shared library librebound.so ... Linking shared library libreboundx.so ... cc -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -fPIC -DLIBREBOUNDX -shared exponential_migration.o core.o gr_potential.o modify_orbits_direct.o integrator_euler.o central_force.o gravitational_harmonics.o output.o linkedlist.o rebxtools.o gr.o integrate_force.o radiation_forces.o interpolation.o integrator_rk2.o gr_full.o modify_mass.o steppers.o modify_orbits_forces.o integrator_implicit_midpoint.o tides_constant_time_lag.o integrator_rk4.o track_min_distance.o input.o -lm -lrt -lglfw -lrebound -L/home/stanley/github/hannorein/rebound/src -o libreboundx.so The shared library libreboundx.so has been created successfully. make[1]: Leaving directory '/home/stanley/github/sabaronett/reboundx/src' Compiling problem file ... cc -I../..//src/ -I/home/stanley/github/hannorein/rebound/src/ -Wl,-rpath,./ -std=c99 -Wpointer-arith -D_GNU_SOURCE -O3 -Wall -g -Wno-unused-result -Wno-unknown-pragmas -DOPENGL -DGITHASH=dcfc2e6771caf70051972fb2fbee5559648fe85d problem.c -L. -lreboundx -lrebound -lm -lrt -lglfw -o rebound problem.c: In function ‘main’: problem.c:48:33: warning: passing argument 2 of ‘rebx_set_param_double’ from incompatible pointer type [-Wincompatible-pointer-types] rebx_set_param_double(rebx, &sim->particles[1].ap, "em_tau_a", 2.e3); // add migration e-folding timescale ^ In file included from problem.c:14:0: ../..//src/reboundx.h:419:6: note: expected ‘struct rebx_node **’ but argument is of type ‘void **’ void rebx_set_param_double(struct rebx_extras* const rebx, struct rebx_node** apptr, const char* const param_name, double val); ^~~~~~~~~~~~~~~~~~~~~ problem.c:49:33: warning: passing argument 2 of ‘rebx_set_param_double’ from incompatible pointer type [-Wincompatible-pointer-types] rebx_set_param_double(rebx, &sim->particles[1].ap, "em_aini", 24.0); // add initial semimajor axis ^ In file included from problem.c:14:0: ../..//src/reboundx.h:419:6: note: expected ‘struct rebx_node **’ but argument is of type ‘void **’ void rebx_set_param_double(struct rebx_extras* const rebx, struct rebx_node** apptr, const char* const param_name, double val); ^~~~~~~~~~~~~~~~~~~~~ problem.c:50:33: warning: passing argument 2 of ‘rebx_set_param_double’ from incompatible pointer type [-Wincompatible-pointer-types] rebx_set_param_double(rebx, &sim->particles[1].ap, "em_afin", 30.0); // add final semimajor axis ^ In file included from problem.c:14:0: ../..//src/reboundx.h:419:6: note: expected ‘struct rebx_node **’ but argument is of type ‘void **’ void rebx_set_param_double(struct rebx_extras* const rebx, struct rebx_node** apptr, const char* const param_name, double val); ^~~~~~~~~~~~~~~~~~~~~ problem.c:53:27: warning: passing argument 2 of ‘rebx_set_param_int’ from incompatible pointer type [-Wincompatible-pointer-types] rebx_set_param_int(rebx, &sim->particles[0].ap, "primary", 1); ^ In file included from problem.c:14:0: ../..//src/reboundx.h:420:6: note: expected ‘struct rebx_node **’ but argument is of type ‘void **’ void rebx_set_param_int(struct rebx_extras* const rebx, struct rebx_node** apptr, const char* const param_name, int val); ^~~~~~~~~~~~~~~~~~ problem.c: In function ‘heartbeat’: problem.c:65:30: warning: format ‘%f’ expects a matching ‘double’ argument [-Wformat=] printf("%f\t%f\t%f\t%f\n",sim->t,orbit.a, orbit.e); ~^ Problem file compiled successfully. (rebx-3.3.0) stanley@PAVILION-13:~/github/sabaronett/reboundx/examples/exponential_migration$