undefined reference to `_D5xxxx6yyyyy12__ModuleInfoZ'
Ali Çehreli via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Nov 5 15:53:57 PST 2014
On 11/05/2014 03:48 PM, bioinfornatics wrote:
> Dear,
>
> maybe I'm too tired to see my errors or they are a bug. See below
>
> I have this:
> .
> |-- fasta.d
> `-- src
> `-- nicea
> |-- metadata.d
> |-- parser.d
> `-- range.d
>
> when I try to build it:
>
> $ dmd -I./src/ ./fasta.d 2>&1
Include all files no the command line:
$ dmd -I./src/ ./fasta.d ./src/nicea/metadata.d ./src/nicea/parser.d
./src/nicea/range.d 2>&1
> fasta.o:(.rodata+0x1f8): undefined reference to
> `_D5nicea6parser12__ModuleInfoZ'
> collect2: error: ld returned 1 exit status
> --- errorlevel 1
>
> If I merge all files in one that build!
>
> What is it ?
>
> I tried to minimize the problem with dustmite but it give to me at end
> an empty file …
>
> thanks
Ali
More information about the Digitalmars-d-learn
mailing list