updating druntime
Benji
romanbeno273 at gmail.com
Fri Dec 13 10:48:46 PST 2013
On Friday, 13 December 2013 at 15:00:57 UTC, Marco Leise wrote:
> Am Thu, 12 Dec 2013 20:29:31 +0100
> schrieb "Benji" <romanbeno273 at gmail.com>:
>
>> On Thursday, 12 December 2013 at 19:11:03 UTC, John Colvin
>> wrote:
>> > On Thursday, 12 December 2013 at 16:44:28 UTC, Benji wrote:
>> >> Hello,
>> >> when I try to compile something with dmd,
>> >> I get following message:
>> >>
>> >> /usr/include/dmd/phobos/std/bitmanip.d(416): Error:
>> >> undefined identifier '_xopCmp'
>> >> Error: ICE: _xopCmp not found in object module. You must
>> >> update druntime
>> >>
>> >> How to 'update druntime' ?
>> >
>> > how did you install dmd/druntime/phobos originally?
>>
>> As it is mentioned in installation instructions to the dmd
>> (linux-ubuntu)
>
> Did you use the .deb file? It shouldn't produce such a
> version mismatch. Did you install over a previous installation
> and possibly have some leftover files from the old DMD version?
>
> I'd say format c: and start over with the installation of DMD.
> In any case, if you didn't install from the GitHub sources
> this error message should not appear and someone who isn't
> hacking on DMD does not have to update druntime manually.
Yes, I used :(
I tryied it again via zip-archive, and it works...
but, using std.net.curl module functions doesn't work for me...
This is my error: (after get("google.com") call)
[...]
In function `_D3std3net4curl4Curl7performMFbZi':
std/net/curl.d:(.text._D3std3net4curl4Curl7performMFbZi+0x1f):
undefined reference to `curl_easy_perform'
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libphobos2.a(curl_248d_4a1.o):
In function `_D3std3net4curl4Curl11errorStringMFiZAya':
std/net/curl.d:(.text._D3std3net4curl4Curl11errorStringMFiZAya+0x11):
undefined reference to `curl_easy_strerror'
collect2: error: ld returned 1 exit status
When I compile it this way: dmd helloa.d -L-lphobos2 -L-lcurl
Another error appear:
[...]
helloa.d:(.text._D3std6format66__T14formattedWriteTS3std5array17__T8AppenderTAyaZ8AppenderTaTmTmZ14formattedWriteFNaNfS3std5array17__T8AppenderTAyaZ8AppenderxAammZk+0x45):
undefined reference to
`_D3std6format18__T10FormatSpecTaZ10FormatSpec6__ctorMFNaNcNfxAaZS3std6format18__T10FormatSpecTaZ10FormatSpec'
helloa.o: In function
`_D3std6format68__T14formattedWriteTS3std5array17__T8AppenderTAyaZ8AppenderTaTmTAyaZ14formattedWriteFNaNfS3std5array17__T8AppenderTAyaZ8AppenderxAamAyaZk':
helloa.d:(.text._D3std6format68__T14formattedWriteTS3std5array17__T8AppenderTAyaZ8AppenderTaTmTAyaZ14formattedWriteFNaNfS3std5array17__T8AppenderTAyaZ8AppenderxAamAyaZk+0x49):
undefined reference to
`_D3std6format18__T10FormatSpecTaZ10FormatSpec6__ctorMFNaNcNfxAaZS3std6format18__T10FormatSpecTaZ10FormatSpec'
helloa.o:helloa.d:(.text._D3std6format64__T14formattedWriteTS3std5array17__T8AppenderTAyaZ8AppenderTaTtZ14formattedWriteFNaNfS3std5array17__T8AppenderTAyaZ8AppenderxAatZk+0x40):
more undefined references to
`_D3std6format18__T10FormatSpecTaZ10FormatSpec6__ctorMFNaNcNfxAaZS3std6format18__T10FormatSpecTaZ10FormatSpec'
follow
collect2: error: ld returned 1 exit status
After 7 hours of effort and trying everything it still doesn't
work :((
More information about the Digitalmars-d-learn
mailing list