bug-gnustep
[Top][All Lists]
Advanced

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

Re: Link error in examples


From: Adam Fedor
Subject: Re: Link error in examples
Date: Tue, 30 Aug 2005 11:44:45 -0600


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]