digitalmars.D - DMD 2.056 cannot find -lrt
- Steve Teale (4/4) Dec 08 2011 I just got round to upgrading from 2.055. I read about this error some
- Steven Schveighoffer (8/11) Dec 08 2011 Install librt?
- Steve Teale (10/27) Dec 08 2011 OK, fixed that - I'd been under the erroneous impression that librt was ...
- Martin Nowak (3/31) Dec 08 2011 These symbols only get pulled in with D's main function.
- Steve Teale (3/20) Dec 08 2011 Panic over - I had a misplaced version statement, and was consequently
- Timon Gehr (2/6) Dec 08 2011 Try adding -L-lrt at the end of your DFLAGS inside dmd.conf.
I just got round to upgrading from 2.055. I read about this error some time ago but now can't find a reference anywhere. What do I do to get round it. Steve
Dec 08 2011
On Thu, 08 Dec 2011 03:25:23 -0500, Steve Teale <steve.teale britseyeview.com> wrote:I just got round to upgrading from 2.055. I read about this error some time ago but now can't find a reference anywhere. What do I do to get round it.Install librt? Unfortunately, the solution settled on for 2.056 is to put -lrt in dmd's source code, so it cannot be removed. Curious, what Linux OS are you using? I was under the impression that they all had librt installed by default. -Steve
Dec 08 2011
On Thu, 08 Dec 2011 07:18:48 -0500, Steven Schveighoffer wrote:On Thu, 08 Dec 2011 03:25:23 -0500, Steve Teale <steve.teale britseyeview.com> wrote:OK, fixed that - I'd been under the erroneous impression that librt was a D thing, and had purged that along with the numerous versions of libphobos2.a that were lurking around on my system. I put librt.a and the librt.so symlinks back, and hello.d now compiles and links. However the CodeBlocks setup that I had for my current DB project is now complaining that it can't find _tlsstart, _tlsend, _deh_beg, and _deh_end. These appear to be C functions - do you happen to know if they are in librt? SteveI just got round to upgrading from 2.055. I read about this error some time ago but now can't find a reference anywhere. What do I do to get round it.Install librt? Unfortunately, the solution settled on for 2.056 is to put -lrt in dmd's source code, so it cannot be removed. Curious, what Linux OS are you using? I was under the impression that they all had librt installed by default. -Steve
Dec 08 2011
On Thu, 08 Dec 2011 17:02:24 +0100, Steve Teale <steve.teale britseyeview.com> wrote:On Thu, 08 Dec 2011 07:18:48 -0500, Steven Schveighoffer wrote:These symbols only get pulled in with D's main function.On Thu, 08 Dec 2011 03:25:23 -0500, Steve Teale <steve.teale britseyeview.com> wrote:OK, fixed that - I'd been under the erroneous impression that librt was a D thing, and had purged that along with the numerous versions of libphobos2.a that were lurking around on my system. I put librt.a and the librt.so symlinks back, and hello.d now compiles and links. However the CodeBlocks setup that I had for my current DB project is now complaining that it can't find _tlsstart, _tlsend, _deh_beg, and _deh_end. These appear to be C functions - do you happen to know if they are in librt? SteveI just got round to upgrading from 2.055. I read about this error some time ago but now can't find a reference anywhere. What do I do to get round it.Install librt? Unfortunately, the solution settled on for 2.056 is to put -lrt in dmd's source code, so it cannot be removed. Curious, what Linux OS are you using? I was under the impression that they all had librt installed by default. -Steve
Dec 08 2011
On Thu, 08 Dec 2011 07:18:48 -0500, Steven Schveighoffer wrote:On Thu, 08 Dec 2011 03:25:23 -0500, Steve Teale <steve.teale britseyeview.com> wrote:Panic over - I had a misplaced version statement, and was consequently just compiling a bunch of imports - sorry.I just got round to upgrading from 2.055. I read about this error some time ago but now can't find a reference anywhere. What do I do to get round it.Install librt? Unfortunately, the solution settled on for 2.056 is to put -lrt in dmd's source code, so it cannot be removed. Curious, what Linux OS are you using? I was under the impression that they all had librt installed by default. -Steve
Dec 08 2011
On 12/08/2011 09:25 AM, Steve Teale wrote:I just got round to upgrading from 2.055. I read about this error some time ago but now can't find a reference anywhere. What do I do to get round it. SteveTry adding -L-lrt at the end of your DFLAGS inside dmd.conf.
Dec 08 2011