HP-UX

mod_perl설치도중 make 에러발생(ipc.h)

 
김동준_2
비정기 조언자

mod_perl설치도중 make 에러발생(ipc.h)

mod_perl을 설치하는 과정에서, make시 다음과 같은 에러가 발생하였습니다.

무엇이 문제고, 해결방법을 알려주시면 고맙겠습니다.



ktpri#/try/mod_perl-2.0.2>make

cd "src/modules/perl" && make

gcc -I/infra/try/mod_perl-2.0.2/src/modules/perl -I/infra/try/mod_perl-2.0.2/xs -I/opt/hpws/apache/include -I/opt/hpws/apache/include -I/opt/hpws/apache/ldap/include/ -I/opt/hpws/apache/include -D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -fPIC -fno-strict-aliasing -I/opt/perl/lib/5.8.0/IA64.ARCHREV_0-thread-multi/CORE -DMOD_PERL -DMP_COMPAT_1X -DHPUX11 -D_XOPEN_SOURCE_EXTENDED -fPIC \

-c mod_perl.c && mv mod_perl.o mod_perl.lo

In file included from /opt/perl/lib/5.8.0/IA64.ARCHREV_0-thread-multi/CORE/perl.h:3950,

from modperl_perl_includes.h:65,

from modperl_common_includes.h:23,

from mod_perl.h:20,

from mod_perl.c:16:

/usr/include/sys/ipc.h:51: error: syntax error before 'cid_t'

/usr/include/sys/ipc.h:56: error: syntax error before '}' token

In file included from /opt/perl/lib/5.8.0/IA64.ARCHREV_0-thread-multi/CORE/perl.h:3951,

from modperl_perl_includes.h:65,

from modperl_common_includes.h:23,

from mod_perl.h:20,

from mod_perl.c:16:

/usr/include/sys/sem.h:91: error: field 'sem_perm' has incomplete type

*** Error exit code 1



Stop.

*** Error exit code 1



Stop.