I'm trying to make httpd 2.2.10 on Solaris 10 (SunOS ######### 5.10
Generic_137111-06 ) . I've set LDFLAGS and my PATH
includes /usr/local/bin, /usr/ccs/bin and /usr/sfw/bin ( gcc is
in /usr/sfw/bin ).
-- Installed openssl version:  OpenSSL 0.9.8e 23 Feb 2007
-- gcc shows the following build information:
$ ./gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured
with: /gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

The make has failed each time with this set of errors:

/maint/downloads/httpd-2.2.10/srclib/apr/libtool --silent --mode=link
gcc -g -O2     -L/usr/sfw/lib  -R/usr/local/ssl/lib -L/usr/local/ssl/lib
-R/usr/local/lib -L/usr/local/lib -o ab  ab.lo
-lm /maint/downloads/httpd-2.2.10/srclib/pcre/libpcre.la 
/maint/downloads/httpd-2.2.10/srclib/apr-util/libaprutil-1.la
 -lexpat /maint/downloads/httpd-2.2.10/srclib/apr/libapr-1.la -luuid
-lsendfile -lrt -lsocket -lnsl -lpthread -lssl -lcrypto -lsocket -lnsl
-ldl
Undefined                       first referenced
 symbol                             in file
BIO_set_callback                    .libs/ab.o
BIO_set_callback_arg                .libs/ab.o
BIO_get_callback_arg                .libs/ab.o
SSL_CTX_set_info_callback           .libs/ab.o
ld: fatal: Symbol referencing errors. No output written to .libs/ab
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `ab'
Current working directory /maint/downloads/httpd-2.2.10/support
*** Error code 1
The following command caused the error:
otarget=`echo all-recursive|sed s/-recursive//`; \.
list='  '; \
for i in $list; do \
    if test -d "$i"; then \
        target="$otarget"; \
        echo "Making $target in $i"; \
        if test "$i" = "."; then \
                made_local=yes; \
                target="local-$target"; \
        fi; \
        (cd $i && make $target) || exit 1; \
    fi; \
done; \
if test "$otarget" = "all" && test -z 'htpasswd htdigest rotatelogs
logresolve ab checkgid htdbm htcacheclean httxt2dbm'; then \
    made_local=yes; \
fi; \
if test "$made_local" != "yes"; then \
    make "local-$otarget" || exit 1; \
fi
make: Fatal error: Command failed for target `all-recursive'
Current working directory /maint/downloads/httpd-2.2.10/support
*** Error code 1
The following command caused the error:
otarget=`echo all-recursive|sed s/-recursive//`; \.
list='  srclib os server modules support'; \
for i in $list; do \
    if test -d "$i"; then \
        target="$otarget"; \
        echo "Making $target in $i"; \
        if test "$i" = "."; then \
                made_local=yes; \
                target="local-$target"; \;
        fi; \
        (cd $i && make $target) || exit 1; \
    fi; \
done; \
if test "$otarget" = "all" && test -z 'httpd shared-build '; then \
    made_local=yes; \
fi; \
if test "$made_local" != "yes"; then \
    make "local-$otarget" || exit 1; \
fi
make: Fatal error: Command failed for target `all-recursive'


There are errors in the config log, but they look like the output of the
expected tests, and not "real" errors.  The config.log for the
previously-installed 2.2.8 build looks nearly identical, yet somehow it
appears to have made and installed OK ( I did not build that one, so I'm
not sure of what was done).

The only libtools on the box are in the Apache httpd build directories
( the previous one and the 2.2.10 one).  ld is in several places on the
box, but the one in /usr/ccs/bin would be the first to be found given my
PATH, which corresponds to the build settings for gcc as per above.

My limited powers of Google-fu have turned up a few similar issues, but
nothing matching exactly; the most similar set of errors was for a build
on Mac OS, which I wasn't sure how to, uh, "translate" to Solaris.

I'm feeling pretty clueless at this point, plus my Solaris knowledge is
not that deep, so any and all suggestions are appreciated.
Thanks all.
P



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to