[GRASSLIST:5454] Re: v.in.dgn compile with error (new error)

Miguel Cordero migcordero at yahoo.es
Mon Feb 3 11:09:02 EST 2003




Subject: Re: [GRASSLIST:5408] v.in.dgn compile with error (new error)
Date: Mon, 3 Feb 2003 17:01:52 +0100
From: Miguel Cordero <mcordero at lugo.usc.es> (by way of Miguel Cordero 
<migcordero at yahoo.es>)
To: GRASSLIST at baylor.edu
Cc: warmerdam at pobox.com

El Jue 30 Ene 2003 22:14, escribió:
> Hi,
>
> I'm getting error when compile v.in.dgn.
>
> I used  grass50src_cvs_snapshot_exp_2003_01_24.tar.gz and gdal-1.1.8.tar.gz
> too, but error continue:
>
> The file "cpl_conv.h" is missing;
>
>
> --------------------
> miguel at kiwi:~/tmp/grass50_exp_2003_01_24$ gmake5 -i src/mapdev/v.in.dgn
>   SRC     = /home/miguel/tmp/grass50_exp_2003_01_24/src
>   CMD     = /home/miguel/tmp/grass50_exp_2003_01_24/src/CMD
>   UNUSED  = /home/miguel/tmp/grass50_exp_2003_01_24/unused
>   HEADER  = head.i586-pc-linux-gnu
>   ARCH    = i586-pc-linux-gnu
>   GISBASE = /home/miguel/tmp/grass50_exp_2003_01_24/dist.i586-pc-linux-gnu
>   VERSION = 5.0.1-cvs October 2002
> #################################################################
> /home/miguel/tmp/grass50_exp_2003_01_24/src/mapdev/v.in.dgn
>   make -f OBJ.i586-pc-linux-gnu/make.rules
>
> gcc -I/home/miguel/tmp/grass50_exp_2003_01_24/src/include -g -O2     -c
> main.c -o OBJ.i586-pc-linux-gnu/main.o

Thanks, now this is OK.
but...  I get a new error !!!

I tried with
gdal-1.1.8.tar.gz in http://remotesensing.org/gdal/
dgnlib-1.6.zip in http://gdal.velocet.ca/projects/dgn/
but the result is the same.

With grass5.0.1 and grass50_exp_2003_01_24 there are some differences,  but
talk about the same funcitions.

Thanks,

Miguel



With grass5.0.1:
-----------------------------------------------------------------------------
--------------- miguel at kiwi:~/tmp/grass5.0.1/src/mapdev/v.in.dgn$ gmake5 -i
  SRC     = /home/miguel/tmp/grass5.0.1/src
  CMD     = /home/miguel/tmp/grass5.0.1/src/CMD
  UNUSED  = /home/miguel/tmp/grass5.0.1/unused
  HEADER  = head.i586-pc-linux-gnu
  ARCH    = i586-pc-linux-gnu
  GISBASE = /home/miguel/tmp/grass5.0.1/dist.i586-pc-linux-gnu
  VERSION = 5.0.1 January 2003
#################################################################
/home/miguel/tmp/grass5.0.1/src/mapdev/v.in.dgn
  make -f OBJ.i586-pc-linux-gnu/make.rules

gcc -I/home/miguel/tmp/grass5.0.1/src/include -g -O2     -c main.c -o
OBJ.i586-pc-linux-gnu/main.o
main.c: In function `main':
main.c:142: too few arguments to function `DGNOpen'
make: *** [OBJ.i586-pc-linux-gnu/main.o] Error 1
miguel at kiwi:~/tmp/grass5.0.1/src/mapdev/v.in.dgn$
-------------------------------------------------------------------------


and with grass50src_cvs_snapshot_exp_2003_01_24.tar.gz

-----------------------------------------------------------------------------
-------------------------

miguel at kiwi:~/tmp/grass50_exp_2003_01_24/src/mapdev/v.in.dgn$ gmake5 -i
  SRC     = /home/miguel/tmp/grass50_exp_2003_01_24/src
  CMD     = /home/miguel/tmp/grass50_exp_2003_01_24/src/CMD
  UNUSED  = /home/miguel/tmp/grass50_exp_2003_01_24/unused
  HEADER  = head.i586-pc-linux-gnu
  ARCH    = i586-pc-linux-gnu
  GISBASE = /home/miguel/tmp/grass50_exp_2003_01_24/dist.i586-pc-linux-gnu
  VERSION = 5.0.1-cvs October 2002
#################################################################
/home/miguel/tmp/grass50_exp_2003_01_24/src/mapdev/v.in.dgn
  make -f OBJ.i586-pc-linux-gnu/make.rules

gcc -L/home/miguel/tmp/grass50_exp_2003_01_24/src/libes/LIB.i586-pc-linux-gnu
 -o
/home/miguel/tmp/grass50_exp_2003_01_24/dist.i586-pc-linux-gnu/etc/bin/cmd/v.
in.dgn OBJ.i586-pc-linux-gnu/main.o -lvect -ldig2 -lgis -ldl -lm  -lz
OBJ.i586-pc-linux-gnu/main.o: En la función `main':
/home/miguel/tmp/grass50_exp_2003_01_24/src/mapdev/v.in.dgn/main.c:164:
referencia a `DGNOpen' sin definir
/home/miguel/tmp/grass50_exp_2003_01_24/src/mapdev/v.in.dgn/main.c:170:
referencia a `DGNClose' sin definir
/home/miguel/tmp/grass50_exp_2003_01_24/src/mapdev/v.in.dgn/main.c:176:
referencia a `DGNClose' sin definir
/home/miguel/tmp/grass50_exp_2003_01_24/src/mapdev/v.in.dgn/main.c:194:
referencia a `DGNGetElementIndex' sin definir
/home/miguel/tmp/grass50_exp_2003_01_24/src/mapdev/v.in.dgn/main.c:202:
referencia a `DGNFreeElement' sin definir
/home/miguel/tmp/grass50_exp_2003_01_24/src/mapdev/v.in.dgn/main.c:204:
referencia a `DGNReadElement' sin definir
/home/miguel/tmp/grass50_exp_2003_01_24/src/mapdev/v.in.dgn/main.c:211:
referencia a `DGNClose' sin definir
OBJ.i586-pc-linux-gnu/main.o: En la función `read_element':
/home/miguel/tmp/grass50_exp_2003_01_24/src/mapdev/v.in.dgn/main.c:248:
referencia a `DGNGetLinkage' sin definir
/home/miguel/tmp/grass50_exp_2003_01_24/src/mapdev/v.in.dgn/main.c:302:
referencia a `DGNStrokeArc' sin definir
/home/miguel/tmp/grass50_exp_2003_01_24/src/mapdev/v.in.dgn/main.c:321:
referencia a `DGNStrokeCurve' sin definir
/home/miguel/tmp/grass50_exp_2003_01_24/src/mapdev/v.in.dgn/main.c:425:
referencia a `DGNTypeToName' sin definir
/home/miguel/tmp/grass50_exp_2003_01_24/src/mapdev/v.in.dgn/main.c:429:
referencia a `DGNTypeToName' sin definir
collect2: ld returned 1 exit status
make: ***
[/home/miguel/tmp/grass50_exp_2003_01_24/dist.i586-pc-linux-gnu/etc/bin/cmd/v
.in.dgn] Error 1
miguel at kiwi:~/tmp/grass50_exp_2003_01_24/src/mapdev/v.in.dgn$

-----------------------------------------------------------------------------
-------------------------------




More information about the grass-user mailing list