Opened 15 years ago
Closed 15 years ago
#826 closed defect (fixed)
i.topo.corr fail to build
Reported by: | yarma | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 6.5.0 |
Component: | Compiling | Version: | svn-develbranch6 |
Keywords: | Cc: | ||
CPU: | x86-64 | Platform: | Linux |
Description
I tried to build the addon i.topo.corr and get an error (other addons like i.landsat.toar worked fine). I did a fresh svn update on grass-addons, grass64_release, grass6_devel and grass_trunk, recompile the 3 grass version and there is always this compilation error ...
# make MODULE_TOPDIR=/opt/grass65/grass-6.5.svn
/opt/grass65/grass-6.5.svn/include/Make/Module.make:25: attention : écrasement des commandes pour la cible « install »
/opt/grass65/grass-6.5.svn/include/Make/Rules.make:82: attention : anciennes commandes ignorées pour la cible « install »
mkdir -p OBJ.x86_64-unknown-linux-gnu |
gcc -I/home/yarma/src_grass/grass6_devel/dist.x86_64-unknown-linux-gnu/include -I/usr/include/ -O0 -ggdb -Wall -Werror-implicit-function-declaration -I/usr/include/ -DPACKAGE=\""grassmods"\" -I/home/yarma/src_grass/grass6_devel/dist.x86_64-unknown-linux-gnu/include -o OBJ.x86_64-unknown-linux-gnu/correction.o -c correction.c
correction.c: In function ‘eval_tcor’:
correction.c:12: attention : unused variable ‘i’
gcc -I/home/yarma/src_grass/grass6_devel/dist.x86_64-unknown-linux-gnu/include -I/usr/include/ -O0 -ggdb -Wall -Werror-implicit-function-declaration -I/usr/include/ -DPACKAGE=\""grassmods"\" -I/home/yarma/src_grass/grass6_devel/dist.x86_64-unknown-linux-gnu/include -o OBJ.x86_64-unknown-linux-gnu/illumination.o -c illumination.c
illumination.c: In function ‘eval_c_cosi’:
illumination.c:14: attention : unused variable ‘i’
illumination.c: In function ‘eval_f_cosi’:
illumination.c:101: attention : unused variable ‘i’
illumination.c: In function ‘eval_d_cosi’:
illumination.c:188: attention : unused variable ‘i’
gcc -I/home/yarma/src_grass/grass6_devel/dist.x86_64-unknown-linux-gnu/include -I/usr/include/ -O0 -ggdb -Wall -Werror-implicit-function-declaration -I/usr/include/ -DPACKAGE=\""grassmods"\" -I/home/yarma/src_grass/grass6_devel/dist.x86_64-unknown-linux-gnu/include -o OBJ.x86_64-unknown-linux-gnu/main.o -c main.c
main.c: In function ‘main’:
main.c:167: erreur: implicit declaration of function ‘eval_c_cosi’
main.c:172: erreur: implicit declaration of function ‘eval_f_cosi’
main.c:177: erreur: implicit declaration of function ‘eval_d_cosi’
main.c:181: attention : le format n'est pas une chaîne littérale et pas d'argument de format
main.c:210: attention : le format n'est pas une chaîne littérale et pas d'argument de format
main.c:67: attention : unused variable ‘col’
main.c:67: attention : unused variable ‘row’
main.c:67: attention : unused variable ‘ncols’
main.c:67: attention : unused variable ‘nrows’
make: * [OBJ.x86_64-unknown-linux-gnu/main.o] Erreur 1
Change History (2)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
the addon is compiling and working ...
thank you very much!
An attempt to fix in r39799. If it works, please close the ticket.
Markus