1 Aug 2002 03:59
Compilation error of Apache 1.3.26 on AIX 43
Sandy Yung <sandy_yung <at> hotmail.com>
2002-08-01 01:59:47 GMT
2002-08-01 01:59:47 GMT
Hi,
I got the following error message when i typed 'make':
===> src/main
gcc -c -I/usr/local/include -I../os/unix -I../include -DAIX=43
-DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR
-DMOD_SSL=208110 -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT
-I../lib/expat-lite `../apaci` http_main.c
In file included from /usr/include/sys/thread.h:45,
from /usr/include/sys/ptrace.h:28,
from /usr/include/sys/proc.h:48,
from /usr/include/sys/pri.h:29,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:52,
from /usr/include/pthread.h:43,
from http_main.c:644:
/usr/include/sys/var.h:116: parse error before `__cptr64'
/usr/include/sys/var.h:116: warning: no semicolon at end of struct or union
/usr/include/sys/var.h:118: parse error before `ve_file'
/usr/include/sys/var.h:118: warning: data definition has no type or storage
class
/usr/include/sys/var.h:120: parse error before `ve_proc'
/usr/include/sys/var.h:120: warning: data definition has no type or storage
class
/usr/include/sys/var.h:123: parse error before `ve_thread'
/usr/include/sys/var.h:123: warning: data definition has no type or storage
class
/usr/include/sys/var.h:124: parse error before `vb_proc'
/usr/include/sys/var.h:124: warning: data definition has no type or storage
class
/usr/include/sys/var.h:125: parse error before `vb_thread'
/usr/include/sys/var.h:125: warning: data definition has no type or storage
class
/usr/include/sys/var.h:133: parse error before `}'
/usr/include/sys/var.h:191: parse error before `__cptr64'
/usr/include/sys/var.h:191: warning: no semicolon at end of struct or union
/usr/include/sys/var.h:191: warning: no semicolon at end of struct or union
/usr/include/sys/var.h:195: conflicting types for `v_file'
/usr/include/sys/var.h:117: previous declaration of `v_file'
/usr/include/sys/var.h:197: parse error before `__cptr64'
/usr/include/sys/var.h:197: warning: no semicolon at end of struct or union
/usr/include/sys/var.h:198: warning: data definition has no type or storage
class
/usr/include/sys/var.h:201: conflicting types for `v_proc'
/usr/include/sys/var.h:119: previous declaration of `v_proc'
/usr/include/sys/var.h:203: parse error before `__cptr64'
/usr/include/sys/var.h:203: warning: no semicolon at end of struct or union
/usr/include/sys/var.h:204: warning: data definition has no type or storage
class
/usr/include/sys/var.h:207: conflicting types for `v_clist'
/usr/include/sys/var.h:121: previous declaration of `v_clist'
/usr/include/sys/var.h:210: conflicting types for `v_thread'
/usr/include/sys/var.h:122: previous declaration of `v_thread'
/usr/include/sys/var.h:212: parse error before `__cptr64'
/usr/include/sys/var.h:212: warning: no semicolon at end of struct or union
/usr/include/sys/var.h:213: warning: data definition has no type or storage
class
/usr/include/sys/var.h:215: parse error before `__cptr64'
/usr/include/sys/var.h:215: warning: no semicolon at end of struct or union
/usr/include/sys/var.h:216: warning: data definition has no type or storage
class
/usr/include/sys/var.h:218: parse error before `__cptr64'
/usr/include/sys/var.h:218: warning: no semicolon at end of struct or union
/usr/include/sys/var.h:219: warning: data definition has no type or storage
class
/usr/include/sys/var.h:223: conflicting types for `v_ncpus'
/usr/include/sys/var.h:126: previous declaration of `v_ncpus'
/usr/include/sys/var.h:227: conflicting types for `v_ncpus_cfg'
/usr/include/sys/var.h:127: previous declaration of `v_ncpus_cfg'
/usr/include/sys/var.h:231: conflicting types for `v_fullcore'
/usr/include/sys/var.h:128: previous declaration of `v_fullcore'
/usr/include/sys/var.h:235: conflicting types for `v_initlvl'
/usr/include/sys/var.h:129: previous declaration of `v_initlvl'
/usr/include/sys/var.h:244: conflicting types for `v_coreformat'
/usr/include/sys/var.h:130: previous declaration of `v_coreformat'
/usr/include/sys/var.h:248: conflicting types for `v_xmgc'
/usr/include/sys/var.h:131: previous declaration of `v_xmgc'
/usr/include/sys/var.h:252: conflicting types for `v_cpuguard'
/usr/include/sys/var.h:132: previous declaration of `v_cpuguard'
/usr/include/sys/var.h:253: parse error before `}'
/usr/include/sys/var.h:253: warning: data definition has no type or storage
class
/usr/include/sys/var.h:254: parse error before `}'
In file included from /usr/include/sys/pri.h:29,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:52,
from /usr/include/pthread.h:43,
from http_main.c:644:
/usr/include/sys/proc.h:176: field `p_ru' has incomplete type
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
My configuration options are:
# ./configure --prefix=/usr/local/apache_1.3.26
--logfiledir=/var/tomcat/logs --exec-prefix=/usr/local/apache_1.3.26
--bindir=/usr/local/apache_1.3.26/bin --sbindir=/usr/local/apache_1.3.26/bin
--libexecdir=/usr/local/apache_1.3.26/libexec
--mandir=/usr/local/apache_1.3.26/man --sysconfdir=/var/tomcat/conf
--enable-module=rewrite --enable-module=expires --enable-module=log_agent
--enable-module=log_referer --enable-module=so --enable-module=ssl
--enable-shared=ssl
Any hints?
Thanks!
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
RSS Feed