GDC Updated to 2.055/1.070

a a at a.com
Thu Sep 22 16:27:55 PDT 2011


maarten van damme Wrote:

> for some reason I don't got your reply but I read it throught the web
> interface.
> I think the real error is
> In file included from /usr/include/bits/errno.h:25:0,
>                  from /usr/include/errno.h:36,
>                  from ../../../zlib/zutil.h:38,
>                  from ../../../zlib/crc32.c:29:
> /usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or
> directory
> compilation terminated.
> make[5]: *** [libz_a-crc32.o] Error 1
> make[5]: Leaving directory
> `/home/maartenvd1994/gdc_building/gdc/dev/gcc4.6.1/objdir/64/zlib'
> make[4]: *** [multi-do] Error 1
> make[4]: Leaving directory
> `/home/maartenvd1994/gdc_building/gdc/dev/gcc-4.6.1/objdir/zlib'
> make[3]: *** [all-multi] Error 2
> make[3]: Leaving directory
> `/home/maartenvd1994/gdc_building/gdc/dev/gcc-4.6.1/objdir/zlib'
> make[2]: *** [all-stage1-zlib] Error 2
> make[2]: *** Waiting for unfinished jobs....
> 
> I'll recompile and save the output to a file and post it here.
> 
> for some reason I don't got your reply but I read it throught the web interface.<br>I think the real error is<br>In file included from /usr/include/bits/errno.h:25:0,<br>                 from /usr/include/errno.h:36,<br>
>                  from ../../../zlib/zutil.h:38,<br>                 from ../../../zlib/crc32.c:29:<br>/usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or directory<br>compilation terminated.<br>make[5]: *** [libz_a-crc32.o] Error 1<br>
> make[5]: Leaving directory `/home/maartenvd1994/gdc_building/gdc/dev/gcc4.6.1/objdir/64/zlib'<br>make[4]: *** [multi-do] Error 1<br>make[4]: Leaving directory `/home/maartenvd1994/gdc_building/gdc/dev/gcc-4.6.1/objdir/zlib'<br>
> make[3]: *** [all-multi] Error 2<br>make[3]: Leaving directory `/home/maartenvd1994/gdc_building/gdc/dev/gcc-4.6.1/objdir/zlib'<br>make[2]: *** [all-stage1-zlib] Error 2<br>make[2]: *** Waiting for unfinished jobs....<br>
> <br>I'll recompile and save the output to a file and post it here.<br><br><br>
> 

I had similar problems on debian testing x86_64. Apparently some files have been 
moved and this causes those problems. For example, /usr/include/asm/errno.h is 
now at /usr/include/x86_64-linux-gnu/asm/errno.h. Plain gcc failed to compile too. 
I tried messing around with symlinks and environment variables but failed. 
Then I have just compiled gdc on debian stable with --prefix=/opt/gdc/ (to not 
mess up my system), installed it and moved files to debian testing. Before using
it I run 

export PATH=/opt/gdc/bin/:$PATH
export LD_LIBRARY_PATH=/lib/x86_64-linux-gnu/

and it works.


More information about the D.gnu mailing list