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

Reply via email to