[Top][All Lists]

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

Link error in examples

From: Burton, Craig
Subject: Link error in examples
Date: Tue, 30 Aug 2005 10:35:40 -0700

Hi Adam,

I promise to stop bugging you soon!  I downloaded the examples, but ran
into a problem almost immediately (below).  Apparently a linker problem
with the math library.

I tried to build HostAddress, an example that seemed like no math would
be used, and it was successfully built.  I was able to run it, too.

Any advice would be appreciated.

Thanks again,

Making all in gui...
make[1]: Entering directory
Making all in Calculator...
make[2]: Entering directory
Making all for app Calculator...
 Creating Calculator.app/....
 Compiling file main.m ...
main.m: In function `gnustep_base_user_main':
main.m:50: warning: assignment from incompatible pointer type
 Compiling file CalcBrain.m ...
 Compiling file CalcFace.m ...
 Linking app Calculator ...
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
collect2: ld returned 1 exit status
make[3]: *** [Calculator.app/./Calculator] Error 1
make[2]: *** [Calculator.all.app.variables] Error 2
make[2]: Leaving directory
make[1]: *** [internal-all] Error 2
make[1]: Leaving directory
make: *** [internal-all] Error 2 

reply via email to

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