getting problem with this procedure.
all the permissions are there for that view

SQL>CREATE OR REPLACE procedure machinename IS
2 v_mc_name system.v$session.machine%type;
3 BEGIN
4 select distinct machine into v_mc_name from system.v$session
5 END;
6 /

Warning: Procedure created with compilation errors.

SQL> show err
Errors for PROCEDURE MACHINENAME:

LINE/COL ERROR
-------- -----------------------------------------------------------------
2/11 PLS-00201: identifier 'SYSTEM.V$SESSION' must be declared
2/11 PL/SQL: Item ignored
4/1 PL/SQL: SQL Statement ignored
4/45 PLS-00201: identifier 'SYSTEM.V$SESSION' must be declared