Linux 11.2 to 10.2 Proc Compile error

I am trying to compile a proc++ program on linux using an 11.2 client
and pointing to a 10.2 database running on Solaris. The compiler is able
to connect to the database but the semantic checks fail as if it cannot see
any objects in the database. I tried a test, only selecting 'X' into a varchar
from dual and that also failed the semantic check. Is there a backwords
compatability flag I need to set? A 10.2 client on linux pointing to a 10.2 Solaris DB server works. Any help would be appreciated