Hi Prakash,
prakash bedge wrote: > There is the version.h file in RHL5 (usr/include/linux/version.h), but > not in Solaris 10. Correct. > Does anyone know the information on equivalent header file present in > solaris 10? > > Is there any other way to solve this issue? my understanding of linux' "version.h" file is that it's there purely to provide information which is returned by the uname system call. With OpenSolaris, we set this information via the build scripts, and it flows down into usr/src/uts/common/os/ver.c 34 #include <sys/utsname.h> 35 36 struct utsname utsname = { 37 "SunOS", "", UTS_RELEASE, UTS_VERSION, UTS_PLATFORM 38 }; This isn't an "issue" - it's just a reflection of the fact that Solaris/OpenSolaris and linux are different operating systems. What problem are you trying to solve? cheers, James C. McPherson -- Senior Kernel Software Engineer, Solaris Sun Microsystems http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code