* 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* Re: Problems Compiling on axp
1997-09-12 14:35 Problems Compiling on axp Leslie F. Donaldson
@ 1997-09-12 15:49 ` Christopher F. Miller
0 siblings, 0 replies; 2+ messages in thread
From: Christopher F. Miller @ 1997-09-12 15:49 UTC (permalink / raw)
>
> System AXP
> Redhat 4.2
> Binutils (Upgraded)
>
> 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)
Yes. I think I'm mired in something related. so.6.1 seems not
just a minor upgrade from so.6. If I symlink it so, ldconfig
puts it back! Best I can figure this is comparable to changing
from a.out to ELF. Just that **all** the RPM's aren't quite there
yet. Try alphabits at redhat.com. There were also some docs at
www.gnu.org that implied a process of moving older libs into separate
directories and modifying ld.so.conf to support older and new libs
at same time. Is that supposed to work with libc too?
I'm not at all comfortable with the way this looks:
cfm@v1:/lib$ ls -l libc*
-rwxr-xr-x 1 root root 1763722 Apr 10 1997 libc-1.99.so
-rwxr-xr-x 1 root root 4389064 Sep 1 1997 libc-2.0.5.so
lrwxrwxrwx 1 root root 12 Sep 9 06:42 libc.so.6 -> libc-1.99.so
lrwxrwxrwx 1 root root 13 Sep 9 04:34 libc.so.6.1 -> libc-2.0.5.so
cfm
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 (MTRF 3-5pm) http://www.maine.com/
--
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