Does my ld support shared object creation

Hi,
I have been trying to create a sharef object on my HP UX 11 machine
(HP-UX <myhostname> B.11.00 A 9000/879 ...... two-user license)

to create the shared object first I am creating the object file using
cc -Aa -c +z dyn.c

(I use -Aa and +z as per HP's manual on linkers ) to create the PIC.
But I get a error saying that the -A and +z are " available only with the C/ANSI C product; ignored "

so does this mean that I am using kinda incomplete compiler product ?

and offcourse since this fails to create a PIC, i cannot create a shared library. When I do a
ld -b -o libdyn.sl dyn.o
it says "ld: DP relative code in file dyn.o - shared library must be position independent. Use +z or +Z to recompile"

Please provide information.