phobos config issue

Vijay Nayar madric at gmail.com
Mon Aug 29 06:50:29 PDT 2011


On Sat, 27 Aug 2011 16:40:39 +0300, Radu Toev wrote:

There are two possibilities I can imagine:
  A.  The phobos2 library was somehow incomplete or not built correctly.
  To check this possibility, use the 'nm' command and search for the 
missing symbol.  I used the Ubuntu standard dmd package, so my 
directories may by slightly different.

# The 'T' symbol means 'text', and that the function definition exists.
$ nm /usr/lib64/librt.a | grep clock_gettime
clock_gettime.o:
0000000000000000 T clock_gettime

  B.  Another possibility is that the search path is bad?
Check your dmd.conf file and make sure that "-L-L/usr/local/lib/lib32" is 
part of the options under "DFLAGS".

I would personally recommend going with the pre-compiled Ubuntu package 
though.

 - Vijay


More information about the Digitalmars-d mailing list