nanogui: Thread: setselection.c compilation error


[<<] [<] Page 1 of 1 [>] [>>]
Subject: setselection.c compilation error
From: Raymond Wong ####@####.####
Date: 19 Oct 2001 03:18:46 -0000
Message-Id: <3BCF9BE7.AA86B09D@biatechnology.com>

Does this arise from library?

Compiling setselection.c ...
nsaver.o: In function `saver5_exposure':
nsaver.o(.text+0x7c4): undefined reference to `sin'
nsaver.o(.text+0x7c4): relocation truncated to fit: R_ARM_PC24 sin
nsaver.o(.text+0x7dc): undefined reference to `cos'
nsaver.o(.text+0x7dc): relocation truncated to fit: R_ARM_PC24 cos
nsaver.o: In function `saver5_animate':
nsaver.o(.text+0x8a4): undefined reference to `sin'
nsaver.o(.text+0x8a4): relocation truncated to fit: R_ARM_PC24 sin
nsaver.o(.text+0x8bc): undefined reference to `cos'
nsaver.o(.text+0x8bc): relocation truncated to fit: R_ARM_PC24 cos
nsaver.o(.text+0x954): undefined reference to `sin'
nsaver.o(.text+0x954): relocation truncated to fit: R_ARM_PC24 sin
nsaver.o(.text+0x988): undefined reference to `sin'
nsaver.o(.text+0x988): relocation truncated to fit: R_ARM_PC24 sin
nsaver.o(.text+0x9a0): undefined reference to `cos'
nsaver.o(.text+0x9a0): relocation truncated to fit: R_ARM_PC24 cos
nsaver.o(.text+0xa44): undefined reference to `sin'
nsaver.o(.text+0xa44): relocation truncated to fit: R_ARM_PC24 sin
nsaver.o(.text+0xa5c): undefined reference to `cos'
nsaver.o(.text+0xa5c): relocation truncated to fit: R_ARM_PC24 cos
nsaver.o: In function `saver6_makefork':
nsaver.o(.text+0xe98): undefined reference to `sqrt'
nsaver.o(.text+0xe98): relocation truncated to fit: R_ARM_PC24 sqrt
nsaver.o(.text+0xec4): undefined reference to `atan'
nsaver.o(.text+0xec4): relocation truncated to fit: R_ARM_PC24 atan
nsaver.o(.text+0xf2c): undefined reference to `sin'
nsaver.o(.text+0xf2c): relocation truncated to fit: R_ARM_PC24 sin
nsaver.o(.text+0xf4c): undefined reference to `cos'
nsaver.o(.text+0xf4c): relocation truncated to fit: R_ARM_PC24 cos
nsaver.o: In function `saver7_moveplanet':
nsaver.o(.text+0x1b84): undefined reference to `sqrt'
nsaver.o(.text+0x1b84): relocation truncated to fit: R_ARM_PC24 sqrt
nsaver.o: In function `saver5_drawstar':
nsaver.o(.text+0x29a8): undefined reference to `sin'
nsaver.o(.text+0x29a8): relocation truncated to fit: R_ARM_PC24 sin
nsaver.o(.text+0x29c4): undefined reference to `cos'
nsaver.o(.text+0x29c4): relocation truncated to fit: R_ARM_PC24 cos
collect2: ld returned 1 exit status
make[2]: *** [/work/microwin/src/bin/nsaver] Error 1
Updating dependencies in /work/microwin/src/demos/nwidget ...


Subject: Re: [nanogui] setselection.c compilation error
From: "Greg Haerr" ####@####.####
Date: 19 Oct 2001 03:42:24 -0000
Message-Id: <04ae01c1584d$7eb67f60$3aba46a6@xmission.com>

: Does this arise from library?
: 
: Compiling setselection.c ...
: nsaver.o: In function `saver5_exposure':
: nsaver.o(.text+0x7c4): undefined reference to `sin'
: nsaver.o(.text+0x7c4): relocation truncated to fit: R_ARM_PC24 sin

This looks like missing math lib.  Try adding -lm to the link line.

Regards,

Greg


Subject: Re: [nanogui] setselection.c compilation error
From: Jordan Crouse ####@####.####
Date: 22 Oct 2001 14:32:28 -0000
Message-Id: <200110221534.IAA07928@ns.centurysoftware.com>

Greg -

Did you fix this, or do you need a patch (I've got one)

Jordan

On Thursday 18 October 2001 21:23, Greg Haerr mentioned:
> : Does this arise from library?
> :
> : Compiling setselection.c ...
> : nsaver.o: In function `saver5_exposure':
> : nsaver.o(.text+0x7c4): undefined reference to `sin'
> : nsaver.o(.text+0x7c4): relocation truncated to fit: R_ARM_PC24 sin
>
> This looks like missing math lib.  Try adding -lm to the link line.
>
> Regards,
>
> Greg
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.