The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



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

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Not able to compile Pro*c file due - give errors and points to /usr/include/.. file shafi2all High Level Programming 0 05-09-2008 03:27 AM
Not able to compile .pcc (Pro*C++) file shafi2all High Level Programming 0 05-08-2008 05:10 AM
Compile and dump errors to a text file starstarting UNIX for Dummies Questions & Answers 6 10-23-2006 09:45 AM
Compile .C file in Mac OS X 10.2 FerIX High Level Programming 2 10-31-2002 11:11 AM
compile xev on HPUX 10.20 - errors lan High Level Programming 1 05-16-2002 01:22 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 04-10-2008
morrisey morrisey is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 6
Compile errors because of the ras.h file

I recently compile some code in 32 bit mode on a AIX 5.3 server that has its kernal set to 64 bit mode. The compile was successful and the code works great. That being the case I use the model of the successful makefile on some other code but ended up getting errors that looked like this......



$ make -f makefile1 all
xlc -P -I./h -I/usr/include -I/usr/include/sys -I.
-I/u01/app/oracle/product/10.2.0/precomp
/public -I/u01/app/oracle/product/10.2.0/rdbms/public
-I/u01/app/oracle/product/10.2.0/rdbms/demo
-I/u01/app/oracle/product/10.2.0/plsql/public
-I/u01/app/oracle/product/10.2.0/network/ -g -D_ORACLE_
src/run_rci.pc
/u01/app/oracle/product/10.2.0/bin/proc SQLCHECK=FULL DBMS=V8 CODE=ANSI_C USERID=user/pass UNSAFE_NULL=YES iname=./run_rci.i

Pro*C/C++: Release 10.2.0.3.0 - Production on Thu Apr 10 16:26:40 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 4931, column 329, file ./run_rci.i:
Error at line 4931, column 329 in file ./run_rci.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.



I traced some of the verbage (baddomain) back to this file /usr/include/sys/ras.h

What is this file and what is its purpose. It does not exits on my AIX 5.1 machine.

My compiler is C for AIX version 6. Is it possible that I need to upgrade my compiler to a higher version to solve this issue? Maybe this lower version is not fimiliar with this file.

Thanks for any and all help.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

BB 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 -4. The time now is 01:26 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0