GDC build [was: Re: Sort order of dirEntries]
Joseph Rushton Wakeling
joseph.wakeling at webdrake.net
Fri Oct 26 05:36:18 PDT 2012
On 10/26/2012 04:51 AM, H. S. Teoh wrote:
> Hmm. Try apt-get install libppl0.11-dev, maybe? That's where that file
> should be. AFAIK apt-get build-dep should've pulled that one in, but
> just in case it didn't, this may help.
It's installed, but the headers in /usr/include/x86_64-linux-gnu/ instead of
just /usr/include/ -- it's a multiarch thing again.
So, I symlinked /usr/include/x86_64-linux-gnu/ppl* to /usr/include/ and that
seems to get round it.
I also tried running make without the -j4 option, in case there was something
about the parallel build jobs that was screwing things up.
So, now it falls over with a whole bunch of new errors, ending with the following:
-------------------------------------------------------------------------------
libbackend.a(tree-scalar-evolution.o): In function `gt_ggc_mx_scev_info_str(void*)':
tree-scalar-evolution.c:(.text+0x4bd0): undefined reference to
`gt_ggc_mx_lang_tree_node(void*)'
libbackend.a(tree-scalar-evolution.o): In function `gt_pch_nx_scev_info_str(void*)':
tree-scalar-evolution.c:(.text+0x4c91): undefined reference to
`gt_pch_nx_lang_tree_node(void*)'
libbackend.a(tree-scalar-evolution.o): In function `gt_ggc_mx_scev_info_str(void*)':
tree-scalar-evolution.c:(.text+0x4bdf): undefined reference to
`gt_ggc_mx_lang_tree_node(void*)'
libbackend.a(tree-scalar-evolution.o): In function `gt_pch_nx_scev_info_str(void*)':
tree-scalar-evolution.c:(.text+0x4ca0): undefined reference to
`gt_pch_nx_lang_tree_node(void*)'
libbackend.a(tree.o): In function `gt_pch_nx_type_hash(void*)':
tree.c:(.text+0x785): undefined reference to `gt_pch_nx_lang_tree_node(void*)'
libbackend.a(tree.o): In function `gt_ggc_mx_type_hash(void*)':
tree.c:(.text+0x844): undefined reference to `gt_ggc_mx_lang_tree_node(void*)'
libbackend.a(tree.o):(.rodata+0x1ab8): undefined reference to
`gt_ggc_mx_lang_tree_node(void*)'
libbackend.a(tree.o):(.rodata+0x1ac0): undefined reference to
`gt_pch_nx_lang_tree_node(void*)'
libbackend.a(tree.o):(.rodata+0x1ae8): undefined reference to
`gt_ggc_mx_lang_tree_node(void*)'
libbackend.a(tree.o):(.rodata+0x1af0): undefined reference to
`gt_pch_nx_lang_tree_node(void*)'
libbackend.a(tree.o):(.rodata+0x1b78): undefined reference to
`gt_ggc_mx_lang_tree_node(void*)'
libbackend.a(tree.o):(.rodata+0x1b80): undefined reference to
`gt_pch_nx_lang_tree_node(void*)'
libbackend.a(tree.o):(.rodata+0x1ba0): undefined reference to
`gt_ggc_mx_lang_tree_node(void*)'
libbackend.a(tree.o):(.rodata+0x1ba8): undefined reference to
`gt_pch_nx_lang_tree_node(void*)'
libbackend.a(tree.o):(.rodata+0x1bc8): undefined reference to
`gt_ggc_mx_lang_tree_node(void*)'
libbackend.a(tree.o):(.rodata+0x1bd0): undefined reference to
`gt_pch_nx_lang_tree_node(void*)'
libbackend.a(tree.o):(.rodata+0x1bf0): undefined reference to
`gt_ggc_mx_lang_tree_node(void*)'
libbackend.a(tree.o):(.rodata+0x1bf8): undefined reference to
`gt_pch_nx_lang_tree_node(void*)'
libbackend.a(tree.o):(.rodata+0x1c18): undefined reference to
`gt_ggc_mx_lang_tree_node(void*)'
libbackend.a(tree.o):(.rodata+0x1c20): undefined reference to
`gt_pch_nx_lang_tree_node(void*)'
libbackend.a(i386.o):(.rodata+0x55b8): undefined reference to
`gt_ggc_mx_lang_tree_node(void*)'
libbackend.a(i386.o):(.rodata+0x55c0): undefined reference to
`gt_pch_nx_lang_tree_node(void*)'
libbackend.a(i386.o):(.rodata+0x55e0): undefined reference to
`gt_ggc_mx_lang_tree_node(void*)'
libbackend.a(i386.o):(.rodata+0x55e8): undefined reference to
`gt_pch_nx_lang_tree_node(void*)'
libbackend.a(i386.o):(.rodata+0x5608): undefined reference to
`gt_ggc_mx_lang_tree_node(void*)'
libbackend.a(i386.o):(.rodata+0x5610): undefined reference to
`gt_pch_nx_lang_tree_node(void*)'
libbackend.a(i386.o):(.rodata+0x56f8): undefined reference to
`gt_ggc_mx_lang_tree_node(void*)'
libbackend.a(i386.o):(.rodata+0x5700): undefined reference to
`gt_pch_nx_lang_tree_node(void*)'
libbackend.a(i386.o):(.rodata+0x5720): undefined reference to
`gt_ggc_mx_lang_tree_node(void*)'
libbackend.a(i386.o):(.rodata+0x5728): undefined reference to
`gt_pch_nx_lang_tree_node(void*)'
libbackend.a(i386.o):(.rodata+0x5748): undefined reference to
`gt_ggc_mx_lang_tree_node(void*)'
libbackend.a(i386.o):(.rodata+0x5750): undefined reference to
`gt_pch_nx_lang_tree_node(void*)'
collect2: error: ld returned 1 exit status
make[3]: *** [cc1d] Error 1
-------------------------------------------------------------------------------
What's really annoying is that AFAICS all of these last errors occur at the
point where the gdc executable is being linked ... :-\
More information about the Digitalmars-d-learn
mailing list