# compiling issues

**URL:** <https://community.unix.com/t/compiling-issues/196696>\
**Category:** AIX\
**Created:** [May 12, 2008, 6:39pm UTC](https://community.unix.com/t/compiling-issues/196696 "2008-05-12T18:39:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![morrisey](https://community.unix.com/letter_avatar/morrisey/32/6_449c533f586939b6e5f246632a46421f.png) [@morrisey](https://community.unix.com/u/morrisey)\
**Post date:** [May 12, 2008, 6:39pm UTC](https://community.unix.com/t/compiling-issues/196696/1 "2008-05-12T18:39:07Z")

</div>

Anyone know why I'm getting the below compiling errors when I #include the \<sys/shm.h\> file to my .h file?....  
This is on a 64bitmode machine but compiling some code in 32bitmode with the OBJECT\_MODE set to 32. When I don't include this file, all compiles fine. But the shm.h file is needed for shared memory messaging.

\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
cc -P -I./h -I/usr/include -I/u01/app/oracle/product/10.2.0/precomp/public -g -D\_ORACLE\_ ./src/exec\_que.pc  
/u01/app/oracle/product/10.2.0/bin/proc SQLCHECK=FULL DBMS=V8 CODE=ANSI\_C USERID=user/pass UNSAFE\_NULL=YES iname=./exec\_que.i

Pro\*C/C++: Release 10.2.0.3.0 - Production on Mon May 12 17:18:04 2008  
Copyright (c) 1982, 2005, Oracle. All rights reserved.

System default option values taken from  
/u01/app/oracle/product/10.2.0/precomp/admin/pcscfg.cfg

Syntax error at line 5809, column 329, file ./exec\_que.i:  
Error at line 5809, column 329 in file ./exec\_que.i  
struct CoMpIlE\_aSsErT\_\_baddomain { char v[(( (( (ras\_cmd\_t)0x52 \<\< ( (sizeof(ras\_cmd\_t)-1) \* 8 ) ) | ((ras\_cmd\_t)(0x1) \<\< 8) |  
((ras\_cmd\_t)(0x100)) ) | ( ( ((((ras\_cmd\_t)(0x1)) \<\< 8) & ( ( (ras\_cmd\_t)0xFF ) \<\< ( (sizeof(ras\_cmd\_t)-1) \* 8 ))) || (((ras\_cmd\_t)(0x1)) == 0) ||  
(((ras\_cmd\_t)(0x100)) & ~( (ras\_cmd\_t)0xFF )) ) ? -1LL : 0) ) == -1LL)  
? 1 : -1]; };  
................................................................................  
................................................................................  
................................................................................  
................................................................................  
........1  
PCC-S-02201, Encountered the symbol "L" when expecting one of the following:

, = : ( [ \* ? | & \< \> + - / % . ^ \*= /= %= += -= \<\<= \>\>= &&=  
||= ^= | & == != \<= \>= \<\< \>\> ++ -- -\>  
The symbol "," was substituted for "L" to continue.

\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
