This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcc/59936] New: undefined reference to gfortran


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#

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]