Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Problems Compiling on axp
@ 1997-09-12 14:35 Leslie F. Donaldson
  1997-09-12 15:49 ` Christopher F. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Leslie F. Donaldson @ 1997-09-12 14:35 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-09-12 15:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-12 14:35 Problems Compiling on axp Leslie F. Donaldson
1997-09-12 15:49 ` Christopher F. Miller

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