I have just started using (evaluating) perforce and have this problem.
I have set `root' to /home/staff/noel/prj'.
; cd /home/staff/noel/prj/ssp
; ls
Makefile ssp.1 ssp.c
; p4 add ssp.c
Path '/home/staff/noel/ssp.c' is not under client's root '/home/staff/noel/prj'.
; p4 add /home/staff/noel/prj/ssp/ssp.c
//depot/prj/ssp/ssp.c#1 - opened for add
Chapter 3 of the user guide suggests that it isn't necessary to use
absolute path names for adding files - the section in question showing
$ cd ~/elm/doc
$ p4 add elm-help.*
//depot/elm_proj/doc/elm-help.0#1 - opened for add
.
.
etc, where `root' was set to `/usr/edk/elm'.
Have I incorrectly configured something?