www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:mime-version:in-reply-to:references:date | |
:message-id:subject:from:to:content-type; q=dns; s=default; b=C4 | |
9AwAfkqv1yoqYcMLBuIRPZCfDnJHOC2SQpQyFWDPPhe433YUUk1m1/4DI1e3MKaf | |
F8w354u7ADJDHXzxHh/jLGmOrRuLMVKvbjhkLiTKkARHmuImA1ts2u+LUVgyUVVl | |
6D9Jtk9SdAxsof1wFirqEExEPZsDDDDwhrN9rKwNQ= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:mime-version:in-reply-to:references:date | |
:message-id:subject:from:to:content-type; s=default; bh=AI/nD/AN | |
+UECqfxkw01Sa1CycLs=; b=p8Mv6KiL0oAMrTA4AwHe1OGqPlLoP42EtSZ7hAtf | |
zjKrzeY6KBua0pAS0Re5PFqVh8qOKhCQ0QsjQ6ejTbRS0bQSNTzMVJr5Brk+ZWEZ | |
JZHFqzvcYmBdvIH2JwJYwn/phloxkRJLZWGHoDv1h5x26dBDedUQCcs4YQ+MXnDJ | |
LT4= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Spam-SWARE-Status: | No, score=-3.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1 |
MIME-Version: | 1.0 |
X-Received: | by 10.194.122.131 with SMTP id ls3mr9083118wjb.55.1367317598864; Tue, 30 Apr 2013 03:26:38 -0700 (PDT) |
In-Reply-To: | <DUB119-W1123347B4B2F217D185866C8B30@phx.gbl> |
References: | <DUB119-W1123347B4B2F217D185866C8B30 AT phx DOT gbl> |
Date: | Tue, 30 Apr 2013 12:26:38 +0200 |
Message-ID: | <CAEhDDbBWo58PQr41y7YkkaaUUq5vvxvAmQvG6c3swvBs1VyBXg@mail.gmail.com> |
Subject: | Re: Linking Problems and undefined references to standart functions |
From: | Csaba Raduly <rcsaba AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Hi Sonya, On Tue, Apr 30, 2013 at 9:18 AM, Sonya Blade wrote: > Dear All, > > I tried to use the Petsc library, compiled without any error during cygwin terminalcompilation, > with gfortran (which works in Code Block editor) and tried to run some of the examples which > flawlessly works in C but not in gfortran. > > Although I used and set the same library in linking, headers and search as is in C when it > comes to gfortran it raises the following errors. I don't think that its related to the Petsc > instead due to some wrong configuration I get such and error. > > Does any body can help? > > > cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/ftn-custom/zstart.c:262: undefined reference to `__getreent' > /cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/ftn-custom/zstart.c:263: undefined reference to `__getreent' > C:/Users/...../Downloads/petsc-3.3-p6/arch-mswin-c-debug/lib/libpetsc.a(mal.c.o): In function `PetscMallocAlign': > /cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/memory/mal.c:30: undefined reference to `memalign' > C:/Users/...../Downloads/petsc-3.3-p6/arch-mswin-c-debug/lib/libpetsc.a(pinit.c.o): In function `PetscInitialize': > /cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/objects/pinit.c:650: undefined reference to `__getreent' > /cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/objects/pinit.c:651: undefined reference to `__getreent' > C:/Users/...../Downloads/petsc-3.3-p6/arch-mswin-c-debug/lib/libpetsc.a(pinit.c.o): In function `PetscFinalize': > /cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/objects/pinit.c:1002: undefined reference to `__getreent' > /cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/objects/pinit.c:1130: undefined reference to `__getreent' > /cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/objects/pinit.c:1151: undefined reference to `__getreent' > C:/Users/...../Downloads/petsc-3.3-p6/arch-mswin-c-debug/lib/libpetsc.a(mprint.c.o): In function `PetscSynchronizedFGets': > /cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/fileio/mprint.c:661: undefined reference to `__errno' > C:/Users/...../Downloads/petsc-3.3-p6/arch-mswin-c-debug/lib/libpetsc.a(options.c.o): In function `PetscOptionsValidKey': > /cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/objects/options.c:256: undefined reference to `_imp____ctype_ptr__' > /cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/objects/options.c:257: undefined reference to `_imp____ctype_ptr__' > C:/Users/...../Downloads/petsc-3.3-p6/arch-mswin-c-debug/lib/libpetsc.a(options.c.o): In function `PetscOptionsInsert': > /cygdrive/c/Users/...../Downloads/petsc-3.3-p6/src/sys/objects/options.c:599: undefined reference to `__getreent' What was the linker command that generated these errors? Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds "People disagree with me. I just ignore them." -- Linus Torvalds -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |