Hi everybody,
Some errots when i try compiling apache, i use gcc instead of xlc
./configure -C --enable-so --prefix /usr/local/apache2
This one, works fine, but make don't
Making all in srclib
Making all in apr
/bin/sh /usr/local/bin/httpd-2.2.6/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict
-prototypes -Wmissing-declarations -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -D_USE_IRS -D_LARGEFILE64_SOURCE -I./include -I/usr/
local/bin/httpd-2.2.6/srclib/apr/include/arch/unix -I./include/arch/unix -I/usr/local/bin/httpd-2.2.6/srclib/apr/include -o strings
/apr_snprintf.lo -c strings/apr_snprintf.c && touch strings/apr_snprintf.lo
In file included from ./include/apr_portable.h:47,
from strings/apr_snprintf.c:23:
/usr/include/pthread.h:596: error: parse error before '*' token
/usr/include/pthread.h:599: error: parse error before '*' token
/usr/include/pthread.h:603: error: parse error before '*' token
/usr/include/pthread.h:606: error: parse error before '*' token
/usr/include/pthread.h:609: error: parse error before '*' token
/usr/include/pthread.h:612: error: parse error before '*' token
/usr/include/pthread.h:615: error: parse error before '*' token
/usr/include/pthread.h:618: error: parse error before '*' token
/usr/include/pthread.h:621: error: parse error before '*' token
/usr/include/pthread.h:625: error: parse error before '*' token
/usr/include/pthread.h:628: error: parse error before '*' token
/usr/include/pthread.h:639: error: parse error before '*' token
/usr/include/pthread.h:643: error: parse error before '*' token
/usr/include/pthread.h:666: error: parse error before '*' token
/usr/include/pthread.h:669: error: parse error before '*' token
/usr/include/pthread.h:672: error: parse error before '*' token
/usr/include/pthread.h:675: error: parse error before '*' token
/usr/include/pthread.h:678: error: parse error before '*' token
/usr/include/pthread.h:686: error: parse error before '*' token
/usr/include/pthread.h:689: error: parse error before '*' token
/usr/include/pthread.h:692: error: parse error before '*' token
/usr/include/pthread.h:695: error: parse error before '*' token
/usr/include/pthread.h:703: error: parse error before '*' token
/usr/include/pthread.h:707: error: parse error before '*' token
/usr/include/pthread.h:710: error: parse error before '*' token
make: 1254-004 The error code from the last command is 1.
has anyone have an idea ?
regards
Patrick.
Some errots when i try compiling apache, i use gcc instead of xlc
./configure -C --enable-so --prefix /usr/local/apache2
This one, works fine, but make don't
Making all in srclib
Making all in apr
/bin/sh /usr/local/bin/httpd-2.2.6/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict
-prototypes -Wmissing-declarations -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -D_USE_IRS -D_LARGEFILE64_SOURCE -I./include -I/usr/
local/bin/httpd-2.2.6/srclib/apr/include/arch/unix -I./include/arch/unix -I/usr/local/bin/httpd-2.2.6/srclib/apr/include -o strings
/apr_snprintf.lo -c strings/apr_snprintf.c && touch strings/apr_snprintf.lo
In file included from ./include/apr_portable.h:47,
from strings/apr_snprintf.c:23:
/usr/include/pthread.h:596: error: parse error before '*' token
/usr/include/pthread.h:599: error: parse error before '*' token
/usr/include/pthread.h:603: error: parse error before '*' token
/usr/include/pthread.h:606: error: parse error before '*' token
/usr/include/pthread.h:609: error: parse error before '*' token
/usr/include/pthread.h:612: error: parse error before '*' token
/usr/include/pthread.h:615: error: parse error before '*' token
/usr/include/pthread.h:618: error: parse error before '*' token
/usr/include/pthread.h:621: error: parse error before '*' token
/usr/include/pthread.h:625: error: parse error before '*' token
/usr/include/pthread.h:628: error: parse error before '*' token
/usr/include/pthread.h:639: error: parse error before '*' token
/usr/include/pthread.h:643: error: parse error before '*' token
/usr/include/pthread.h:666: error: parse error before '*' token
/usr/include/pthread.h:669: error: parse error before '*' token
/usr/include/pthread.h:672: error: parse error before '*' token
/usr/include/pthread.h:675: error: parse error before '*' token
/usr/include/pthread.h:678: error: parse error before '*' token
/usr/include/pthread.h:686: error: parse error before '*' token
/usr/include/pthread.h:689: error: parse error before '*' token
/usr/include/pthread.h:692: error: parse error before '*' token
/usr/include/pthread.h:695: error: parse error before '*' token
/usr/include/pthread.h:703: error: parse error before '*' token
/usr/include/pthread.h:707: error: parse error before '*' token
/usr/include/pthread.h:710: error: parse error before '*' token
make: 1254-004 The error code from the last command is 1.
has anyone have an idea ?
regards
Patrick.