edmObjects and edmPvObjects get built in the $EDMBASE/setup directory.
I think that the problem is your environment variables are pointing to …/edmMain instead of …/setup, and are picking up the wrong versions of edmObjects and edmPvObjects.
I am facing another error...
srk@srk:~/epics$ edm
/home/sinclair/edm/sources/libEpics.so: cannot open shared object file: No such file or directory