See https://bitbucket.org/plan9-from-bell-labs/9-cc/issues/1/problems-building-under-x64-linux for some tips on fixing various errors you may encounter, including this one. (I opened that issue like 8 months ago...) On Wed, Nov 25, 2015 at 11:10 AM, Vasudev Kamath wrote: > > Hi, > > I'm trying to compile ken-cc from ¹. Its giving me following error > > cc -c -m32 -g -O > -I/home/vasudev/Documents/C_programming/compilers/9-cc/Linux/386/include > -I/home/vasudev/Documents/C_programming/compilers/9-cc/include -DLINUX_386 > -I../cmd/ 9obj.c > In file included from > /home/vasudev/Documents/C_programming/compilers/9-cc/Linux/386/include/lib9.h:9:0, > from 9obj.c:5: > /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and > _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] > # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use > _DEFAULT_SOURCE" > ^ > 9obj.c:8:22: fatal error: 9c/9.out.h: No such file or directory > compilation terminated. > mk: cc -c -m32 ... : exit status=exit(1) > mk: for j in ... : exit status=exit(1) > > I can't find 9c under src/cmd folder. Any hints on how to get it > compiled?. > > Cheers, > > ¹ https://bitbucket.org/plan9-from-bell-labs/9-cc/overview > > -- Ryan [ERROR]: Your autotools build scripts are 200 lines longer than your program. Something’s wrong. http://kirbyfan64.github.io/