On 12/19/2014 5:41 PM, Andreas Mattheiss wrote:
> Hello,
>
> I'm trying to build firefox-35.0b4 on linux. Build bombs out with
>
> /abc/build-ff/dist/lib/libnspr4.a(unix.o): In function
> `_PR_UNIX_GetInterval2':
> /abc/mozilla-beta/nsprpub/pr/src/md/unix/unix.c:3049: undefined reference
> to `clock_gettime'
>
> I know I'd have to specify -lrt. But-how do I do this,
> globally? Configure apparently doesn't honour LDFLAGS.
>
If the build system isn't passing -lrt automatically then that's a bug.
It's possible that something about your system configuration or build
configuration is causing this to happen. In my local Firefox build on
Ubuntu 14.04 libnspr4.so winds up linked to librt.so, and I didn't have
to do anything special for that to happen.

-Ted

_______________________________________________
dev-builds mailing list
dev-builds@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to