delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/06/29/21:37:54

To: djgpp AT delorie DOT com
Date: Sun, 29 Jun 2003 18:08:40 -0700
Subject: Linking libs problem
Message-ID: <20030629.180846.11894.0.vmccar0194@juno.com>
X-Mailer: Juno 1.49
X-Juno-Line-Breaks: 0-1,3-9,11-36,38,40-41,43-44,46-51
From: <vmccar0194 AT juno DOT com>
Reply-To: djgpp AT delorie DOT com

  Newsgroup,

  In an attempt to update from DJGPP Ver 2.03, GCC Ver 3.04 I ran onto
the
  following problem, with both DJGPP Ver 2.03, GCC Ver 3.2.3 and the
  experimental DJ204A, GCC Ver 3.30 on linking libraries.

  I am presently using a short name(8+3) setup. I tried using a lfn setup
  and got the same results.

  This compilation is done by a batch file in a ram drive with the
following
  copied files in ram:
  libstdcx.a
  libgcc.a
  libc.a
  I tried moving the lib files around in the batch file and got different
  results but always the same error from libgcc.a, libc.a and libstdcx.a.
  In the DJGPP Ver 2.03 with GCC Ver 3.2.3. GCC compiled ok but I get the
  following errors during linking:

  libgcc.a:
  (unwind-dw2--fde.o)(.text +0x220): multiple definition of
  `__register_frame_auto'

  libc.a:
  (rfinfo.o)(.text.+0x0): `reinfo.c: first defined here'

  libstdcx.a:
  (c++locale.o)(.text._ZSt14__convert_to_vIfEvpkcRT_RSt12_Ios_Iostate
  RKPii+0x65): undefined ref to `finite'

  When using DJGPP Ver 2.04 alpha and GCC 3.30 I get the error message:
  libstdcx.a:
  (c++locale.o)(.text._ZSt14__convert_to_vIfEvpkcRT_RSt12_Ios_Iostate
  RKPii+0x65): undefined ref to `finite'
 
  I went back to the previous version DJGPP Ver 2.03, GCC Ver 3.04  and
it
  compiled all right, with no error messages and the program it produced
ran
  ok, using the same method.
    I read all the info included with the files and the faqV230 and have
not
  found a solution.
    Does anyone know if there anything wrong with the library libstdcx.a
in
  DJGPP ver 2.04 and libstdcx.a, libc.a and libgcc.a in DJGPP Ver 2.03,
  GCC Ver 3.30 or a special setup for the libraries?

  Thank you in advance for your help.
  Vince....


________________________________________________________________
The best thing to hit the internet in years - Juno SpeedBand!
Surf the web up to FIVE TIMES FASTER!
Only $14.95/ month - visit www.juno.com to sign up today!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019