[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,
Craig
Making all in gui...
make[1]: Entering directory
`/export/workspace/gnustep/gnustep-examples-1.0.0/gui'
Making all in Calculator...
make[2]: Entering directory
`/export/workspace/gnustep/gnustep-examples-1.0.0/gui/Calculator'
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
Calculator.app/./Calculator
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
`/export/workspace/gnustep/gnustep-examples-1.0.0/gui/Calculator'
make[1]: *** [internal-all] Error 2
make[1]: Leaving directory
`/export/workspace/gnustep/gnustep-examples-1.0.0/gui'
make: *** [internal-all] Error 2
- Link error in examples,
Burton, Craig <=