5.10 solaris 编译http出现ld: fatal: Symbol referencing errors

我在用5.10 solaris 编译http 的时候报的错误,网上找了很多。求论坛的高手看看

This program built for i386-pc-solaris2.10

Reading makefiles...
Updating goal targets....
File `local-all' does not exist.
   File `htpasswd' does not exist.
  Must remake target `htpasswd'.
make[2]: Entering directory `/soft/httpd-2.2.9/support'
/usr/local/apache/build/libtool --silent --mode=link gcc -g -O2     -L/usr/local/lib -R/usr/local/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib   -o htpasswd  htpasswd.lo   -lm /soft/httpd-2.2.9/srclib/pcre/libpcre.la /usr/local/apache/lib/libaprutil-1.la -lexpat -liconv /usr/local/apache/lib/libapr-1.la -luuid -lsendfile -lrt -lsocket -lnsl -lpthread
Undefined                       first referenced
symbol                             in file
atomic_swap_32                      /usr/local/apache/lib/libapr-1.so
atomic_cas_ptr                      /usr/local/apache/lib/libapr-1.so
atomic_swap_ptr                     /usr/local/apache/lib/libapr-1.so
atomic_inc_32_nv                    /usr/local/apache/lib/libapr-1.so
atomic_dec_32_nv                    /usr/local/apache/lib/libapr-1.so
atomic_cas_32                       /usr/local/apache/lib/libapr-1.so
ld: fatal: Symbol referencing errors. No output written to htpasswd
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] Error 1
make[2]: Leaving directory `/soft/httpd-2.2.9/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/soft/httpd-2.2.9/support'
make: *** [all-recursive] Error 1