Skip to content

Instantly share code, notes, and snippets.

/a.rb

Created May 26, 2014 23:39
Show Gist options
  • Save anonymous/cc53f782312fb347ee26 to your computer and use it in GitHub Desktop.
Save anonymous/cc53f782312fb347ee26 to your computer and use it in GitHub Desktop.
### v.kernel ###
epinux@Debian-70-wheezy-64-minimal:~/dev/grass7_trunk/vector/v.kernel$ make
gcc -g -O2 -I/home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include -I/home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include -I/home/epilib/Envs/env1/include -I/home/epilib/Envs/env1/include -DPACKAGE=\""grassmods"\" -I/home/epilib/Envs/env1/include/ -I/home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include -I/home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include -o OBJ.x86_64-unknown-linux-gnu/main.o -c main.c
main.c: In function ‘compute_all_net_distances’:
main.c:714:10: error: too few arguments to function ‘Vect_net_shortest_path_coor’
In file included from /home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/vector.h:14:0,
from main.c:28:
/home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/defs/vector.h:406:5: note: declared here
make: *** [OBJ.x86_64-unknown-linux-gnu/main.o] Error 1
### v.net.path ###
epinux@Debian-70-wheezy-64-minimal:~/dev/grass7_trunk/vector/v.kernel$ cd /home/epinux/dev/grass7_trunk/vector/v.net.path
epinux@Debian-70-wheezy-64-minimal:~/dev/grass7_trunk/vector/v.net.path$ make
gcc -g -O2 -I/home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include -I/home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include -I/home/epilib/Envs/env1/include -I/home/epilib/Envs/env1/include -DPACKAGE=\""grassmods"\" -I/home/epilib/Envs/env1/include/ -I/home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include -I/home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include -o OBJ.x86_64-unknown-linux-gnu/path.o -c path.c
path.c: In function ‘path’:
path.c:261:10: warning: passing argument 13 of ‘Vect_net_shortest_path_coor’ from incompatible pointer type [enabled by default]
In file included from /home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/vector.h:14:0,
from path.c:6:
/home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/defs/vector.h:406:5: note: expected ‘struct ilist *’ but argument is of type ‘struct line_pnts *’
path.c:261:10: warning: passing argument 15 of ‘Vect_net_shortest_path_coor’ from incompatible pointer type [enabled by default]
In file included from /home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/vector.h:14:0,
from path.c:6:
/home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/defs/vector.h:406:5: note: expected ‘struct line_pnts *’ but argument is of type ‘double *’
path.c:261:10: error: too few arguments to function ‘Vect_net_shortest_path_coor’
In file included from /home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/vector.h:14:0,
from path.c:6:
/home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/defs/vector.h:406:5: note: declared here
make: *** [OBJ.x86_64-unknown-linux-gnu/path.o] Error 1
### v.to.db ###
epinux@Debian-70-wheezy-64-minimal:~/dev/grass7_trunk/vector/v.to.db$ make
: && gcc -L/home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/lib -L/home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/lib -Wl,--export-dynamic -Wl,-rpath-link,/home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/lib -o /home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/bin/v.to.db OBJ.x86_64-unknown-linux-gnu/areas.o OBJ.x86_64-unknown-linux-gnu/calc.o OBJ.x86_64-unknown-linux-gnu/find.o OBJ.x86_64-unknown-linux-gnu/lines.o OBJ.x86_64-unknown-linux-gnu/main.o OBJ.x86_64-unknown-linux-gnu/parse.o OBJ.x86_64-unknown-linux-gnu/query.o OBJ.x86_64-unknown-linux-gnu/report.o OBJ.x86_64-unknown-linux-gnu/units.o OBJ.x86_64-unknown-linux-gnu/update.o -lgrass_vector.7.1.svn -lgrass_dbmiclient.7.1.svn -lgrass_dbmibase.7.1.svn -lgrass_gis.7.1.svn -lm -lm
OBJ.x86_64-unknown-linux-gnu/units.o: In function `conv_units':
/home/epinux/dev/grass7_trunk/vector/v.to.db/units.c:10: undefined reference to `G_units_to_meters_factor'
/home/epinux/dev/grass7_trunk/vector/v.to.db/units.c:11: undefined reference to `G_units_to_meters_factor_sq'
collect2: error: ld returned 1 exit status
make: *** [/home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/bin/v.to.db] Error 1
### m.measure ###
epinux@Debian-70-wheezy-64-minimal:~/dev/grass7_trunk/misc/m.measure$ make
: && gcc -L/home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/lib -L/home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/lib -Wl,--export-dynamic -Wl,-rpath-link,/home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/lib -o /home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/bin/m.measure OBJ.x86_64-unknown-linux-gnu/main.o -lgrass_gis.7.1.svn -lm
OBJ.x86_64-unknown-linux-gnu/main.o: In function `main':
/home/epinux/dev/grass7_trunk/misc/m.measure/main.c:85: undefined reference to `G_units_to_meters_factor'
/home/epinux/dev/grass7_trunk/misc/m.measure/main.c:86: undefined reference to `G_units_to_meters_factor_sq'
collect2: error: ld returned 1 exit status
make: *** [/home/epinux/dev/grass7_trunk/dist.x86_64-unknown-linux-gnu/bin/m.measure] Error 1
epinux@Debian-70-wheezy-64-minimal:~/dev/grass7_trunk/misc/m.measure$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment