httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lu, Jin [CNTUS]" <J...@CNTUS.JNJ.COM>
Subject A question about `pcre_default_tables' undeclared
Date Thu, 16 May 2002 18:56:12 GMT
Hi all,

I have made many attempts to compile the httpd-2.0.36 apache server in a
solaris8 machine.
I even switched to the latest version of gcc 3.0.3 without using gcc
supplied by SUN CDROM, new binutils2.11.2.  None of them works.
I talked to some friends that they have the same compiling problem for
apache2.x in solaris 8 machine.
Is it a bug?
The ./configure runs fine, when doing  make 
The error message is:
Making all in pcre
make[2]: Entering directory `/opt/mysoftware/httpd-2.0.36/srclib/pcre'
make[3]: Entering directory `/opt/mysoftware/httpd-2.0.36/srclib/pcre'
/bin/bash /opt/mysoftware/httpd-2.0.36/srclib/apr/libtool --silent
--mode=compile gcc  -g -O2 -pthrea
-I/opt/mysoftware/httpd-2.0.36/server/mpm/prefork -I/opt/mysoftwa
re/httpd-2.0.36/modules/http -I/opt/mysoftware/httpd-2.0.36/modules/proxy
.36/include -I/opt/mysoftware/httpd-2.0.36/srclib/apr/include
pr-util/include -I/opt/mysoftware/httpd-2.0.36/modules/dav/main
/apr-util/xml/expat/lib -prefer-non-pic -static -c pcre.c && touch pcre.lo
pcre.c: In function `pcre_compile':
pcre.c:2534: `pcre_default_tables' undeclared (first use in this function)
pcre.c:2534: (Each undeclared identifier is reported only once
pcre.c:2534: for each function it appears in.)
make[3]: *** [pcre.lo] Error 1
make[3]: Leaving directory `/opt/mysoftware/httpd-2.0.36/srclib/pcre'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/mysoftware/httpd-2.0.36/srclib/pcre'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/mysoftware/httpd-2.0.36/srclib'
make: *** [all-recursive] Error 1

Here is my gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3/specs
Configured with: ../configure --with-as=/usr/local/bin/as
--with-ld=/usr/local/bin/ld --enable-libgcj
Thread model: posix
gcc version 3.0.3

Here is my perl: perl -v

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
    osname=solaris, osvers=2.8, archname=sun4-solaris
    uname='sunos localhost 5.8 sun4u sparc sunw,ultra-1 '
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
    cc='cc', optimize='-xO3 -xdepend', gccversion=
    ccflags =''
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =''
    libpth=/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
    libc=/lib/, so=so, useshrplib=true,
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R
    cccdlflags='-KPIC', lddlflags='-G'

Characteristics of this binary (from libperl): 
  Built under solaris
  Compiled at Dec 22 1999 00:00:57

I use LD_LIBARY_PATH=/usr/local/lib:/usr/local/lib/gcc-lib

Do I have to include more entries for LD_LIBARY_PATH or any ideas, why does
it happen so often?  Hopefully there is a WAY!

Thanks for any suggestion!



View raw message