bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Link error in examples


From: Burton, Craig
Subject: RE: Link error in examples
Date: Tue, 30 Aug 2005 11:02:29 -0700

That was it!  Thanks again. 

-----Original Message-----
From: Adam Fedor [mailto:fedor@doc.com] 
Sent: Tuesday, August 30, 2005 10:45 AM
To: Burton, Craig
Cc: Bug GNUstep
Subject: Re: Link error in examples


On Aug 30, 2005, at 11:35 AM, Burton, Craig wrote:
> Undefined                       first referenced
>  symbol                             in file
> ceil                                ./shared_obj/CalcBrain.o  (symbol
> belongs to implicit dependency /usr/lib/libm.so.1)
> pow                                 ./shared_obj/CalcBrain.o  (symbol
> belongs to implicit dependency /usr/lib/libm.so.1)
> sqrt                                ./shared_obj/CalcBrain.o  (symbol
> belongs to implicit dependency /usr/lib/libm.so.1)
> ld: fatal: Symbol referencing errors. No output written to
> Calculator.app/./Calculator
>

In the GNUmakefile, add the line

ADDITIONAL_GUI_LIBS += -lm

There appears to be a problem that new Solaris OS (along with, perhaps, 
other systems), requiring all dependent libraries on the link line. 
Ugh.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]