[GRASS5] [bug #3893] (grass) simlib does not built in Mac OS X

Request Tracker grass-bugs at intevation.de
Mon Dec 12 17:45:31 EST 2005


this bug's URL: http://intevation.de/rt/webrt?serial_num=3893
-------------------------------------------------------------------------

Subject: simlib does not built in Mac OS X

Platform: Mac OSX
grass binary for platform: Compiled from Sources
GRASS Version: 6.1_20051210

simlib does not built in Mac OS X.
Now the problems are different: there are many 'Undefined symbols'.
Does it requires a particular library?

Error output
----------
simlib
cp waterglobs.h /Volumes/G4_APPLI/src/grass-6.1.cvs_src_snapshot_2005_12_10/dist.powerpc-
apple-darwin6.8/include/grass/waterglobs.h
gcc -I/Volumes/G4_APPLI/src/grass-6.1.cvs_src_snapshot_2005_12_10/include -I/Volumes/
G4_APPLI/src/grass-6.1.cvs_src_snapshot_2005_12_10/dist.powerpc-apple-darwin6.8/include/
grass -I/usr/X11R6/include -I/usr/local/grasslib/include -O3 -D_FILE_OFFSET_BITS=64  -Wall 
-Wconversion -Wno-implicit-int -I/usr/X11R6/include -I/usr/local/grasslib/include  -fno-common    
-DPACKAGE=\""grasslibs"\"     -DPACKAGE=\""grasslibs"\"  -I/Volumes/G4_APPLI/src/grass
-6.1.cvs_src_snapshot_2005_12_10/include -I/Volumes/G4_APPLI/src/grass
-6.1.cvs_src_snapshot_2005_12_10/dist.powerpc-apple-darwin6.8/include/grass \
        -o OBJ.powerpc-apple-darwin6.8/input.o -c input.c
In file included from input.c:11:
waterglobs.h:171: warning: useless keyword or type name in empty declaration
input.c: In function `input_data':
input.c:247: warning: passing arg 1 of `G_is_f_null_value' from incompatible pointer type
input.c:251: warning: passing arg 1 of `G_is_f_null_value' from incompatible pointer type
input.c:260: warning: passing arg 1 of `G_is_f_null_value' from incompatible pointer type
input.c:259: warning: suggest explicit braces to avoid ambiguous `else'
input.c:267: warning: passing arg 1 of `G_is_f_null_value' from incompatible pointer type
input.c:266: warning: suggest explicit braces to avoid ambiguous `else'
input.c:273: warning: suggest explicit braces to avoid ambiguous `else'
input.c:286: warning: suggest explicit braces to avoid ambiguous `else'
input.c:293: warning: suggest explicit braces to avoid ambiguous `else'
input.c:300: warning: suggest explicit braces to avoid ambiguous `else'
input.c:308: warning: passing arg 1 of `G_is_f_null_value' from incompatible pointer type
input.c:307: warning: suggest explicit braces to avoid ambiguous `else'
input.c:28: warning: `cell4b' might be used uninitialized in this function
input.c:29: warning: `cell9' might be used uninitialized in this function
input.c:29: warning: `cell10' might be used uninitialized in this function
input.c:29: warning: `cell11' might be used uninitialized in this function
input.c:30: warning: `cell4' might be used uninitialized in this function
input.c:30: warning: `cell4a' might be used uninitialized in this function
input.c:30: warning: `cell12' might be used uninitialized in this function
input.c:31: warning: `fd4' might be used uninitialized in this function
input.c:31: warning: `fd4a' might be used uninitialized in this function
input.c:31: warning: `fd4b' might be used uninitialized in this function
input.c:32: warning: `fd9' might be used uninitialized in this function
input.c:32: warning: `fd10' might be used uninitialized in this function
input.c:32: warning: `fd11' might be used uninitialized in this function
input.c:32: warning: `fd12' might be used uninitialized in this function
gcc -I/Volumes/G4_APPLI/src/grass-6.1.cvs_src_snapshot_2005_12_10/include -I/Volumes/
G4_APPLI/src/grass-6.1.cvs_src_snapshot_2005_12_10/dist.powerpc-apple-darwin6.8/include/
grass -I/usr/X11R6/include -I/usr/local/grasslib/include -O3 -D_FILE_OFFSET_BITS=64  -Wall 
-Wconversion -Wno-implicit-int -I/usr/X11R6/include -I/usr/local/grasslib/include  -fno-common    
-DPACKAGE=\""grasslibs"\"     -DPACKAGE=\""grasslibs"\"  -I/Volumes/G4_APPLI/src/grass
-6.1.cvs_src_snapshot_2005_12_10/include -I/Volumes/G4_APPLI/src/grass
-6.1.cvs_src_snapshot_2005_12_10/dist.powerpc-apple-darwin6.8/include/grass \
        -o OBJ.powerpc-apple-darwin6.8/random.o -c random.c
In file included from random.c:11:
waterglobs.h:171: warning: useless keyword or type name in empty declaration
gcc -I/Volumes/G4_APPLI/src/grass-6.1.cvs_src_snapshot_2005_12_10/include -I/Volumes/
G4_APPLI/src/grass-6.1.cvs_src_snapshot_2005_12_10/dist.powerpc-apple-darwin6.8/include/
grass -I/usr/X11R6/include -I/usr/local/grasslib/include -O3 -D_FILE_OFFSET_BITS=64  -Wall 
-Wconversion -Wno-implicit-int -I/usr/X11R6/include -I/usr/local/grasslib/include  -fno-common    
-DPACKAGE=\""grasslibs"\"     -DPACKAGE=\""grasslibs"\"  -I/Volumes/G4_APPLI/src/grass
-6.1.cvs_src_snapshot_2005_12_10/include -I/Volumes/G4_APPLI/src/grass
-6.1.cvs_src_snapshot_2005_12_10/dist.powerpc-apple-darwin6.8/include/grass \
        -o OBJ.powerpc-apple-darwin6.8/hydro.o -c hydro.c
In file included from hydro.c:11:
waterglobs.h:171: warning: useless keyword or type name in empty declaration
hydro.c: In function `main_loop':
hydro.c:25: warning: unused variable `icount'
hydro.c:29: warning: unused variable `nflw'
hydro.c:37: warning: unused variable `zx'
hydro.c:37: warning: unused variable `zy'
hydro.c:37: warning: unused variable `zd'
hydro.c:37: warning: unused variable `sinsl'
hydro.c:33: warning: `conn' might be used uninitialized in this function
gcc -I/Volumes/G4_APPLI/src/grass-6.1.cvs_src_snapshot_2005_12_10/include -I/Volumes/
G4_APPLI/src/grass-6.1.cvs_src_snapshot_2005_12_10/dist.powerpc-apple-darwin6.8/include/
grass -I/usr/X11R6/include -I/usr/local/grasslib/include -O3 -D_FILE_OFFSET_BITS=64  -Wall 
-Wconversion -Wno-implicit-int -I/usr/X11R6/include -I/usr/local/grasslib/include  -fno-common    
-DPACKAGE=\""grasslibs"\"     -DPACKAGE=\""grasslibs"\"  -I/Volumes/G4_APPLI/src/grass
-6.1.cvs_src_snapshot_2005_12_10/include -I/Volumes/G4_APPLI/src/grass
-6.1.cvs_src_snapshot_2005_12_10/dist.powerpc-apple-darwin6.8/include/grass \
        -o OBJ.powerpc-apple-darwin6.8/output.o -c output.c
In file included from output.c:11:
waterglobs.h:171: warning: useless keyword or type name in empty declaration
output.c: In function `output_data':
output.c:556: warning: comparison between pointer and integer
output.c:24: warning: unused variable `zx'
output.c:24: warning: unused variable `zy'
output.c:24: warning: unused variable `zd'
output.c:24: warning: unused variable `sinsl'
output.c:18: warning: `cell6' might be used uninitialized in this function
output.c:18: warning: `cell7' might be used uninitialized in this function
output.c:18: warning: `cell8' might be used uninitialized in this function
output.c:19: warning: `cell14' might be used uninitialized in this function
output.c:19: warning: `cell15' might be used uninitialized in this function
output.c:19: warning: `cell16' might be used uninitialized in this function
output.c:20: warning: `fd6' might be used uninitialized in this function
output.c:20: warning: `fd7' might be used uninitialized in this function
output.c:20: warning: `fd8' might be used uninitialized in this function
output.c:21: warning: `fd14' might be used uninitialized in this function
output.c:21: warning: `fd15' might be used uninitialized in this function
output.c:21: warning: `fd16' might be used uninitialized in this function
output.c: In function `output_et':
output.c:634: warning: `cell13' might be used uninitialized in this function
output.c:634: warning: `cell17' might be used uninitialized in this function
output.c:635: warning: `fd13' might be used uninitialized in this function
output.c:635: warning: `fd17' might be used uninitialized in this function
gcc -I/Volumes/G4_APPLI/src/grass-6.1.cvs_src_snapshot_2005_12_10/include -I/Volumes/
G4_APPLI/src/grass-6.1.cvs_src_snapshot_2005_12_10/dist.powerpc-apple-darwin6.8/include/
grass -I/usr/X11R6/include -I/usr/local/grasslib/include -O3 -D_FILE_OFFSET_BITS=64  -Wall 
-Wconversion -Wno-implicit-int -I/usr/X11R6/include -I/usr/local/grasslib/include  -fno-common    
-DPACKAGE=\""grasslibs"\"     -DPACKAGE=\""grasslibs"\"  -I/Volumes/G4_APPLI/src/grass
-6.1.cvs_src_snapshot_2005_12_10/include -I/Volumes/G4_APPLI/src/grass
-6.1.cvs_src_snapshot_2005_12_10/dist.powerpc-apple-darwin6.8/include/grass \
        -o OBJ.powerpc-apple-darwin6.8/erod.o -c erod.c
In file included from erod.c:11:
waterglobs.h:171: warning: useless keyword or type name in empty declaration
cc -dynamiclib -flat_namespace -compatibility_version 6.1 -current_version 6.1 -install_name /
Applications/Grass/grass61cvs.app/Contents/Resources/grass-6.1.cvs/lib/libgrass_sim.dylib -o /
Volumes/G4_APPLI/src/grass-6.1.cvs_src_snapshot_2005_12_10/dist.powerpc-apple-darwin6.8/
lib/libgrass_sim.6.1.cvs.dylib -L/usr/X11R6/lib -L/usr/local/grasslib/lib -L/Volumes/G4_APPLI/src/
grass-6.1.cvs_src_snapshot_2005_12_10/dist.powerpc-apple-darwin6.8/lib  -L/usr/local/pgsql/lib   
OBJ.powerpc-apple-darwin6.8/input.o OBJ.powerpc-apple-darwin6.8/random.o OBJ.powerpc-apple-
darwin6.8/hydro.o OBJ.powerpc-apple-darwin6.8/output.o OBJ.powerpc-apple-darwin6.8/erod.o 
-lgrass_gis -lgrass_datetime -lz   -lintl -lgrass_bitmap -lgrass_dbmiclient -lgrass_dbmibase  
-lgrass_gmath -L/usr/local/grasslib/lib -lfftw  -framework vecLib  -framework vecLib  -lgrass_linkm 
-lz  -lgrass_sites  && if [ -z "" ] ; then ln -f -s libgrass_sim.6.1.cvs.dylib /Volumes/G4_APPLI/src/
grass-6.1.cvs_src_snapshot_2005_12_10/dist.powerpc-apple-darwin6.8/lib/libgrass_sim.dylib; fi
ld: warning prebinding disabled because dependent library: /Applications/Grass/grass61cvs.app/
Contents/Resources/grass-6.1.cvs/lib/libgrass_gis.dylib is not prebound
ld: Undefined symbols:
_cchez
_cellhd
_chmean
_ct
_dc
_deltap
_detin
_dxin
_dyin
_elevin
_et
_fdsfile
_fw
_gama
_inf
_infil
_infmean
_infsum
_iterout
_manin
_miter
_mx
_my
_npoints
_npoints_alloc
_points
_rain
_sfile
_si
_si0
_sigma
_sisum
_slope
_stepx
_stepy
_tau
_tauin
_timec
_timesec
_tranin
_trap
_traps
_v1
_v2
_vmean
_wdepth
_zz
_seed
_bresx
_bresy
_deldif
_dif
_erdep
_frac
_gammas
_halpha
_hbeta
_hhc/usr/bin/libtool: internal link edit command failed

_hhmax
_iflag
_ldemo
_lwwfin
_maxwa
_mixx
_miyy
_nstack
_nwalk
_nwalka
_rwalk
_stack
_step
_ts
_vavg
_w
_xmax
_xmin
_xp0
_ymax
_ymin
_yp0
_conc
_depth
_disch
_er
_fdoutwalk
_flux
_outwalk
_tc
make[3]: *** [/Volumes/G4_APPLI/src/grass-6.1.cvs_src_snapshot_2005_12_10/dist.powerpc-
apple-darwin6.8/lib/libgrass_sim.6.1.cvs.dylib] Error 1


-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list