aix5.2 with ML01.
downloaded gcc-2.9.aix51.020209-3 and installed.
next downloaded apache httpd-2.0.48
$./configure --prefix=/xyz
$ make ....................starts giving following problem.
# make
Making all in srclib
Making all in apr
Making all in strings
/bin/sh /apache/httpd-2.0.48/srclib/apr/libtool --silent --mode=compile
gcc -g -O2 -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -D_USE_IRS -I../include
-I../include/arch/unix -c apr_cpystrn.c && touch apr_cpystrn.lo
/bin/sh /apache/httpd-2.0.48/srclib/apr/libtool --silent --mode=compile
gcc -g -O2 -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -D_USE_IRS -I../include
-I../include/arch/unix -c apr_snprintf.c && touch apr_snprintf.lo
In file included from /usr/include/sys/pri.h:43,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:52,
from /usr/include/pthread.h:44,
from ../include/apr_portable.h:85,
from apr_snprintf.c:65:
/usr/include/sys/proc.h:730: parse error before `1UL'
/usr/include/sys/proc.h:730: stray '\' in program
In file included from /usr/include/pthread.h:44,
from ../include/apr_portable.h:85,
from apr_snprintf.c:65:
/usr/include/sched.h:66: parse error before `}'
/usr/include/sched.h:71: warning: `struct sched_param' declared inside parameter
list
/usr/include/sched.h:71: warning: its scope is only this definition or declarati
on, which is probably not what you want.
/usr/include/sched.h:74: warning: `struct sched_param' declared inside parameter
list
/usr/include/sched.h:75: warning: `struct sched_param' declared inside parameter
list
In file included from ../include/apr_portable.h:85,
from apr_snprintf.c:65:
/usr/include/pthread.h:261: warning: `struct sched_param' declared inside parame
ter list
/usr/include/pthread.h:265: warning: `struct sched_param' declared inside parame
ter list
/usr/include/pthread.h:300: warning: `struct sched_param' declared inside parame
ter list
/usr/include/pthread.h:305: warning: `struct sched_param' declared inside parame
ter list
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
Any suggestions! Thanks in advance.
aixnag
IBM Certified Specialist - P-series AIX 5L Administration
IBM Certified Specialist - AIX V4 HACMP
downloaded gcc-2.9.aix51.020209-3 and installed.
next downloaded apache httpd-2.0.48
$./configure --prefix=/xyz
$ make ....................starts giving following problem.
# make
Making all in srclib
Making all in apr
Making all in strings
/bin/sh /apache/httpd-2.0.48/srclib/apr/libtool --silent --mode=compile
gcc -g -O2 -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -D_USE_IRS -I../include
-I../include/arch/unix -c apr_cpystrn.c && touch apr_cpystrn.lo
/bin/sh /apache/httpd-2.0.48/srclib/apr/libtool --silent --mode=compile
gcc -g -O2 -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -D_USE_IRS -I../include
-I../include/arch/unix -c apr_snprintf.c && touch apr_snprintf.lo
In file included from /usr/include/sys/pri.h:43,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:52,
from /usr/include/pthread.h:44,
from ../include/apr_portable.h:85,
from apr_snprintf.c:65:
/usr/include/sys/proc.h:730: parse error before `1UL'
/usr/include/sys/proc.h:730: stray '\' in program
In file included from /usr/include/pthread.h:44,
from ../include/apr_portable.h:85,
from apr_snprintf.c:65:
/usr/include/sched.h:66: parse error before `}'
/usr/include/sched.h:71: warning: `struct sched_param' declared inside parameter
list
/usr/include/sched.h:71: warning: its scope is only this definition or declarati
on, which is probably not what you want.
/usr/include/sched.h:74: warning: `struct sched_param' declared inside parameter
list
/usr/include/sched.h:75: warning: `struct sched_param' declared inside parameter
list
In file included from ../include/apr_portable.h:85,
from apr_snprintf.c:65:
/usr/include/pthread.h:261: warning: `struct sched_param' declared inside parame
ter list
/usr/include/pthread.h:265: warning: `struct sched_param' declared inside parame
ter list
/usr/include/pthread.h:300: warning: `struct sched_param' declared inside parame
ter list
/usr/include/pthread.h:305: warning: `struct sched_param' declared inside parame
ter list
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
Any suggestions! Thanks in advance.
aixnag
IBM Certified Specialist - P-series AIX 5L Administration
IBM Certified Specialist - AIX V4 HACMP