getfem-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Getfem-users] Problem with configure and Mingw latest stable releas


From: Julien Pommier
Subject: Re: [Getfem-users] Problem with configure and Mingw latest stable release
Date: Sun, 07 Oct 2007 11:51:58 +0200
User-agent: Internet Messaging Program (IMP) 3.2.6

Hi Jean-Pierre,

Aren't you mixing two different versions of the compiler ? All those references
to gcc 4.0.3 are not the "official" mingw gcc (which is version 3.4.5), so I
presume you compiled and installed your own version of mingw ?

If you want to use gcc-4.0.3 I think
./configure CC=/path/to/gcc403 CXX=/path/to/g++403
should work -- but I have never tried to use a custom mingw build

Best regards,
Julien



Quoting jean - pierre DUCREUX <address@hidden>:

> Hi,
>
> I'm trying to install getfem3.0.1 on Windows Xp with Mingw 5.1.3. The
> configure execution crashes with the following message in config.log :
> configure:22553: gcc -o conftest.exe -O3 -DGMM_USES_BLAS conftest.c
> -Lc:/mingw/bin/../lib/gcc-lib/i686-pc-mingw32/4.0.3/
> -Lc:/mingw/bin/../lib/gcc-lib/i686-pc-mingw32/4.0.3 -Lc:/mingw/lib//
> -Lc:/mingw/lib -Lc:/mingw/lib/gcc-lib/i686-pc-mingw32/4.0.3//
> -Lc:/mingw/lib/gcc-lib/i686-pc-mingw32/4.0.3
> -Lc:/mingw/lib/gcc-lib/i686-pc-mingw32/4.0.3/
> -Lc:/mingw/bin/../lib/gcc-lib/i686-pc-mingw32/4.0.3///
> -Lc:/mingw/lib/gcc-lib/i686-pc-mingw32/4.0.3/// -L/mingw/lib// -L/mingw/lib
> -lf95 -lm -lws2_32 -lmingw32 -lmoldname -lmingwex -lmsvcrt -luser32
> -lkernel32 -ladvapi32 -lshell32 >&5
>
> c:/mingw/bin/../lib/gcc/mingw32/3.4.2/crtbegin.o:crtstuff.c:(.text+0x5):
> undefined reference to `__w32_sharedptr_initialize'
>
> collect2: ld returned 1 exit status
>
> configure:22559: $? = 1
>
> configure: failed program was:
>
> | /* confdefs.h. */
>
> | #define PACKAGE_NAME ""
>
> | #define PACKAGE_TARNAME ""
>
> | #define PACKAGE_VERSION ""
>
> | #define PACKAGE_STRING ""
>
> | #define PACKAGE_BUGREPORT ""
>
> | #define MAJOR_VERSION 3
>
> | #define MINOR_VERSION 0
>
> | #define PATCH_VERSION 1
>
> | #define PACKAGE "getfem++"
>
> | #define VERSION "3.0.1"
>
> | #define STDC_HEADERS 1
>
> | #define HAVE_SYS_TYPES_H 1
>
> | #define HAVE_SYS_STAT_H 1
>
> | #define HAVE_STDLIB_H 1
>
> | #define HAVE_STRING_H 1
>
> | #define HAVE_MEMORY_H 1
>
> | #define HAVE_STRINGS_H 1
>
> | #define HAVE_INTTYPES_H 1
>
> | #define HAVE_STDINT_H 1
>
> | #define HAVE_UNISTD_H 1
>
> | /* end confdefs.h. */
>
> | #define FC_DUMMY_MAIN _main
>
> | #ifdef F77_DUMMY_MAIN
>
> |
>
> | # ifdef __cplusplus
>
> | extern "C"
>
> | # endif
>
> | int F77_DUMMY_MAIN() { return 1; }
>
> |
>
> | #endif
>
> | #ifdef FC_DUMMY_MAIN
>
> | #ifndef FC_DUMMY_MAIN_EQ_F77
>
> | # ifdef __cplusplus
>
> | extern "C"
>
> | # endif
>
> | int FC_DUMMY_MAIN() { return 1; }
>
> | #endif
>
> | #endif
>
> | int
>
> | main ()
>
> | {
>
> |
>
> | ;
>
> | return 0;
>
> | }
>
> configure:22586: result: unknown
>
> configure:22606: error: linking to Fortran libraries from C fails
>
> See `config.log' for more details.
>
> I tried with g95 and gfortran and also with cygwin and it failed. With mingw,
> I obtained the same crash on windows 2000, and 98. Any help will be greatly
> appreciated.
>
> Thanks in advance
>
> Jean -Pierre






reply via email to

[Prev in Thread] Current Thread [Next in Thread]