🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #49419

gcc-2.5.8 ld ( collect2 ) problem

#49419
From: David Meleedy
Date: Thu, 27 Jan 1994 07:46
65 lines
3014 bytes
Hello there,

	I recently got the new version of gcc and compiled and installed it.
Unfortunately I got a mysterious error when I tried to actually link anything
with gcc's collect2 program.  I got the following error:

gcc -O -o dsh dsh.o parse.o shelllib.o envlib.o dirlib.o 
Rapidly: sorry; may only be used from within Purify (1,1,1)
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `dsh'

upon looking in the man page for purify I found this:

   -linker                          program-name  rapidly

     This option specifies the name of  the  linker  that  Purify
     should invoke to produce the executable. You should use this
     option only if you need to bypass Purify's linker.


For now.. if I comment out the directory that the purify software is in,
in my path variable, the linking error goes away...

dmm@kodos 2:44am [85] ~ -> ls /soft/purify
purify                         nld/
purify_malloc.h                printcore*
purify~                        pure.log
PureSoft@                       purify*
Purify2Upgrade.ps               purify.h
README                          purify.o
Version                         purify_contact*
ald*                            purify_libsuppress*
cache/                          purify_libsuppress.awk
example/                        purify_remove_old_files*
example_watch/                  purify_setup*
getoption*                      purify_setup_demo*
internal_stubs.a                purify_stubs.a
internal_stubs.so*              purify_stubs.c
libinternal_stubs.so.1.0*       purify_test*
license.dat                     purify_test_license*
license.dat.save                purify_upgrade*
license.dat~                    purifyd*
license.demo.template           rapidly@
lmgrd*                          real-ld@
lmreread*                       rtslave*
lmstat*                         symbols*
man/                            test/
man1@


I am running on a Sun SPARCstation, using sunos_4.1.3.

Any help/ideas would be greatly appreciated.

Thanks...

-Dave


--
=======
David Meleedy                           Smithonian Astrophysical Observatory
dmm@head-cfa.harvard.edu                60 Garden Street, MS 70
Phone: 617 495 7252                     Cambridge, MA  02138  USA
Technical Details
Message-ID: <CKA2xK.4qE@cfanews.harvard.edu>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!sdd.hp.com!think.com!hsdndev!cfanews!kodos.harvard.edu!dmm

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,fafe58daee97f0ab,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1994-01-27 19:47:31 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!sdd.hp.com!think.com!hsdndev!cfanews!kodos.harvard.edu!dmm
From: dmm@kodos.harvard.edu (David Meleedy)
Subject: gcc-2.5.8 ld ( collect2 ) problem
Message-ID: <CKA2xK.4qE@cfanews.harvard.edu>
Sender: news@cfanews.harvard.edu
Organization: Smithsonian Astrophysical Observatory, Cambridge, MA, USA
X-Newsreader: TIN [version 1.2 PL0]
Date: Thu, 27 Jan 1994 07:46:31 GMT
Lines: 65