[GRASSLIST:1116] compiling postgres modules

mlennert at club.worldonline.be mlennert at club.worldonline.be
Mon Nov 13 11:34:34 EST 2000


Hello, when I launch gmake5 in the src.garden/grass.postgres directory I get 
the following error:

  SRC     = /usr/local/grass/src
  CMD     = /usr/local/grass/src/CMD
  HEADER  = head.i686-linux-elf
  ARCH    = i686-linux-elf
  GISBASE = /usr/local/grass-5.0b
  VERSION = 5.0beta9 September 2000 
#################################################################
/usr/local/grass/src.garden/grass.postgresql
  make -f OBJ.i686-linux-elf/make.rules 

/usr/local/bin/gmake5 d.rast.pg
  SRC     = /usr/local/grass/src
  CMD     = /usr/local/grass/src/CMD
  HEADER  = head.i686-linux-elf
  ARCH    = i686-linux-elf
  GISBASE = /usr/local/grass-5.0b
  VERSION = 5.0beta9 September 2000 
#################################################################
/usr/local/grass/src.garden/grass.postgresql/d.rast.pg
  make -f OBJ.i686-linux-elf/make.rules 

make[1]: Entering directory `/usr/local/grass/src.garden/grass.postgresql/d.ras
t.pg'
gcc -g -O2 @PQINCPATH@ -I/usr/local/grass/src/include  -c main.c -o 
OBJ.i686-linux-elf/main.o
gcc: cannot specify -o with -c or -S and multiple compilations
make[1]: *** [OBJ.i686-linux-elf/main.o] Error 1
make[1]: Leaving directory `/usr/local/grass/src.garden/grass.postgresql/d.rast
.pg'
make: *** [all] Error 2

What's wrong ?

Moritz




More information about the grass-user mailing list