public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcc/59936] New: undefined reference to gfortran
@ 2014-01-24 16:47 benyahia-nezha at hotmail dot fr
2014-01-27 17:58 ` [Bug libgcc/59936] " dominiq at lps dot ens.fr
2014-01-27 18:16 ` benyahia-nezha at hotmail dot fr
0 siblings, 2 replies; 3+ messages in thread
From: benyahia-nezha at hotmail dot fr @ 2014-01-24 16:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59936
Bug ID: 59936
Summary: undefined reference to gfortran
Product: gcc
Version: 4.7.3
Status: UNCONFIRMED
Severity: blocker
Priority: P3
Component: libgcc
Assignee: unassigned at gcc dot gnu.org
Reporter: benyahia-nezha at hotmail dot fr
Hello,
I'am using quantum espresso in my searches, but i'am still a beginner in this
domain. I have faced a problem in which it prevent me to compile my program, i
have looked all around the internet for the hope of finding a solution to this
issue but unfortunately nothing was found.
If you have some solution to this problem, please don't hesitate for helping
me, and i you will be so gratefull.
Here is the message that i have received when writing the command "gcc
band-3c.for"
root@b-HP-Pavilion-Sleekbook-15-PC:/home/band# gcc band-3c.for
/tmp/ccxmgVZP.o: dans la fonction « MAIN__ »:
band-3c.for : (.text+0x63): référence indéfinie vers « _gfortran_st_open »
band-3c.for : (.text+0xaf): référence indéfinie vers « _gfortran_st_read »
band-3c.for : (.text+0xcc): référence indéfinie vers « _gfortran_transfer_real
»
band-3c.for : (. text+0xe9): référence indéfinie vers « _gfortran_transfer_real
»
band-3c.for : ( .text+0x106): référence indéfinie vers «
_gfortran_transfer_real »
band-3c.for: (.text+0x114): référence indéfinie vers « _gfortran_st_read_done »
band-3c.for: (.text+0x14a): référence indéfinie vers « _gfortran_st_read »
band-3c.for: (.text+0x167): référence indéfinie vers « _gfortran_transfer_real
»
band-3c.for: (.text+0x184): référence indéfinie vers « _gfortran_transfer_real
»
band-3c.for: (.text+0x1a1): référence indéfinie vers « _gfortran_transfer_real
»
band-3c.for: (.text+0x1be): référence indéfinie vers « _gfortran_transfer_real
»
band-3c.for: (.text+0x1db): référence indéfinie vers « _gfortran_transfer_real
»
/tmp/ccxmgVZP.o:band-3c.for . text+0x1f8): encore plus de références
indéfinies suivent vers « _gfortran_transfer_real »
/tmp/ccxmgVZP.o: dans la fonction « MAIN__ »:
band-3c.for: (.text+0x240): référence indéfinie vers « _gfortran_st_read_done »
band-3c.for: (.text+0x28a): référence indéfinie vers « _gfortran_st_write »
band-3c.for: (.text+0x2a7): référence indéfinie vers «
_gfortran_transfer_integer_write »
band-3c.for: (.text+0x2c4): référence indéfinie vers «
_gfortran_transfer_real_write »
band-3c.for: (.text+0x2e1): référence indéfinie vers «
_gfortran_transfer_real_write »
band-3c.for: (.text+0x2fe): référence indéfinie vers «
_gfortran_transfer_real_write »
band-3c.for: (.text+0x31b): référence indéfinie vers «
_gfortran_transfer_real_write »
band-3c.for: (.text+0x338): référence indéfinie vers «
_gfortran_transfer_real_write »
/tmp/ccxmgVZP.o:band-3c.for . text+0x355): encore plus de références
indéfinies suivent vers « _gfortran_transfer_real_write »
/tmp/ccxmgVZP.o: dans la fonction « MAIN__ »:
band-3c.for: (.text+0x39d): référence indéfinie vers « _gfortran_st_write_done
»
/tmp/ccxmgVZP.o: dans la fonction « main »:
band-3c.for: (.text+0x3d7): référence indéfinie vers « _gfortran_set_args »
band-3c.for: (.text+0x3eb): référence indéfinie vers « _gfortran_set_options
»
collect2: erreur: ld a retourné 1 code d'état d'exécution
The file "band-3c.for":
c plot structure de bande
c point du klist a,b,c
c les energies d,e,f,g,h,p,q,r,s,t....(nombre de bande)
real*8 a,b,c,d,e,f,g,h,i,j,k
real*8 l,m,n,o,p,q,r,s
real*8 t,u,v,w,x,y,z,aa
real*8 bb,cc
integer iii
c Lire les energies apartir du fichier out ZnSbands.dat
open(unit=2,status='unknown', file='GaAs-band')
c i est le nonbre de point dans le klist
do iii=1,91
read(2,*) a,b,c
read(2,*) d,e,f,g,h,i,j,k
write(3,10) iii,d,e,f,g,h,i,j,k
10 format(3x,I3,3x,120(f12.4,4x))
end do
end
root@b-HP-Pavilion-Sleekbook-15-PC:/home/band# gfortran -v
Utilisation des specs internes.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.7/lto-wrapper
Target: i686-linux-gnu
Configuré avec: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.7.3-1ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs
--enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.7 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin
--with-system-zlib --enable-objc-gc --enable-targets=all --with-cloog
--enable-cloog-backend=ppl --disable-cloog-version-check
--disable-ppl-version-check --enable-multiarch --disable-werror
--with-arch-32=i686 --with-multilib-list=m32,m64,mx32 --with-tune=generic
--enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu
--target=i686-linux-gnu
Modèle de thread: posix
gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1)
root@b-HP-Pavilion-Sleekbook-15-PC:/home/band#
>From gcc-bugs-return-441459-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Jan 24 16:48:29 2014
Return-Path: <gcc-bugs-return-441459-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25580 invoked by alias); 24 Jan 2014 16:48:29 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 25479 invoked by uid 55); 24 Jan 2014 16:48:26 -0000
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/59886] [4.9 Regression] C++ array init optimization results in RANGE_EXPRs in assignments
Date: Fri, 24 Jan 2014 16:48:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jason at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: jason at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-59886-4-2fhFPxZT5O@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59886-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59886-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-01/txt/msg02601.txt.bz2
Content-length: 484
http://gcc.gnu.org/bugzilla/show_bug.cgi?idY886
--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jan 24 16:47:54 2014
New Revision: 207051
URL: http://gcc.gnu.org/viewcvs?rev 7051&root=gcc&view=rev
Log:
PR c++/59886
PR c++/59659
* typeck2.c (process_init_constructor_array): Don't create
RANGE_EXPR yet.
Added:
trunk/gcc/testsuite/g++.dg/init/aggr10.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/typeck2.c
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libgcc/59936] undefined reference to gfortran
2014-01-24 16:47 [Bug libgcc/59936] New: undefined reference to gfortran benyahia-nezha at hotmail dot fr
@ 2014-01-27 17:58 ` dominiq at lps dot ens.fr
2014-01-27 18:16 ` benyahia-nezha at hotmail dot fr
1 sibling, 0 replies; 3+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-01-27 17:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59936
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Here is the message that i have received when writing the command "gcc band-3c.for"
You should either compile your file with gfortran, or pass the gfortran
libraries: -lgfortran (may be also -lquadmath).
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libgcc/59936] undefined reference to gfortran
2014-01-24 16:47 [Bug libgcc/59936] New: undefined reference to gfortran benyahia-nezha at hotmail dot fr
2014-01-27 17:58 ` [Bug libgcc/59936] " dominiq at lps dot ens.fr
@ 2014-01-27 18:16 ` benyahia-nezha at hotmail dot fr
1 sibling, 0 replies; 3+ messages in thread
From: benyahia-nezha at hotmail dot fr @ 2014-01-27 18:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59936
--- Comment #2 from Benyahia.N <benyahia-nezha at hotmail dot fr> ---
Salam Dominique d'Humieres
Thanks for your response, that's so kind of you,fortunately, i have solved
this problem only by using the command 'gfortran band-3c.for' unstead of 'gcc'
command which must be used only with the 'c' programs. That was so obvious but
it is things that can happen to everybody.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-01-27 18:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-24 16:47 [Bug libgcc/59936] New: undefined reference to gfortran benyahia-nezha at hotmail dot fr
2014-01-27 17:58 ` [Bug libgcc/59936] " dominiq at lps dot ens.fr
2014-01-27 18:16 ` benyahia-nezha at hotmail dot fr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).