[GRASS5] compile errors on Linux

Markus Neteler neteler at geog.uni-hannover.de
Thu Nov 30 10:07:56 EST 2000


On Thu, Nov 30, 2000 at 11:11:48PM +0900, GRASS wrote:
> Hi developers,
> 
> I've experienced compilation errors in src/libes/vask and src/libes/gis
> directories on Linux.
> I succeeded to compile two modules by adding -DHAVE_TERMIO_H into
> src/libes/vask/Gmakefile and -DSETPGRP_VOID -DHAVE_TERMIO_H into
> src/libes/gis/Gmakefile.
> Where should two macros be defined? I have no clue and my life OS isn't linux
> :-)
> Please fix these bugs.
Hi Cho,

this is defined in
src/include/config.h

neteler at bermuda:~/ggg > grep HAVE_TERMIO src/include/config.h
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
neteler at bermuda:~/ggg > grep SETPGRP_VOID src/include/config.h
#define SETPGRP_VOID 1

So the including of "config.h" is required. Please add in the files
where the error occurs. From "SUBMITTING" (added by Justin this morning):
"5.  To ensure that the software system continues to work, please include

        #include "config.h"

    in your files and make use of the various system dependencies
    contained therein.  As one example of this, see
    src/paint/Interface/driverlib/io.c.  Please refrain from declaring
    system functions within the software; include the proper header files
    (conditionally dependent on config.h macros if necessary) instead.
" 

As you can find out the files affected, may I ask you to add the statement?

Thanks

 Markus

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list