ld problem compiling gcc

LLeweLLyn Reese llewelly@lifesupport.shutdown.com
Wed Mar 19 16:05:00 GMT 2003


Fvzba Onpuznaa <fvzbaonpuznaa@oyhrjva.pu> jevgrf:

> Uv! 
> 
> V'z gelvat gb pbzcvyr tpp 3.2.2 ba zl flfgrz naq V'ir tbg fbzr ceboyrzf
> (znlor vg vfag n ovt guvat, ohg zl pbanvffnaprf va cebtenzzvat ner irel
> yvggyr!)
> 
> 
> Fbzr vasbf nobhg zl flfgrz: 
> v586-cp-yvahk-tah
> FhFr 6.3
> xreary Fhfr 2.2.13
> tpp 2.7.3.2
> yq  2.9.1 (jvgu OSQ 2.9.1.0.25)

Try building a newer binutils, and building gcc with the newer
    binutils.

ftp://ftp.gnu.org:pub/gnu/binutils/binutils-2.13.2.1.tar.bz2

for example.

> 
> V'ir gevrq obgu v586-cp-yvahk-tah naq v586-cp-yvahk-tahnbhg.
> Guvf vf gur pbasvther pbzznaq yvar V hfrq:
> 
> /ebbg/vafgnyy/tpp-3.2.2/pbasvther  --cebtenz-cersvk=a --jvgu-tah-nf
> --jvgu-tah-yq --qvfnoyr-guernqf --ranoyr-ynathntrf=p v586-cp-yvahk-tah 
> (v586-cp-yvahk-tahnbhg)
> 
> naq guvf ner gur ynfg yvarf bs gur znxr bhgchg:
> 
> znxr[2]: Ragrevat qverpgbel `/ebbg/vafgnyy/tpp-p/tpp'
> fgntr1/ktpp -Ofgntr1/ -O/hfe/ybpny/v586-cp-yvahk-tah/ova/ -p -QVA_TPP   
> -t -B2 -J -Jnyy -Jjevgr-fgevatf -Jfgevpg-cebgbglcrf -Jzvffvat-cebgbglcrf
> -Jgenqvgvbany -crqnagvp -Jab-ybat-ybat  -QUNIR_PBASVT_U
> -QTRARENGBE_SVYR    -V. -V. -V/ebbg/vafgnyy/tpp-3.2.2/tpp
> -V/ebbg/vafgnyy/tpp-3.2.2/tpp/. -V/ebbg/vafgnyy/tpp-3.2.2/tpp/pbasvt
> -V/ebbg/vafgnyy/tpp-3.2.2/tpp/../vapyhqr
> /ebbg/vafgnyy/tpp-3.2.2/tpp/tratraegy.p -b tratraegy.b
> fgntr1/ktpp -Ofgntr1/ -O/hfe/ybpny/v586-cp-yvahk-tah/ova/ -QVA_TPP    -t
> -B2 -J -Jnyy -Jjevgr-fgevatf -Jfgevpg-cebgbglcrf -Jzvffvat-cebgbglcrf
> -Jgenqvgvbany -crqnagvp -Jab-ybat-ybat  -QUNIR_PBASVT_U
> -QTRARENGBE_SVYR  -b tratraegy \
>  tratraegy.b ../yvovoregl/yvovoregl.n
> /hfe/ova/yq: tratraegy: Abg rabhtu ebbz sbe cebtenz urnqref (nyybpngrq
> 6, arrq 7)
> /hfe/ova/yq: svany yvax snvyrq: Onq inyhr
> pbyyrpg2: yq erghearq 1 rkvg fgnghf
> znxr[2]: *** [tratraegy] Reebe 1
> znxr[2]: Yrnivat qverpgbel `/ebbg/vafgnyy/tpp-p/tpp'
> znxr[1]: *** [fgntr2_ohvyq] Reebe 2
> znxr[1]: Yrnivat qverpgbel `/ebbg/vafgnyy/tpp-p/tpp'
> znxr: *** [obbgfgenc] Reebe 2
> 
> erfcrpgviryl, sbe gur "nbhg gel":
> 
> fgntr1/ktpp -Ofgntr1/ -O/hfe/ybpny/v586-cp-yvahk-tahnbhg/ova/
> -QVA_TPP    -t -B2 -J -Jnyy -Jjevgr-fgevatf -Jfgevpg-cebgbglcrf
> -Jzvffvat-cebgbglcrf -Jgenqvgvbany -crqnagvp -Jab-ybat-ybat 
> -QUNIR_PBASVT_U -QTRARENGBE_SVYR  -b tratraegy \
>  tratraegy.b ../yvovoregl/yvovoregl.n
> tratraegy.b: Va shapgvba `traurnqre':
> /ebbg/vafgnyy/tpp-3.2.2/tpp/tratraetl.c(.text+0x1d82): undefined
> reference to `__IO_putc'
> /usr/bin/ld: gengenrtl: can not represent section `.stab' in a.out
> object file format
> /usr/bin/ld: final link failed: Nonrepresentable section on output
> collect2: ld returned 1 exit status
> make[2]: *** [gengenrtl] Error 1
> make[2]: Leaving directory `/root/install/gcc-caout/gcc'
> make[1]: *** [stage2_build] Error 2
> make[1]: Leaving directory `/root/install/gcc-caout/gcc'
> make: *** [bootstrap] Error 2
> 
> 
> Thanks for helping....
> 
> Simon



More information about the Gcc-help mailing list