Page 1 of 1

compileation error of version 5.3.5

Posted: Fri Jul 04, 2014 4:34 am
by jjhskang
I am trying to compile version 5.3.5 on the IBM AIX machine with IBM power6 chips.

There, I get an error message:

""getshmem.c", line 23.42: 1506-045 (S) Undeclared identifier SHM_NORESERVE.


How can I solve this problem?

Re: compileation error of version 5.3.5

Posted: Fri Mar 20, 2015 10:51 am
by walker11
Hi
You can solve an error by modifying below.

15 * output: shmem id
16 */
17 #define SHM_NORESERVE 0
18 void getshmem_(size_t *size, int*id)
19 {