Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Leslie F. Donaldson <donaldlf@cs.rose-hulman.edu>
Subject: Problems Compiling on axp
Date: Fri, 12 Sep 1997 09:35:23 -0500 (EST)	[thread overview]
Message-ID: <199709121435.JAA02136@vulture.cs.rose-hulman.edu> (raw)

Hello,
  here is an interesting problem for all

System  AXP
        Redhat 4.2
        Binutils (Upgraded)

Problem: I went to compile some personal code and wanted to link in the ImageMa\b\b
ImageMagick library and I kept discovering that I was getting unresolved
sysmbols in the linker stage. After a lot of testing I found that my
code, the Image Magick Library, and the link stage had to either all
be done by g++ or it would fail. Listed below is a map of failures. I
beleive it is all correct.(I am typing this from memory)

My code  Magick  Link  Success
g++       gcc     g++    NO
g++        gcc    gcc    no
gcc       gcc     gcc    yes
gcc       gcc     g++    yes
g++       g++     g++    yes
gcc       g++      gcc   no
gcc       g++     g++     ??
g++       g++     gcc    yes

I think the problem is in the name mangling of the g++ compiler. I was
hopeing some could confirm the core of the problem so I could ficx this
problem on my system. I finally to work around this problem recompiled
ImageMagick libraries with c++ and thin link with them. On a side
note 	I noticed that the ld.so did not recgonixed the new shared 
libraries. hmmm Anyone know where I can gewt the latest AXP ld.so
package.(source,rpm etc)

Thanks for all the help.
Leslie Donaldson
/----------------------------\ Current Contractor: Oxford International
|    Leslie F. Donaldson     | Current Customer  : Entergy Inc. 
|    Computer Contractor     | Skills: Unix/OS9/VMS/Linux/SUN-OS/C/C++/assembly
| Have Computer will travel. | Curr   : http://www.cs.rose-hulman.edu/~donaldlf
\----------------------------/ Current Email  : donaldlf@cs.rose-hulman.edu
Goth Code V1.1: GoCS$$ TYg(T6,T9) B11Bk!^1 C6b-- P0(1,7) M+ a24 n--- b++:+
                H6'11" g m---- w+ r+++ D--~!% h+ s10 k+++ R-- Ssw LusCA++

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

             reply	other threads:[~1997-09-12 14:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-12 14:35 Leslie F. Donaldson [this message]
1997-09-12 15:49 ` Problems Compiling on axp Christopher F. Miller
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox