compiling issues


 
Thread Tools Search this Thread
Operating Systems AIX compiling issues
# 1  
Old 05-12-2008
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.

*********************************
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Compiling ghostscript v 9.21

I ran configure, and then make, using the SCO 6.0.0 cc compiler. -bash-3.2# make UX:make: ERROR: bad character | (octal 174), line 277 (bu40)UX:make: ERROR: Mess age not found!! ... (4 Replies)
Discussion started by: jgt
4 Replies

2. Solaris

ERROR while compiling

Hi guys i came across an error while compiling a c file in solaris using gcc. the error is, Undefined first referenced symbol in file bind /var/tmp//ccAr8qAh.o accept ... (4 Replies)
Discussion started by: rajeshb6
4 Replies

3. Solaris

compiling Berkeley db.

Hi there, I need to install a later version of Berkeley DB on a solaris 10 server but I can not remove the previous version. I've used the configure option of --with-uniquename. It looks like the make has worked. I'm worried that the make install may interfer with the current... (0 Replies)
Discussion started by: Mickey G2
0 Replies

4. Solaris

Compiling Speed Issues in Solaris 10

Hello All Our development team is about to compile a code and the issue is with time. This server's LDOM has 56 virtual CPUs each 1.4GHz and the memory is 8GB with 4 GB free. The problem is for the same compiling other server takes 15 minutes and this requires 30 minutes. Please let me know your... (2 Replies)
Discussion started by: chrs0302
2 Replies

5. UNIX for Advanced & Expert Users

re-compiling

I have a problem. How can I be sure that the binary currently in production is the binary originally produced by the compiler? I ask because recompiling the sources (ALL sources + stripping away the metadata: strip ...) does not give the same result. I am pretty sure that I wasn't hacked! ... (5 Replies)
Discussion started by: aViking
5 Replies

6. Programming

Compiling a program

Hello. I am trying to run a c program on a unix shell (ssh). I have searched this forum but have not come accross the soultion to my problem, so I am posting my question here :cool: I wrote the following simple code: #include <iostream.h> using namespace std; int main() { ... (7 Replies)
Discussion started by: Minnesota Red
7 Replies

7. Programming

compiling

I am new to unix so please forgive ignorance. I am running openbsd-2.9 and need some help. All the software I run was added via the package system openbsd has. There have been times when I need an app. But it was not in the openbsd ports and or packages system. I usually just wait for it to show up... (1 Reply)
Discussion started by: Blunt_Killer
1 Replies

8. UNIX for Dummies Questions & Answers

compiling qt

i am trying to compile and install free qt for x11 2.2.4 in order to use kde 2.1. i'm using freebsd 4.3 i currently have XFree86 installed and working. i followed these instructions: ftp://ftp.trolltech.com/qt/source/INSTALL i get through the unpacking fine and i set my .profile. --... (2 Replies)
Discussion started by: nydel
2 Replies

9. UNIX for Dummies Questions & Answers

compiling

would anyone know of a good online tutorial on compiling and installing tarballs? i'm looking for one that assumes that you know very little to nothing about unix. (3 Replies)
Discussion started by: nydel
3 Replies

10. Programming

C compiling

I recently loaded SuSE on my intel comp. I am presently taking a walk down memory lane from my days at UofT. I was fiddling round with cc and the gcc compilers. I wrote a basic basic basic program . I tried to compile it as I remember doing in Uni. The problem is that it can't find the header... (5 Replies)
Discussion started by: cantcatchme
5 Replies
Login or Register to Ask a Question