[GRASS5] build errors in i.ortho.photo/ and r3.showdspf

Helena hmitaso at unity.ncsu.edu
Tue Nov 30 23:47:00 EST 2004


Should we retire r3.showdspf now when we have better capabilities in nviz?
(we may keep r3.mkdspf for now as there may be people interested for
generating isosurfaces that will be displayed through vrml)

Helena

Kirk R. Wythers wrote:
> I just finished building the latest snapshot from cvs (11.27.2004). I'm  
> getting the following build errors:
> 
> ----------------------------------------------------------------------
> Following modules are missing the 'description.html' file in src code:
> d.extend
> db.login
> i.ask
> i.find
> v.kernel
> v.neighbors
> ----------------------------------------------------------------------
> GRASS GIS compilation log
> -------------------------
> Started compilation: Tue Nov 30 14:47:05 CST 2004
> Errors in:
> /Users/kirkw/grass5_dev/grass57_exp_2004_11_27/imagery/i.ortho.photo/ libes
> /Users/kirkw/grass5_dev/grass57_exp_2004_11_27/imagery/i.ortho.photo/ menu
> /Users/kirkw/grass5_dev/grass57_exp_2004_11_27/imagery/i.ortho.photo/ 
> photo.2image
> /Users/kirkw/grass5_dev/grass57_exp_2004_11_27/imagery/i.ortho.photo/ 
> photo.2target
> /Users/kirkw/grass5_dev/grass57_exp_2004_11_27/imagery/i.ortho.photo/ 
> photo.camera
> /Users/kirkw/grass5_dev/grass57_exp_2004_11_27/imagery/i.ortho.photo/ 
> photo.elev
> /Users/kirkw/grass5_dev/grass57_exp_2004_11_27/imagery/i.ortho.photo/ 
> photo.init
> /Users/kirkw/grass5_dev/grass57_exp_2004_11_27/imagery/i.ortho.photo/ 
> photo.rectify
> /Users/kirkw/grass5_dev/grass57_exp_2004_11_27/imagery/i.ortho.photo/ 
> photo.target
> /Users/kirkw/grass5_dev/grass57_exp_2004_11_27/raster3d/r3.showdspf
> Finished compilation: Tue Nov 30 14:56:26 CST 2004
> 
> When I do a make in  
> /Users/kirkw/grass5_dev/grass57_exp_2004_11_27/imagery/i.ortho.photo/ 
> photo.target, I get:
> 
> truffula:~/grass5_dev/grass57_exp_2004_11_27 kirkw$ cd  
> imagery/i.ortho.photo/photo.target/
> truffula:~/grass5_dev/grass57_exp_2004_11_27/imagery/i.ortho.photo/ 
> photo.target kirkw$ make
> Makefile:15: warning: overriding commands for target `htmletc1'
> ../../../include/Make/Rules.make:78: warning: ignoring old commands for  
> target `htmletc1'
> gcc -L/usr/X11R6/lib  
> -L/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/dist.powerpc-apple- 
> darwin7.6.0/lib    -I../libes    -DPACKAGE=\""grassmods"\" -o  
> /Users/kirkw/grass5_dev/grass57_exp_2004_11_27/dist.powerpc-apple- 
> darwin7.6.0/etc/photo.target OBJ.powerpc-apple-darwin7.6.0/ask_target.o  
> OBJ.powerpc-apple-darwin7.6.0/main.o -lgrass_I -lgrass_gis  
> -lgrass_datetime -lz    -lgrass_Iortho -lgrass_vask -lncurses   
> -lgrass_gmath -lfftw     -lz
> ld: can't locate file for: -lgrass_Iortho
> make: ***  
> [/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/dist.powerpc-apple- 
> darwin7.6.0/etc/photo.target] Error 1
> 
> This same "ld: can't locate file for: -lgrass_Iortho" error appears in  
> each of the i.ortho.photo commands.
> r3.showdspf gives the following error:
> 
> truffula:~/grass5_dev/grass57_exp_2004_11_27/raster3d/r3.showdspf  
> kirkw$ make
> gcc -I/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/include  
> -I/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/dist.powerpc-apple- 
> darwin7.6.0/include -I/usr/X11R6/include -g -Wall  -Wall -Wconversion  
> -Wno-implicit-int -I/usr/X11R6/include  -I../../lib/dspf -I.    
> -I/usr/X11R6/include     -DPACKAGE=\""grassmods"\"   
> -I/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/include  
> -I/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/dist.powerpc-apple- 
> darwin7.6.0/include \
>         -o OBJ.powerpc-apple-darwin7.6.0/new_init_graphics.o -c  
> new_init_graphics.c
> new_init_graphics.c: In function `set_trackball_rotations':
> new_init_graphics.c:98: warning: passing arg 1 of `glRotatef' as  
> `float' rather than `double' due to prototype
> new_init_graphics.c:98: warning: passing arg 2 of `glRotatef' as  
> `float' rather than `double' due to prototype
> new_init_graphics.c:98: warning: passing arg 3 of `glRotatef' as  
> `float' rather than `double' due to prototype
> new_init_graphics.c:98: warning: passing arg 4 of `glRotatef' as  
> `float' rather than `double' due to prototype
> new_init_graphics.c:99: warning: passing arg 1 of `glRotatef' as  
> `float' rather than `double' due to prototype
> new_init_graphics.c:99: warning: passing arg 2 of `glRotatef' as  
> `float' rather than `double' due to prototype
> new_init_graphics.c:99: warning: passing arg 3 of `glRotatef' as  
> `float' rather than `double' due to prototype
> new_init_graphics.c:99: warning: passing arg 4 of `glRotatef' as  
> `float' rather than `double' due to prototype
> new_init_graphics.c:100: warning: passing arg 1 of `glRotatef' as  
> `float' rather than `double' due to prototype
> new_init_graphics.c:100: warning: passing arg 2 of `glRotatef' as  
> `float' rather than `double' due to prototype
> new_init_graphics.c:100: warning: passing arg 3 of `glRotatef' as  
> `float' rather than `double' due to prototype
> new_init_graphics.c:100: warning: passing arg 4 of `glRotatef' as  
> `float' rather than `double' due to prototype
> new_init_graphics.c: In function `initializeFonts':
> new_init_graphics.c:166: warning: passing arg 1 of `glGenLists' as  
> signed due to prototype
> new_init_graphics.c:167: warning: passing arg 2 of `glXUseXFont' as  
> signed due to prototype
> new_init_graphics.c:167: warning: passing arg 3 of `glXUseXFont' as  
> signed due to prototype
> new_init_graphics.c:167: warning: passing arg 4 of `glXUseXFont' as  
> signed due to prototype
> new_init_graphics.c: In function `new_charstr':
> new_init_graphics.c:182: warning: passing arg 1 of `glCallLists' as  
> signed due to prototype
> new_init_graphics.c: In function `loadrect':
> new_init_graphics.c:219: warning: implicit declaration of function  `free'
> new_init_graphics.c:224: warning: implicit declaration of function  
> `malloc'
> new_init_graphics.c:230: warning: passing arg 3 of `fread' as unsigned  
> due to prototype
> new_init_graphics.c:233: warning: implicit declaration of function  
> `clear_screen'
> new_init_graphics.c:237: warning: passing arg 1 of `glOrtho' as  
> floating rather than integer due to prototype
> new_init_graphics.c:237: warning: passing arg 2 of `glOrtho' as  
> floating rather than integer due to prototype
> new_init_graphics.c:237: warning: passing arg 3 of `glOrtho' as  
> floating rather than integer due to prototype
> new_init_graphics.c:237: warning: passing arg 4 of `glOrtho' as  
> floating rather than integer due to prototype
> new_init_graphics.c:237: warning: passing arg 6 of `glOrtho' as  
> floating rather than integer due to prototype
> new_init_graphics.c:254: warning: implicit declaration of function  
> `gluPerspective'
> new_init_graphics.c:270: warning: passing arg 1 of `glTranslatef' as  
> `float' rather than `double' due to prototype
> new_init_graphics.c:270: warning: passing arg 2 of `glTranslatef' as  
> `float' rather than `double' due to prototype
> new_init_graphics.c:270: warning: passing arg 3 of `glTranslatef' as  
> `float' rather than `double' due to prototype
> new_init_graphics.c: In function `dumprect':
> new_init_graphics.c:313: warning: passing arg 3 of `fwrite' as unsigned  
> due to prototype
> new_init_graphics.c: In function `init_graphics':
> new_init_graphics.c:452: warning: passing arg 9 of `XtAppInitialize' as  
> unsigned due to prototype
> new_init_graphics.c:465: warning: passing arg 4 of `XmCreateForm' as  
> unsigned due to prototype
> new_init_graphics.c:472: warning: implicit declaration of function  `exit'
> new_init_graphics.c:486: warning: passing arg 4 of `XmCreateFrame' as  
> unsigned due to prototype
> new_init_graphics.c:502: warning: passing arg 4 of `XmCreateRowColumn'  
> as unsigned due to prototype
> new_init_graphics.c:504: warning: passing arg 4 of `XmCreateLabel' as  
> unsigned due to prototype
> new_init_graphics.c:510: warning: passing arg 4 of  
> `XmCreateSeparatorGadget' as unsigned due to prototype
> new_init_graphics.c:514: warning: passing arg 4 of `XmCreateRadioBox'  
> as unsigned due to prototype
> new_init_graphics.c:523: warning: passing arg 2 of  
> `XmToggleButtonSetState' with different width due to prototype
> new_init_graphics.c:523: warning: passing arg 3 of  
> `XmToggleButtonSetState' with different width due to prototype
> new_init_graphics.c:528: warning: passing arg 4 of  
> `XmCreateSeparatorGadget' as unsigned due to prototype
> new_init_graphics.c:533: warning: passing arg 5 of  
> `XtCreateManagedWidget' as unsigned due to prototype
> new_init_graphics.c:535: warning: passing arg 5 of  
> `XtCreateManagedWidget' as unsigned due to prototype
> new_init_graphics.c:539: warning: passing arg 4 of `XmCreatePushButton'  
> as unsigned due to prototype
> new_init_graphics.c:544: warning: passing arg 4 of `XmCreateRadioBox'  
> as unsigned due to prototype
> new_init_graphics.c:560: warning: passing arg 2 of  
> `XmToggleButtonSetState' with different width due to prototype
> new_init_graphics.c:560: warning: passing arg 3 of  
> `XmToggleButtonSetState' with different width due to prototype
> new_init_graphics.c:569: error: `GLwNvisualInfo' undeclared (first use  
> in this function)
> new_init_graphics.c:569: error: (Each undeclared identifier is reported  
> only once
> new_init_graphics.c:569: error: for each function it appears in.)
> new_init_graphics.c:569: warning: left-hand operand of comma expression  
> has no effect
> new_init_graphics.c:578: warning: implicit declaration of function  
> `GLwCreateMDrawingArea'
> new_init_graphics.c:578: warning: assignment makes pointer from integer  
> without a cast
> new_init_graphics.c:582: error: `GLwNginitCallback' undeclared (first  
> use in this function)
> new_init_graphics.c:584: error: `GLwNexposeCallback' undeclared (first  
> use in this function)
> new_init_graphics.c:585: error: `GLwNinputCallback' undeclared (first  
> use in this function)
> new_init_graphics.c:586: error: `GLwNresizeCallback' undeclared (first  
> use in this function)
> new_init_graphics.c:602: warning: passing arg 6 of `XtAppCreateShell'  
> as unsigned due to prototype
> new_init_graphics.c:613: warning: passing arg 4 of `XmCreateForm' as  
> unsigned due to prototype
> new_init_graphics.c:628: warning: left-hand operand of comma expression  
> has no effect
> new_init_graphics.c:637: warning: assignment makes pointer from integer  
> without a cast
> new_init_graphics.c: In function `ThresholdCB':
> new_init_graphics.c:676: warning: implicit declaration of function  
> `do_draw_immediate_mode'
> new_init_graphics.c: In function `set_threshold_button':
> new_init_graphics.c:718: warning: passing arg 2 of  
> `XmToggleButtonSetState' with different width due to prototype
> new_init_graphics.c:718: warning: passing arg 3 of  
> `XmToggleButtonSetState' with different width due to prototype
> new_init_graphics.c:723: warning: passing arg 2 of  
> `XmToggleButtonSetState' with different width due to prototype
> new_init_graphics.c:723: warning: passing arg 3 of  
> `XmToggleButtonSetState' with different width due to prototype
> new_init_graphics.c: In function `unset_threshold_button':
> new_init_graphics.c:735: warning: passing arg 2 of  
> `XmToggleButtonSetState' with different width due to prototype
> new_init_graphics.c:735: warning: passing arg 3 of  
> `XmToggleButtonSetState' with different width due to prototype
> new_init_graphics.c: In function `glinputCB':
> new_init_graphics.c:925: error: `GLwDrawingAreaCallbackStruct'  
> undeclared (first use in this function)
> new_init_graphics.c:925: error: `call_data' undeclared (first use in  
> this function)
> new_init_graphics.c:926: error: parse error before ')' token
> new_init_graphics.c:973: warning: implicit declaration of function  
> `do_draw_with_display_list'
> new_init_graphics.c: In function `glinitCB':
> new_init_graphics.c:1044: error: `GLwDrawingAreaCallbackStruct'  
> undeclared (first use in this function)
> new_init_graphics.c:1044: error: `call_data' undeclared (first use in  
> this function)
> new_init_graphics.c:1045: error: parse error before ')' token
> new_init_graphics.c:1048: error: `GLwNvisualInfo' undeclared (first use  
> in this function)
> new_init_graphics.c:1048: warning: left-hand operand of comma  
> expression has no effect
> new_init_graphics.c:1059: warning: passing arg 1 of `glDepthRange' as  
> floating rather than integer due to prototype
> new_init_graphics.c:1059: warning: passing arg 2 of `glDepthRange' as  
> floating rather than integer due to prototype
> new_init_graphics.c:1066: warning: implicit declaration of function  
> `do_lights'
> new_init_graphics.c:1087: warning: passing arg 1 of `glTranslatef' as  
> `float' rather than `double' due to prototype
> new_init_graphics.c:1087: warning: passing arg 2 of `glTranslatef' as  
> `float' rather than `double' due to prototype
> new_init_graphics.c:1087: warning: passing arg 3 of `glTranslatef' as  
> `float' rather than `double' due to prototype
> new_init_graphics.c:1112: warning: implicit declaration of function  
> `gluOrtho2D'
> new_init_graphics.c: In function `glexposeCB':
> new_init_graphics.c:1128: error: `GLwDrawingAreaCallbackStruct'  
> undeclared (first use in this function)
> new_init_graphics.c:1128: error: `call_data' undeclared (first use in  
> this function)
> new_init_graphics.c:1129: error: parse error before ')' token
> new_init_graphics.c: In function `glresizeCB':
> new_init_graphics.c:1160: error: `GLwDrawingAreaCallbackStruct'  
> undeclared (first use in this function)
> new_init_graphics.c:1160: error: `call_data' undeclared (first use in  
> this function)
> new_init_graphics.c:1161: error: parse error before ')' token
> new_init_graphics.c: In function `clear_screen2':
> new_init_graphics.c:1191: warning: passing arg 1 of `glClearColor' as  
> `float' rather than `double' due to prototype
> new_init_graphics.c:1191: warning: passing arg 2 of `glClearColor' as  
> `float' rather than `double' due to prototype
> new_init_graphics.c:1191: warning: passing arg 3 of `glClearColor' as  
> `float' rather than `double' due to prototype
> new_init_graphics.c:1191: warning: passing arg 4 of `glClearColor' as  
> `float' rather than `double' due to prototype
> new_init_graphics.c: In function `glexpose2CB':
> new_init_graphics.c:1205: error: `GLwDrawingAreaCallbackStruct'  
> undeclared (first use in this function)
> new_init_graphics.c:1205: error: `call_data' undeclared (first use in  
> this function)
> new_init_graphics.c:1206: error: parse error before ')' token
> new_init_graphics.c:1223: warning: passing arg 1 of `glOrtho' as  
> floating rather than integer due to prototype
> new_init_graphics.c:1223: warning: passing arg 2 of `glOrtho' as  
> floating rather than integer due to prototype
> new_init_graphics.c:1223: warning: passing arg 3 of `glOrtho' as  
> floating rather than integer due to prototype
> new_init_graphics.c:1223: warning: passing arg 4 of `glOrtho' as  
> floating rather than integer due to prototype
> new_init_graphics.c: In function `glresize2CB':
> new_init_graphics.c:1242: error: `GLwDrawingAreaCallbackStruct'  
> undeclared (first use in this function)
> new_init_graphics.c:1242: error: `call_data' undeclared (first use in  
> this function)
> new_init_graphics.c:1243: error: parse error before ')' token
> new_init_graphics.c:1255: warning: passing arg 1 of `glOrtho' as  
> floating rather than integer due to prototype
> new_init_graphics.c:1255: warning: passing arg 2 of `glOrtho' as  
> floating rather than integer due to prototype
> new_init_graphics.c:1255: warning: passing arg 3 of `glOrtho' as  
> floating rather than integer due to prototype
> new_init_graphics.c:1255: warning: passing arg 4 of `glOrtho' as  
> floating rather than integer due to prototype
> new_init_graphics.c: In function `SingleMultipleCB':
> new_init_graphics.c:1292: warning: passing arg 3 of `XtSetValues' as  
> unsigned due to prototype
> new_init_graphics.c:1299: warning: passing arg 2 of  
> `XmToggleButtonSetState' with different width due to prototype
> new_init_graphics.c:1299: warning: passing arg 3 of  
> `XmToggleButtonSetState' with different width due to prototype
> new_init_graphics.c:1308: warning: passing arg 2 of  
> `XmToggleButtonSetState' with different width due to prototype
> new_init_graphics.c:1308: warning: passing arg 3 of  
> `XmToggleButtonSetState' with different width due to prototype
> new_init_graphics.c:1313: warning: passing arg 3 of `XtSetValues' as  
> unsigned due to prototype
> new_init_graphics.c: In function `setSingleSelectionMode':
> new_init_graphics.c:1361: warning: passing arg 2 of  
> `XmToggleButtonSetState' with different width due to prototype
> new_init_graphics.c:1361: warning: passing arg 3 of  
> `XmToggleButtonSetState' with different width due to prototype
> new_init_graphics.c:1366: warning: passing arg 3 of `XtSetValues' as  
> unsigned due to prototype
> new_init_graphics.c:1373: warning: passing arg 2 of  
> `XmToggleButtonSetState' with different width due to prototype
> new_init_graphics.c:1373: warning: passing arg 3 of  
> `XmToggleButtonSetState' with different width due to prototype
> new_init_graphics.c: In function `setMultipleSelectionMode':
> new_init_graphics.c:1389: warning: passing arg 2 of  
> `XmToggleButtonSetState' with different width due to prototype
> new_init_graphics.c:1389: warning: passing arg 3 of  
> `XmToggleButtonSetState' with different width due to prototype
> new_init_graphics.c:1393: warning: passing arg 2 of  
> `XmToggleButtonSetState' with different width due to prototype
> new_init_graphics.c:1393: warning: passing arg 3 of  
> `XmToggleButtonSetState' with different width due to prototype
> new_init_graphics.c:1398: warning: passing arg 3 of `XtSetValues' as  
> unsigned due to prototype
> make: *** [OBJ.powerpc-apple-darwin7.6.0/new_init_graphics.o] Error 1
> 
> 
> Kirk R. Wythers   
> Dept. of Forest Resources
> University of Minnesota
> email: kwythers at umn.edu
> tel: 612.625.2261
> fax: 612.625.5212
> 
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5





More information about the grass-dev mailing list