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

g77-3.0



Hi.
I have installed the testing Debian distribution on my desktop. I have also installed g77-3.0 (Version 1:3.0-0pre010403) and I have tried to compile the following program:

 implicit double precision(a-h,o-z)
  a=1.d0
  b=sin(a)
  write(6,*) b
  stop
  end

I have obtained this error messages:

/tmp/ccC4fn2B.o: In function `MAIN__':
/tmp/ccC4fn2B.o(.text+0x1e): undefined reference to `__builtin_sin'
collect2: ld returned 1 exit status

If I make only the first part of the compilation, that is "g77-3.0 -c <filename>", I don't obtain error messages. If I try to link an object file <name>.o compiled with g77-2.95,
that is "g77-3.0  <filename>.o " I don't have error messages.
Thank you
Good bye.
                 Stefano Simonucci

You can reply to the following addresses:

simonuc@tline.net <mailto:simonuc@tline.net> or stefano@pcsim.unicam.it <mailto:stefano@pcsim.unicam.it>

          Stefano






Reply to: