dmd v2.065 compatibility

Mike Parker aldacron at gmail.com
Fri Mar 14 07:18:27 PDT 2014


On 3/14/2014 7:43 PM, Chris wrote:

>
> [3]
> Last but not least, could [2] have triggered the error I got in [1]?
>
> [Part of error message]
> source/lib//libdlts.a(regex_770_e66.o): In function
> `_D3std5regex102__T10replaceFmtTAxaTS3std5regex19__T8CapturesTAyaTmZ8CapturesTS3std5array17__T8AppenderTAyaZ8AppenderZ10replaceFmtFNaNfAxaS3std5regex19__T8CapturesTAyaTmZ8CapturesS3std5array17__T8AppenderTAyaZ8AppenderbZv245__T4findS2283std5regex102__T10replaceFmtTAxaTS3std5regex19__T8CapturesTAyaTmZ8CapturesTS3std5array17__T8AppenderTAyaZ8AppenderZ10replaceFmtFNaNfAxaS3std5regex19__T8CapturesTAyaTmZ8CapturesS3std5array17__T8AppenderTAyaZ8AppenderbZv9__lambda7TAxaZ4findMFNaNfAxaZAxa':
>
> /usr/include/dmd/phobos/std/regex.d:(.text._D3std5regex102__T10replaceFmtTAxaTS3std5regex19__T8CapturesTAyaTmZ8CapturesTS3std5array17__T8AppenderTAyaZ8AppenderZ10replaceFmtFNaNfAxaS3std5regex19__T8CapturesTAyaTmZ8CapturesS3std5array17__T8AppenderTAyaZ8AppenderbZv245__T4findS2283std5regex102__T10replaceFmtTAxaTS3std5regex19__T8CapturesTAyaTmZ8CapturesTS3std5array17__T8AppenderTAyaZ8AppenderZ10replaceFmtFNaNfAxaS3std5regex19__T8CapturesTAyaTmZ8CapturesS3std5array17__T8AppenderTAyaZ8AppenderbZv9__lambda7TAxaZ4findMFNaNfAxaZAxa+0x53):
> undefined reference to `_D3std5ascii6_ctypeyG128h'
> /usr/include/dmd/phobos/std/regex.d:(.text._D3std5regex102__T10replaceFmtTAxaTS3std5regex19__T8CapturesTAyaTmZ8CapturesTS3std5array17__T8AppenderTAyaZ8AppenderZ10replaceFmtFNaNfAxaS3std5regex19__T8CapturesTAyaTmZ8CapturesS3std5array17__T8AppenderTAyaZ8AppenderbZv245__T4findS2283std5regex102__T10replaceFmtTAxaTS3std5regex19__T8CapturesTAyaTmZ8CapturesTS3std5array17__T8AppenderTAyaZ8AppenderZ10replaceFmtFNaNfAxaS3std5regex19__T8CapturesTAyaTmZ8CapturesS3std5array17__T8AppenderTAyaZ8AppenderbZv9__lambda7TAxaZ4findMFNaNfAxaZAxa+0x113):
> undefined reference to `_D3std5ascii6_ctypeyG128h'

Apparently, dub determined that even though no compilation needed to 
take place, linking was needed and it ran the link step. These errors 
are most likely because of the version mismatch between the project's 
object files (built against 2.064 Phobos) and the 2.065 Phobos archive.


More information about the Digitalmars-d-learn mailing list