Odefinierad  (Undefined)                   f?rst refererad (first
referenced)
  

 symbol                             i fil
  

clock_gettime                      
../extras/c-ares/lib/libcares.a(ares__timeval.o)
  

ld: allvarligt: Symbolreferensfel. Inga utdata skrivs till ircd (ld:
Ernsthaft: Symbolreference-error; no output written to ircd).
  

collect2: ld returned 1 exit status
  



Hi Daniel,

What's happening here is that the Makefile wasn't generated correctly,
most likely by the ./configure script.

The link editor, ld(1), is trying to resolve all the symbols during the link
phase, and is looking at ares__timeval.o object file.

When the linker looks at this object file, it attempts to resolve all the
symbols (there is an entry table with offsets, like a header, in
ares__timeval.o), and there, ld(1) finds a reference to clock_gettime(3C).

Unfortunately, it can't find or doesn't know which shared library or object
(crt1.o) to look at in order to resolve where the clock_gettime(3C) should
come from.

What this usually means is that ld is missing -l switch in addition
to the ones on the command line above (here likely the -lcrt1.o).

If you use the nm(1) utility to look at ares__timeval.o look for
"clock_gettime", you'll most likely get an entry that'll say "UNDEF".

This mess usually happens when the original SW developer thinks he's
really smart and knows what he is doing, and then writes ./configure.in to
do the linking manually, instead of going through the compiler frontend,
cc(1), which is what he/she should be doing.

_________________________________________________________________
More than messages?check out the rest of the Windows Live?.
http://www.microsoft.com/windows/windowslive/

Reply via email to