On Linux, with oshmem enabled:

pinit_f.c:26:2: warning: #ident is a GCC extension
pshmem_init.c:31: warning: no previous prototype for 'pstart_pes'
pshmem_align.c:25: warning: no previous prototype for 'pshmemalign'
pshmem_align.c: In function 'pshmemalign':
pshmem_align.c:42: error: implicit declaration of function 'pshmem_barrier_all'
pshmem_query.c:25: warning: no previous prototype for 'p_num_pes'
pshmem_query.c:31: warning: no previous prototype for 'p_my_pe'
pshmem_free.c:26: warning: no previous prototype for 'pshfree'
pshmem_free.c: In function 'pshfree':
pshmem_free.c:33: error: implicit declaration of function 'pshmem_barrier_all'
pshmem_alloc.c:25: warning: no previous prototype for 'pshmalloc'
make[3]: *** [pshmem_align.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
pshmem_alloc.c: In function 'pshmalloc':
pshmem_alloc.c:42: error: implicit declaration of function 'pshmem_barrier_all'
make[3]: *** [pshmem_free.lo] Error 1
make[3]: *** [pshmem_alloc.lo] Error 1
pshmem_g.c:57: warning: no previous prototype for 'pshmem_short_g'
pshmem_g.c:58: warning: no previous prototype for 'pshmem_int_g'
pshmem_g.c:59: warning: no previous prototype for 'pshmem_long_g'
pshmem_g.c:60: warning: no previous prototype for 'pshmem_longlong_g'
pshmem_g.c:61: warning: no previous prototype for 'pshmem_float_g'
pshmem_g.c:62: warning: no previous prototype for 'pshmem_double_g'
pshmem_g.c:63: warning: no previous prototype for 'pshmem_longdouble_g'
pshmem_realloc.c:27: warning: no previous prototype for 'pshrealloc'
pshmem_realloc.c: In function 'pshrealloc':
pshmem_realloc.c:44: error: implicit declaration of function 'pshmem_barrier_all'
make[3]: *** [pshmem_realloc.lo] Error 1
pshmem_p.c:58: warning: no previous prototype for 'pshmem_short_p'
pshmem_p.c:59: warning: no previous prototype for 'pshmem_int_p'
pshmem_p.c:60: warning: no previous prototype for 'pshmem_long_p'
pshmem_p.c:61: warning: no previous prototype for 'pshmem_longlong_p'
pshmem_p.c:62: warning: no previous prototype for 'pshmem_float_p'
pshmem_p.c:63: warning: no previous prototype for 'pshmem_double_p'
pshmem_get.c:58: warning: no previous prototype for 'pshmem_char_get'
pshmem_p.c:64: warning: no previous prototype for 'pshmem_longdouble_p'
pshmem_get.c:59: warning: no previous prototype for 'pshmem_short_get'
pshmem_get.c:60: warning: no previous prototype for 'pshmem_int_get'
pshmem_get.c:61: warning: no previous prototype for 'pshmem_long_get'
pshmem_get.c:62: warning: no previous prototype for 'pshmem_longlong_get'
pshmem_get.c:63: warning: no previous prototype for 'pshmem_float_get'
pshmem_get.c:64: warning: no previous prototype for 'pshmem_double_get'
pshmem_get.c:65: warning: no previous prototype for 'pshmem_longdouble_get'
pshmem_get.c:95: warning: no previous prototype for 'pshmem_getmem'
pshmem_get.c:96: warning: no previous prototype for 'pshmem_get32'
pshmem_get.c:97: warning: no previous prototype for 'pshmem_get64'
pshmem_get.c:98: warning: no previous prototype for 'pshmem_get128'
pshmem_put.c:61: warning: no previous prototype for 'pshmem_char_put'
pshmem_put.c:62: warning: no previous prototype for 'pshmem_short_put'
pshmem_put.c:63: warning: no previous prototype for 'pshmem_int_put'
pshmem_put.c:64: warning: no previous prototype for 'pshmem_long_put'
pshmem_put.c:65: warning: no previous prototype for 'pshmem_longlong_put'
pshmem_put.c:66: warning: no previous prototype for 'pshmem_float_put'
pshmem_put.c:67: warning: no previous prototype for 'pshmem_double_put'
pshmem_put.c:68: warning: no previous prototype for 'pshmem_longdouble_put'
pshmem_put.c:98: warning: no previous prototype for 'pshmem_putmem'
pshmem_put.c:99: warning: no previous prototype for 'pshmem_put32'
pshmem_put.c:100: warning: no previous prototype for 'pshmem_put64'
pshmem_put.c:101: warning: no previous prototype for 'pshmem_put128'
pshmem_broadcast.c:116: warning: no previous prototype for 'pshmem_broadcast32'
pshmem_broadcast.c:117: warning: no previous prototype for 'pshmem_broadcast64'
pshmem_broadcast.c:118: warning: no previous prototype for 'pshmem_broadcast'
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1