Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: mendes AT mgconecta DOT com DOT br Message-ID: <36B871E8.E86A17D5@mgconecta.com.br> Date: Wed, 03 Feb 1999 13:57:28 -0200 X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: "gnu-win32 AT cygnus DOT com" Subject: f2c and libf2c.a Content-Type: multipart/alternative; boundary="------------71E8F5D352FD8F26ABFF333C" --------------71E8F5D352FD8F26ABFF333C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi everybody I am having a little problem with gcc and make stuff when compiling fortran-translated-to-C files (using f2c from netlib). Gcc created libf2c.a just it did in my Sun workstation but the problem is when I try to compile my main fortran-translated-to-C file. The system sent me the following msgs: > libf2c.a(iio.o)(.text+0x35): undefined reference to `__errno' > libf2c.a(iio.o)(.text+0x160): undefined reference to `__errno' > libf2c.a(iio.o)(.text+0x413): undefined reference to `__errno' > libf2c.a(wsle.o)(.text+0x90): undefined reference to `__errno' > libf2c.a(wsle.o)(.text+0x97): undefined reference to `__errno' > libf2c.a(wsle.o)(.text+0xa7): more undefined references to `__errno' follow > libf2c.a(fmt.o)(.text+0x92): undefined reference to `_impure_ptr' > libf2c.a(fmt.o)(.text+0xd83): undefined reference to `_impure_ptr' > libf2c.a(fmt.o)(.text+0xd9e): undefined reference to `__errno' > libf2c.a(fmt.o)(.text+0xe4f): undefined reference to `__errno' > It seems that some libraries are missing. Does anybody have any idea of what is wrong? Many thanks Eduardo PS. When I try the same in the SUN everything goes fine. --------------71E8F5D352FD8F26ABFF333C Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi everybody
    I am having a little problem with gcc and make stuff when compiling
fortran-translated-to-C files (using f2c from netlib). Gcc created libf2c.a
just it did in my Sun workstation but the problem is when I try to compile my main fortran-translated-to-C file.
The system sent me the following msgs:
 
libf2c.a(iio.o)(.text+0x35): undefined reference to `__errno'
  libf2c.a(iio.o)(.text+0x160): undefined reference to `__errno'
  libf2c.a(iio.o)(.text+0x413): undefined reference to `__errno'
  libf2c.a(wsle.o)(.text+0x90): undefined reference to `__errno'
  libf2c.a(wsle.o)(.text+0x97): undefined reference to `__errno'
  libf2c.a(wsle.o)(.text+0xa7): more undefined references to `__errno' follow
  libf2c.a(fmt.o)(.text+0x92): undefined reference to `_impure_ptr'
  libf2c.a(fmt.o)(.text+0xd83): undefined reference to `_impure_ptr'
  libf2c.a(fmt.o)(.text+0xd9e): undefined reference to `__errno'
  libf2c.a(fmt.o)(.text+0xe4f): undefined reference to `__errno'

It seems that some libraries are missing.  Does anybody have any idea of what is
wrong?

Many thanks

Eduardo

PS. When I try the same in the SUN everything goes fine.
  --------------71E8F5D352FD8F26ABFF333C--