mmeyer@m2.csc.ti.com (Mark Meyer) (02/01/91)
When I try to link the math library along with a couple of object files, I get the following: ld -G 0 -r -o ncsa.o start.o duart.o debug.o print.o excep.o ncboot.o ncxoptbl.o ncfasl.o ncintern.o nccanon.o ncalloc.o ncerror.o ncenv.o ncarith.o ncbignum.o nclogic.o ncstack.o nccase.o nctask.o nccont.o ncgc.o ncstackp.o ncbootp.o ncallocp.o ncenvp.o ncgcp.o nceq.o ncwrite.o nctaskp.o timep.o ncunix.o nczzzzzz.o /bin/cc -g3 -G 0 -O -r -c user.c ld -G 0 -o ncsa -N -T 80021000 -e __start ncsa.o user.o -lm ld: /usr/lib/cmplrs/cc/libm.a(sincos.o): R_LITERAL relocation entry with no global pointer reference /usr/lib/cmplrs/cc/libm.a(sincos.o): R_LITERAL relocation entry with no global pointer reference /usr/lib/cmplrs/cc/libm.a(sincos.o): R_LITERAL relocation entry with no global pointer reference [ ... Numerous identical messages deleted ... ] /usr/lib/cmplrs/cc/libm.a(sincos.o): R_LITERAL relocation entry with no global pointer reference *** Error code 1 Stop. What does that R_LITERAL stuff mean? What might have caused it? How can I fix it? I'm using RISCompiler C 2.11 from RISC/os 4.50, according to "what". Atdhvaannkcse. -- Mark Meyer USENET: {ut-sally!im4u,convex!smu,sun!texsun}!ti-csl!mmeyer Texas Instruments, Inc. CSNET : mmeyer@TI-CSL Every day, Jerry Junkins is grateful that I don't speak for TI. "Penfold - bite your OWN nails!"
mmeyer@m2.csc.ti.com (Mark Meyer) (02/07/91)
I posted the message below earlier, but it doesn't seem to have gotten out, so I'm trying again. Please respond to this, even if you don't have an answer, to let me know somebody sees this. Thanks. ================================================================ When I try to link the math library along with a couple of object files, I get the following: ld -G 0 -r -o ncsa.o start.o duart.o debug.o print.o excep.o ncboot.o ncxoptbl.o ncfasl.o ncintern.o nccanon.o ncalloc.o ncerror.o ncenv.o ncarith.o ncbignum.o nclogic.o ncstack.o nccase.o nctask.o nccont.o ncgc.o ncstackp.o ncbootp.o ncallocp.o ncenvp.o ncgcp.o nceq.o ncwrite.o nctaskp.o timep.o ncunix.o nczzzzzz.o /bin/cc -g3 -G 0 -O -r -c user.c ld -G 0 -o ncsa -N -T 80021000 -e __start ncsa.o user.o -lm ld: /usr/lib/cmplrs/cc/libm.a(sincos.o): R_LITERAL relocation entry with no global pointer reference /usr/lib/cmplrs/cc/libm.a(sincos.o): R_LITERAL relocation entry with no global pointer reference /usr/lib/cmplrs/cc/libm.a(sincos.o): R_LITERAL relocation entry with no global pointer reference [ ... Numerous identical messages deleted ... ] /usr/lib/cmplrs/cc/libm.a(sincos.o): R_LITERAL relocation entry with no global pointer reference *** Error code 1 Stop. What does that R_LITERAL stuff mean? What might have caused it? How can I fix it? I'm using RISCompiler C 2.11 from RISC/os 4.50, according to "what". Atdhvaannkcse. -- Mark Meyer USENET: {ut-sally!im4u,convex!smu,sun!texsun}!ti-csl!mmeyer Texas Instruments, Inc. CSNET : mmeyer@TI-CSL Every day, Jerry Junkins is grateful that I don't speak for TI. "Penfold - bite your OWN nails!"