[phobos] Is the trunk broken on Linux?
Andrei Alexandrescu
andrei at erdani.com
Thu Jan 27 22:03:03 PST 2011
I just installed Ubuntu 11 on my old laptop (works great) and pulled
everything from git. Everything's fresh - compiler, druntime, phobos.
Trying to make unittest for phobos I get:
Testing generated/linux/debug/32/unittest/crc32
Testing generated/linux/debug/32/unittest/std/algorithm
generated/linux/debug/32/libphobos2.a(datetime_478_1ec.o): In function
`_D3std8datetime5Clock11currStdTimeFNdNeZl':
/home/andrei/code/phobos/crc32.d:78: undefined reference to `clock_gettime'
generated/linux/debug/32/libphobos2.a(time_114_4d1.o): In function
`_D4core4time12TickDuration12_staticCtor7OFNeZv':
src/core/time.d:(.text._D4core4time12TickDuration12_staticCtor7OFNeZv+0x1b):
undefined reference to `clock_getres'
generated/linux/debug/32/libphobos2.a(time_114_4d1.o): In function
`_D4core4time12TickDuration14currSystemTickFNdNeZS4core4time12TickDuration':
src/core/time.d:(.text._D4core4time12TickDuration14currSystemTickFNdNeZS4core4time12TickDuration+0x1c):
undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
--- errorlevel 1
make[1]: *** [generated/linux/debug/32/unittest/std/algorithm] Error 1
make: *** [unittest] Error 2
Is the trunk broken?
Andrei
More information about the phobos
mailing list