[Getdp] Compile Problem with CYGWIN

Peter Binde peter.binde at drbinde.de
Mon Jun 8 11:08:33 CEST 2009


Hi Lars,

this solves my problem. Thank you very much for this help.

Regards,
Peter Binde



-----Ursprüngliche Nachricht-----
Von: getdp-bounces at geuz.org [mailto:getdp-bounces at geuz.org] Im Auftrag von
Lars Rindorf
Gesendet: Montag, 8. Juni 2009 09:15
An: getdp at geuz.org
Betreff: Re: [Getdp] Compile Problem with CYGWIN

Hi Peter

You are linking with mingw instead of cygwin. This could be the problem. I
compiled getDP using cygwin, and I think I got the same error message. My
notes say that you should configure using "./configure --enable-cygwin" but
I don't know if this does the trick.

KR, Lars

-----Oprindelig meddelelse-----
Fra: getdp-bounces at geuz.org [mailto:getdp-bounces at geuz.org] På vegne af
Peter Binde
Sendt: 6. juni 2009 19:53
Til: getdp at geuz.org
Emne: [Getdp] Compile Problem with CYGWIN

Hello,

Can anybody please tell me what my mistake is: I want to compile getdp from
the sources under Windows Vista 32bit with Cygwin and GSL installed. The
configure-command works but the make always gives the error-messages:



gcc -mno-cygwin -g -O2  -DHAVE_BLAS_LAPACK -DHAVE_ARPACK -DHAVE_GSL
-DHAVE_SPARSKIT -DHAVE_ILU_FLOAT -I. -I../include -I
../DataStr -I../DofData -I../Function -I../GeoData -I../Integration
-I../Numeric -I../Post -I../Sparskit -I../FMM -I../NR -I../Parser   -c -o
Get_Geometry.o Get_Geometry.c
Get_Geometry.c:27:28: gsl/gsl_vector.h: No such file or directory
Get_Geometry.c:28:28: gsl/gsl_linalg.h: No such file or directory
Get_Geometry.c: In function `Get_InverseSingularMatrix':
Get_Geometry.c:947: error: `gsl_matrix' undeclared (first use in this
function)
Get_Geometry.c:947: error: (Each undeclared identifier is reported only once
Get_Geometry.c:947: error: for each function it appears in.)
Get_Geometry.c:947: error: `M' undeclared (first use in this function)
Get_Geometry.c:947: error: `V' undeclared (first use in this function)
Get_Geometry.c:948: error: `gsl_vector' undeclared (first use in this
function)
Get_Geometry.c:948: error: `W' undeclared (first use in this function)
Get_Geometry.c:948: error: `TMPVEC' undeclared (first use in this function)
make[1]: *** [Get_Geometry.o] Error 1
make[1]: Leaving directory `/usr/src/getdp-1.2.1/Main'


It seems as if he does not find "gsl_vector.h" and "gsl_linalg.h" but all
the others from GSL do not make a problem.
At the end the linker gives the error-message:

/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/bin/ld:
cannot find -lMain
collect2: ld returned 1 exit status
make: *** [link] Error 1



This happens with all versions I have tried (1.2.0, 1.2.1,
2.0.0-cvs-20090605). I tried also under Win XP with the same result.



Best regards and thanks for any help,
Peter Binde



_______________________________________________
getdp mailing list
getdp at geuz.org
http://www.geuz.org/mailman/listinfo/getdp

_______________________________________________
getdp mailing list
getdp at geuz.org
http://www.geuz.org/mailman/listinfo/getdp