* afterstep module problem
@ 1998-04-27 6:04 Todd Fleisher
1998-04-27 7:40 ` Christian Lefevre
0 siblings, 1 reply; 5+ messages in thread
From: Todd Fleisher @ 1998-04-27 6:04 UTC (permalink / raw)
To: AXP-LIST
Hello,
When trying to compile afterstep's Animate module, I get the following:
Animate.o: In function `AnimateResizeTwist':
Animate.c(.text+0x150): undefined reference to `__atan2'
Animate.c(.text+0x154): undefined reference to `__atan2'
Animate.c(.text+0x18c): undefined reference to `sqrt'
Animate.c(.text+0x190): undefined reference to `sqrt'
Animate.c(.text+0x200): undefined reference to `cos'
Animate.c(.text+0x204): undefined reference to `cos'
Animate.c(.text+0x240): undefined reference to `sin'
Animate.c(.text+0x244): undefined reference to `sin'
yadda, yadda, yadda (repeated over and over)
Can anyone please help me fix this?
Thanks,
Todd
--
Todd Fleisher
todd@fleish.org
http://www.fleish.org/fleish
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: afterstep module problem
1998-04-27 6:04 afterstep module problem Todd Fleisher
@ 1998-04-27 7:40 ` Christian Lefevre
1998-04-27 8:25 ` armin
1998-04-27 14:27 ` Todd Fleisher
0 siblings, 2 replies; 5+ messages in thread
From: Christian Lefevre @ 1998-04-27 7:40 UTC (permalink / raw)
To: axp-list; +Cc: Christian.Lefevre
> Hello,
> When trying to compile afterstep's Animate module, I get the following:
> Animate.o: In function `AnimateResizeTwist':
> Animate.c(.text+0x150): undefined reference to `__atan2'
> Animate.c(.text+0x154): undefined reference to `__atan2'
> Animate.c(.text+0x18c): undefined reference to `sqrt'
> Animate.c(.text+0x190): undefined reference to `sqrt'
> Animate.c(.text+0x200): undefined reference to `cos'
> Animate.c(.text+0x204): undefined reference to `cos'
> Animate.c(.text+0x240): undefined reference to `sin'
> Animate.c(.text+0x244): undefined reference to `sin'
> yadda, yadda, yadda (repeated over and over)
>
> Can anyone please help me fix this?
> Thanks,
> Todd
seems like libm s missing for the linker. try to add a -lm in the library
declaration in the makefile.
Just my $1/50
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: afterstep module problem
1998-04-27 7:40 ` Christian Lefevre
@ 1998-04-27 8:25 ` armin
1998-04-27 14:27 ` Todd Fleisher
1 sibling, 0 replies; 5+ messages in thread
From: armin @ 1998-04-27 8:25 UTC (permalink / raw)
To: axp-list; +Cc: Christian.Lefevre
todd,
i had the same problem months ago.
i remember i had to change some libs in the Makefiles.
i have a precompiled and source tarball on my ftp site(s).
ftp://alpha.tabu.uni-bonn.de/pub/Linux-AXP/
(fast(10mbit))
and
ftp://data.tops.net/pub/linux/axp/
(slow(2mbit))
regards,
--armin
---------------------------------------------------------------------
| Armin Ollig UNIX System Administration armin@tops.net |
| |
| If god is dead who will save the queen ? |
---------------------------------------------------------------------
On Mon, 27 Apr 1998, Christian Lefevre wrote:
> > Hello,
> > When trying to compile afterstep's Animate module, I get the following:
> > Animate.o: In function `AnimateResizeTwist':
> > Animate.c(.text+0x150): undefined reference to `__atan2'
> > Animate.c(.text+0x154): undefined reference to `__atan2'
> > Animate.c(.text+0x18c): undefined reference to `sqrt'
> > Animate.c(.text+0x190): undefined reference to `sqrt'
> > Animate.c(.text+0x200): undefined reference to `cos'
> > Animate.c(.text+0x204): undefined reference to `cos'
> > Animate.c(.text+0x240): undefined reference to `sin'
> > Animate.c(.text+0x244): undefined reference to `sin'
> > yadda, yadda, yadda (repeated over and over)
> >
> > Can anyone please help me fix this?
> > Thanks,
> > Todd
>
> seems like libm s missing for the linker. try to add a -lm in the library
> declaration in the makefile.
> Just my $1/50
>
> --
> 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
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: afterstep module problem
1998-04-27 7:40 ` Christian Lefevre
1998-04-27 8:25 ` armin
@ 1998-04-27 14:27 ` Todd Fleisher
1998-04-27 14:36 ` Christian Lefevre
1 sibling, 1 reply; 5+ messages in thread
From: Todd Fleisher @ 1998-04-27 14:27 UTC (permalink / raw)
To: Christian Lefevre; +Cc: axp-list, armin
Thanks a lot, this has fixed the problem. Should libm be inked for everything? I wonder since everything else compiled without problems.
Actually, after rechecking, I've found that the only other place libm is linked in is for the afterstep binary.
Todd
On Mon, Apr 27, 1998 at 09:40:15AM +0200, Christian Lefevre wrote:
> seems like libm s missing for the linker. try to add a -lm in the library
> declaration in the makefile.
> Just my $1/50
>
> --
> 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
--
Todd Fleisher
todd@fleish.org
http://www.fleish.org/fleish
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: afterstep module problem
1998-04-27 14:27 ` Todd Fleisher
@ 1998-04-27 14:36 ` Christian Lefevre
0 siblings, 0 replies; 5+ messages in thread
From: Christian Lefevre @ 1998-04-27 14:36 UTC (permalink / raw)
To: axp-list
> Thanks a lot, this has fixed the problem. Should libm be inked for everything? I wonder since everything else compiled without problems.
> Actually, after rechecking, I've found that the only other place libm is linked in is for the afterstep binary.
> Todd
>
> On Mon, Apr 27, 1998 at 09:40:15AM +0200, Christian Lefevre wrote:
> > seems like libm s missing for the linker. try to add a -lm in the library
> > declaration in the makefile.
> > Just my $1/50
> >
Well since it provides mathematical functions, it has to be linked with each
object file where there are calls to those mathematical functions (except if
they provide their own mathematical functions, like the mp3 encoder or minds
eye for instance).
Bye the way, has someone managed to compile mindseye? (I running into troubles
with the nurbs library required for it). My config: LX 164 RH 5.0, libc
2.0.7-7 gcc 2.8.1 (or 2.8.0-1 I m not on the machine, but the latest RPM
release I think)
Thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1998-04-27 14:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-27 6:04 afterstep module problem Todd Fleisher
1998-04-27 7:40 ` Christian Lefevre
1998-04-27 8:25 ` armin
1998-04-27 14:27 ` Todd Fleisher
1998-04-27 14:36 ` Christian Lefevre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox