This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problem on HPUX 11.23 using gcc 3.4.3
- From: Alberto Iribarren <albertoi at intersoft dot com dot ar>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 18 May 2005 11:20:44 +0000
- Subject: Problem on HPUX 11.23 using gcc 3.4.3
Hi:
I am porting an application on HPUX B.11.23 IA64 using gcc 3.4.3 (gcc
downloaded from HP site).
An error happens in any source file that includes the file
"/usr/include/sys/ipc.h" .
The error is:
/usr/include/sys/ipc.h:51: error: 'cid_t' does not name type
Compiling this source code it occurs too, using both gcc and g++:
#include <stdio.h>
#include <sys/types.h>
#include <sys/ipc.h>
int main() {
return 0;
}
In the ipc.h file there is a struct definition that has a member called
cid. This member is a type "cid_t" variable.
The problem is that "cid_t" is not defined. And I don't know what to
define (using -D option).
Thanks.
--
Alberto Iribarren <albertoi@intersoft.com.ar>