From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199701242034.OAA24748@atheist.tamu.edu> Date: Fri, 24 Jan 1997 14:33:59 -0600 (CST) From: Richard Henderson Subject: Re: Link problems In-Reply-To: <199701231925.OAA09478@linux03.amt.tay1.dec.com> > > >I just purchased a UDB running RedHat Linux 4.0, and I'm trying to build > > >one of my programs on it, but I'm getting many link errors. The errors > > >that I'm getting are as follows: > > > > > >g++ -L../../lib/ALPHA -L/swl/share/webbb/lib/ALPHA -L/swl/ATR/lib/ALPHA > > >-L/swl/tcl-7.6/ALPHA/lib -L/usr/X11R6/lib -o ../../bin/ALPHA/image_wish > > >ALPHA/tkAppInit.o -ltk_ext -ltcl_ext -lXWImage -lgf -llists -lregion > > >-lseg -lutil -ltk4.2 -ltcl7.6 -lX11 -lgcc -ldl -lm > > >/usr/lib/gcc-lib/alpha-linux/2.7.2/crtend.o(.text+0x14): relocation > > >truncated to fit: LITERAL __CTOR_END__ > > >/usr/lib/libm.a(e_exp.o): In function `__ieee754_exp': > > >e_exp.c(.text+0xa0): relocation truncated to fit: LITERAL $C34 There's something wrong here. Did you report the entire link line? I don't see `-static' but I do see /usr/lib/libm.a -- `-lm' should have pulled in the shared version. Does /usr/lib/libm.so exist? Did you previously have RH 3.0.3 on that machine, and if so, did you build any of the /swl/share/ bits with it? r~ -- 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