www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/20/18:28:17

From: "Hooman Katirai" <hkatirai AT netpart DOT com>
To: <djgpp AT delorie DOT com>
Date: Mon, 20 Jul 1998 15:27:21 -0700
Message-ID: <000001bdb42d$96e4b1a0$1901030a@WS-hkatirai.netpartners.com>
MIME-Version: 1.0
Importance: Normal

Hello,

After considerable tinkering I was able to reduce my linking error messages
to the lines below. It seems there is a conflict between my stdc++ and
libg++ libraries. Could you please recommend a solution? I've attached the
compiler's output below. Also long file names do not seem to be working
despite the fact that I've "set LFN=y" and the line "LFN=y"  appears in the
file "D:\DJGPP\" where my compiler is installed.

Thank you very much for your time.

Hooman
---

D:\genetic>g++ main.o stem.o -lstd -lgpp

d:/djgpp/lib/gcc-lib/djgpp\2.81/libgcc.a(exception.o): In function
`terminate(vo
id)':
exception.cc(.text+0x0): multiple definition of `terminate(void)'
d:/djgpp/lib/libstdcxx.a(exceptioni.o)(.text+0x3c):exceptioni.cc: first
defined
here
d:/djgpp/lib/gcc-lib/djgpp\2.81/libgcc.a(exception.o): In function
`__default_un
expected(void)':
exception.cc(.text+0xc): multiple definition of `__default_unexpected(void)'
d:/djgpp/lib/libstdcxx.a(exceptioni.o)(.text+0x8):exceptioni.cc: first
defined h
ere
d:/djgpp/lib/gcc-lib/djgpp\2.81/libgcc.a(exception.o): In function
`set_terminat
e(void (*)(void))':
exception.cc(.text+0x14): multiple definition of `set_terminate(void
(*)(void))'

d:/djgpp/lib/libstdcxx.a(exceptioni.o)(.text+0x10):exceptioni.cc: first
defined
here
d:/djgpp/lib/gcc-lib/djgpp\2.81/libgcc.a(exception.o): In function
`set_unexpect
ed(void (*)(void))':
exception.cc(.text+0x2c): multiple definition of `set_unexpected(void
(*)(void))
'
d:/djgpp/lib/libstdcxx.a(exceptioni.o)(.text+0x26):exceptioni.cc: first
defined
here
d:/djgpp/lib/gcc-lib/djgpp\2.81/libgcc.a(exception.o): In function
`unexpected(v
oid)':
exception.cc(.text+0x44): multiple definition of `unexpected(void)'
d:/djgpp/lib/libstdcxx.a(exceptioni.o)(.text+0x48):exceptioni.cc: first
defined
here


- Raw text -


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