Posted on 2006-11-16
Iam trying to compile some 600 lines of code on a solaris platform using gcc compiler.When I am compiling as gcc convRptFile.c,it throws the below error.Please tell me wether I have to enable any environment setup commands or any commands to be executed before compiling.but i am able to compile using cc without any errors instead og gcc.
In file included from /usr/include/sys/sysmacros.h:18, from /usr/gnu/lib/gcc-lib/sparc-sun-sunos4.1/2.3.3/includ
e/sys/types.h:19, from convRptFile.c:4:
/usr/gnu/lib/gcc-lib/sparc-sun-sunos4.1/2.3.3/include/sys/param.h:9: machine/param.h: No such file or directory