------- You are receiving this mail because: -------
You are on the CC list for the bug.
http://bugs.exim.org/show_bug.cgi?id=829
Summary: make error on AIX 5.3
Product: PCRE
Version: 7.8
Platform: Other
OS/Version: AIX
Status: NEW
Severity: bug
Priority: medium
Component: Code
AssignedTo: ph10@???
ReportedBy: aaturner@???
CC: pcre-dev@???
A vanilla configure/make fails on AIX.
Let me know if you need more details. Thanks!
$ oslevel
5.3.0.0
$ gcc -v
Using built-in specs.
Target: powerpc-ibm-aix5.3.0.0
Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld
--enable-languages=c,c++,java --prefix=/opt/freeware --enable-threads
--enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.3.0.0
--target=powerpc-ibm-aix5.3.0.0 --build=powerpc-ibm-aix5.3.0.0
--disable-libjava-multilib
Thread model: aix
gcc version 4.2.0
configure CXXFLAGS='-maix64'
...
pcre-7.8 configuration summary:
Install prefix .................. : /usr/local
C preprocessor .................. : gcc -E
C compiler ...................... : gcc
C++ preprocessor ................ : g++ -E
C++ compiler .................... : g++
Linker .......................... : /usr/bin/ld
C preprocessor flags ............ :
C compiler flags ................ : -O2
C++ compiler flags .............. : -maix64
Linker flags .................... :
Extra libraries ................. :
Build C++ library ............... : yes
Enable UTF-8 support ............ : no
Unicode properties .............. : no
Newline char/sequence ........... : lf
\R matches only ANYCRLF ......... : no
EBCDIC coding ................... : no
Rebuild char tables ............. : no
Use stack recursion ............. : yes
POSIX mem threshold ............. : 10
Internal link size .............. : 2
Match limit ..................... : 10000000
Match limit recursion ........... : MATCH_LIMIT
Build shared libs ............... : yes
Build static libs ............... : no
Link pcregrep with libz ......... : no
Link pcregrep with libbz2 ....... : no
Link pcretest with libreadline .. : no
$ make
make all-am
/bin/sh ./config.status
config.status: creating Makefile
config.status: creating libpcre.pc
config.status: creating libpcrecpp.pc
config.status: creating pcre-config
config.status: creating pcre.h
config.status: creating pcre_stringpiece.h
config.status: creating pcrecpparg.h
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing script-chmod commands
config.status: executing delete-old-chartables commands
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-O2 -MT pcre_compile.lo -MD -MP -MF .deps/pcre_compile.Tpo -c -o
pcre_compile.lo pcre_compile.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_compile.lo -MD -MP -MF
.deps/pcre_compile.Tpo -c pcre_compile.c -DPIC -o .libs/pcre_compile.o
In file included from pcre_compile.c:53:
pcre_internal.h:976: error: expected specifier-qualifier-list before 'BOOL'
pcre_internal.h:1027: error: expected specifier-qualifier-list before 'BOOL'
pcre_internal.h:1137: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '_pcre_is_newline'
pcre_internal.h:1143: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '_pcre_was_newline'
pcre_internal.h:1145: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '_pcre_xclass'
pcre_compile.c:436: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'compile_regex'
pcre_compile.c:489: error: expected declaration specifiers or '...' before
'BOOL'
pcre_compile.c: In function 'check_escape':
pcre_compile.c:491: error: 'BOOL' undeclared (first use in this function)
pcre_compile.c:491: error: (Each undeclared identifier is reported only once
pcre_compile.c:491: error: for each function it appears in.)
pcre_compile.c:491: error: expected ';' before 'utf8'
pcre_compile.c:520: error: expected ';' before 'braced'
pcre_compile.c:570: error: 'braced' undeclared (first use in this function)
pcre_compile.c:577: error: 'negated' undeclared (first use in this function)
pcre_compile.c:632: error: 'isclass' undeclared (first use in this function)
pcre_compile.c:672: error: 'utf8' undeclared (first use in this function)
pcre_compile.c: At top level:
pcre_compile.c:882: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'is_counted_repeat'
pcre_compile.c:989: error: expected declaration specifiers or '...' before
'BOOL'
pcre_compile.c: In function 'find_parens':
pcre_compile.c:1019: error: 'BOOL' undeclared (first use in this function)
pcre_compile.c:1019: error: expected ';' before 'negate_class'
pcre_compile.c:1029: error: 'negate_class' undeclared (first use in this
function)
pcre_compile.c:1060: error: 'xmode' undeclared (first use in this function)
pcre_compile.c: At top level:
pcre_compile.c:1125: error: expected declaration specifiers or '...' before
'BOOL'
pcre_compile.c: In function 'first_significant_code':
pcre_compile.c:1140: error: 'skipassert' undeclared (first use in this
function)
pcre_compile.c: At top level:
pcre_compile.c:1374: error: expected declaration specifiers or '...' before
'BOOL'
pcre_compile.c: In function 'find_bracket':
pcre_compile.c:1454: error: 'utf8' undeclared (first use in this function)
pcre_compile.c: At top level:
pcre_compile.c:1477: error: expected declaration specifiers or '...' before
'BOOL'
pcre_compile.c: In function 'find_recurse':
pcre_compile.c:1549: error: 'utf8' undeclared (first use in this function)
pcre_compile.c: At top level:
pcre_compile.c:1578: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'could_be_empty_branch'
pcre_compile.c:1777: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'could_be_empty'
pcre_compile.c:1822: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'check_posix_syntax'
pcre_compile.c:1906: error: expected declaration specifiers or '...' before
'BOOL'
pcre_compile.c: In function 'adjust_recurse':
pcre_compile.c:1911: error: 'utf8' undeclared (first use in this function)
pcre_compile.c:1911: error: too many arguments to function 'find_recurse'
pcre_compile.c: At top level:
pcre_compile.c:2065: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'check_auto_possessive'
pcre_compile.c:2404: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'compile_branch'
pcre_compile.c:5452: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'compile_regex'
pcre_compile.c:5730: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'is_anchored'
pcre_compile.c:5806: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'is_startline'
pcre_compile.c:5878: error: expected declaration specifiers or '...' before
'BOOL'
pcre_compile.c: In function 'find_firstassertedchar':
pcre_compile.c:5884: error: too many arguments to function
'first_significant_code'
pcre_compile.c:5897: error: too many arguments to function
'find_firstassertedchar'
pcre_compile.c:5910: error: 'inassert' undeclared (first use in this function)
pcre_compile.c: In function 'pcre_compile2':
pcre_compile.c:6104: error: 'compile_data' has no member named 'nltype'
pcre_compile.c:6108: error: 'compile_data' has no member named 'nltype'
pcre_compile.c:6112: error: 'compile_data' has no member named 'nltype'
pcre_compile.c:6115: error: 'compile_data' has no member named 'nllen'
pcre_compile.c:6116: error: 'compile_data' has no member named 'nl'
pcre_compile.c:6117: error: 'compile_data' has no member named 'nl'
pcre_compile.c:6121: error: 'compile_data' has no member named 'nllen'
pcre_compile.c:6122: error: 'compile_data' has no member named 'nl'
pcre_compile.c:6230: error: 'compile_data' has no member named 'had_accept'
pcre_compile.c:6245: error: 'compile_data' has no member named 'had_accept'
pcre_compile.c:6269: error: too many arguments to function 'find_bracket'
pcre_compile.c:6310: error: too many arguments to function
'find_firstassertedchar'
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.
--
Configure bugmail:
http://bugs.exim.org/userprefs.cgi?tab=email