Jucer build error


#1

juce 1.53
Arch Linux 64bit
gcc (GCC) 4.6.2 20111125 (prerelease)

Linking Jucer
build/intermediate/Release/juce_LibrarySource.o: In function juce::juce_millisecondsSinceStartup()': juce_LibrarySource.cpp:(.text+0xb34cd): undefined reference toclock_gettime’
build/intermediate/Release/juce_LibrarySource.o: In function juce::Time::getHighResolutionTicks()': 1juce_LibrarySource.cpp:(.text+0xb52cd): undefined reference toclock_gettime’
collect2: ld returned 1 exit status
make[1]: *** [build/jucer] Error 1
make: *** [Jucer] Error 2

Warnings:
In file included from …/…/src/juce_LibrarySource.cpp:14:0:
…/…/src/…/…/…/juce_amalgamated.cpp: In member function ‘void juce::FileInputStream::openHandle()’:
…/…/src/…/…/…/juce_amalgamated.cpp:262377:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
…/…/src/…/…/…/juce_amalgamated.cpp: In member function ‘void juce::FileOutputStream::openHandle()’:
…/…/src/…/…/…/juce_amalgamated.cpp:262421:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
…/…/src/…/…/…/juce_amalgamated.cpp:262439:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]