From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199709121435.JAA02136@vulture.cs.rose-hulman.edu> Date: Fri, 12 Sep 1997 09:35:23 -0500 (EST) From: Leslie F. Donaldson Subject: Problems Compiling on axp 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 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