Hi,

I am trying to compile the cmd directory without using the make utility. I am 
using the Sun Studio cc compiler and want to know the minimum required 
infoprmation to compile the commands such as head, tail, ps etc. I am running 
into two issues.

1) When I try to compile ps.c, it complains that under priv.h, it cannot find 
priv_names.h file. I checked the source browser and indeed the file does not 
exist

2) I commented the above line and then tried to compile . some of the sommands 
such as head, tail etc compiled fine. For process specific cmds such as ptree, 
ps, it asks during link that getprojbyid symbol cud not be found. Anyone has 
any idea which librarieds I need to link with?

For thoise questioning my sanity, I am about to teach an undergrad course in OS 
and would like to give my students assignments based on the code. Since it is 
an undergrad class, I want them to be able to do simple things without getting 
into make issues. 


Any help would be greatly appreciated. You can also email the response to 
[EMAIL PROTECTED]

Thanks,

Adil
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
https://opensolaris.org:444/mailman/listinfo/opensolaris-code

Reply via email to