The UNIX Forums  

Go Back   The UNIX Forums > OS Specific Forums > AIX
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.


Other UNIX.COM Threads You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Compiling with Dll in HP Ux dwgi32 High Level Programming 2 11-13-2007 06:43 PM
re-compiling aViking UNIX for Advanced & Expert Users 5 03-21-2006 06:44 AM
compiling with aix 5.1 n-may AIX 1 05-24-2004 11:17 PM
compiling Blunt_Killer High Level Programming 1 09-28-2001 08:10 PM
C compiling cantcatchme High Level Programming 5 07-18-2001 06:36 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-12-2008
Registered User
 

Join Date: Mar 2008
Posts: 6
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
compiling issues

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.

*********************************
Reply With Quote
Google UNIX.COM
Forum Sponsor
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 11:03 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
UNIX Forum Content Copyright ©1993-2008 SilkRoad Asia All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102