From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <6eff7106eaba1567eeac9cd81529714f.axp-list@archive.invalid> X-Archive-Original-Message-ID: <32E7C63B.597D@aod.com> Date: Thu, 23 Jan 1997 12:12:43 -0800 From: bruce a. campbell Subject: Re: Link problems J wrote: > > >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 > >e_exp.c(.text+0xe4): relocation truncated to fit: LITERAL ln2HI > >e_exp.c(.text+0xec): relocation truncated to fit: LITERAL ln2LO > >e_exp.c(.text+0x120): relocation truncated to fit: LITERAL $C35 > >e_exp.c(.text+0x128): relocation truncated to fit: LITERAL halF > >e_exp.c(.text+0x154): relocation truncated to fit: LITERAL ln2HI > >e_exp.c(.text+0x160): relocation truncated to fit: LITERAL ln2LO > > > >This goes on for quite some time with similar messages. Has anybody > >seen these errors before? > > I've seen these before, but have no idea what they mean. I got them when > trying to compile octave 2.0.1. > > I posted to this list about it a couple of weeks ago, but haven't gotten > a response. > > - J You have the Famed Single .got section Overflow (referred to from now on as the .gotcha. See the response that Richard Henderson sent about two days ago. The net is you need to replace your ld, as, and all .as and .os you indend to use for linking. baruch@aod.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