RE: [users@httpd] Possible bug? Httpd Make error on Solaris 10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Dan Richardson [mailto:mundek23@xxxxxxxxxxxxx] 
> Sent: Wednesday, July 19, 2006 3:37 PM
> To: users@xxxxxxxxxxxxxxxx
> Subject: [users@httpd] Possible bug? Httpd Make error on Solaris 10
> 
> Hello,
> 
> I am compiling httpd-2.2.2 on Solaris 10 (Sparc), using gcc 
> 3.3.2 and GNU make 3.80 and I'm hitting some problems.
> 
> ./configure --prefix=/www/httpd/test-vr --enable-so 
> --enable-rewrite --enable-headers --enable-shared=max 
> 
> seems to run fine, then I run Make and it bails out with this error:
> 
> Making all in support
> make[1]: Entering directory `/usr/local/src/httpd-2.2.2/support'
> make[2]: Entering directory `/usr/local/src/httpd-2.2.2/support'
> /usr/local/src/httpd-2.2.2/srclib/apr/libtool --silent 
> --mode=link gcc -g -O2     
> -L/usr/local/src/httpd-2.2.2/srclib/apr-util/xml/expat/lib   
> -o htpasswd  htpasswd.lo   -lm 
> /usr/local/src/httpd-2.2.2/srclib/pcre/libpcre.la 
> /usr/local/src/httpd-2.2.2/srclib/apr-util/libaprutil-1.la 
> /usr/local/src/httpd-2.2.2/srclib/apr-util/xml/expat/lib/libex
pat.la -liconv /usr/local/src/httpd-2.2.2/srclib/apr/libapr-1.la >
-luuid -lsendfile -lrt -lsocket -lnsl -lpthread

Could be you need to install the apr package that comes with the apache
distro. This is what I did the last time I compiled 2.2.2 on solaris:


# Build and install apr 1.2
cd srclib/apr
./configure --prefix=${INSTALL_PREFIX}/apr-httpd
make || exit;
make install || exit;

# Build and install apr-util 1.2
cd ../apr-util
./configure --prefix=${INSTALL_PREFIX}/apr-util-httpd
--with-apr=${INSTALL_PREFIX}/apr-httpd
make || exit;
make install || exit;

# continue with configuration (ie, your line above)

> ./configure --prefix=/www/httpd/test-vr --enable-so 
> --enable-rewrite --enable-headers --enable-shared=max 

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

c> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_rwlock_tryrdlock@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_exit@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_attr_setguardsize@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_attr_setstacksize@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_key_create@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `dlerror@xxxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `write@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `modf@xxxxxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_key_delete@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_create@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_setspecific@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `gethostname@xxxxxxxxxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `open@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `writev@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_rwlock_trywrlock@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `waitpid@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `fcntl@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_rwlock_init@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_join@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `select@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_attr_destroy@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_sigmask@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_equal@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_rwlock_destroy@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `isnan@xxxxxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_attr_init@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `dlopen@xxxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_mutexattr_settype@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_attr_getdetachstate@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_detach@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `read@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_getspecific@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `poll@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_attr_setdetachstate@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `dlsym@xxxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_rwlock_rdlock@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_rwlock_wrlock@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_self@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `dlclose@xxxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_rwlock_unlock@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `pthread_once@xxxxxxxx'
> /usr/local/src/httpd-2.2.2/srclib/apr/.libs/libapr-1.so: 
> undefined reference to `sigaction@xxxxxxxx'
> collect2: ld returned 1 exit status
> make[2]: *** [htpasswd] Error 1
> make[2]: Leaving directory `/usr/local/src/httpd-2.2.2/support'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/httpd-2.2.2/support'
> make: *** [all-recursive] Error 1
> 
> Anyone run into this before? It's driving me nuts and Google 
> isn't throwing up anything too helpful.
> 
> Any help greatly appreciated.
> 
> Cheers,
> 
> Dan 
> 
> 
> 
> -- 
> _______________________________________________
> Check out the latest SMS services @ http://www.linuxmail.org
> This allows you to send and receive SMS through your mailbox.
> 
> Powered by Outblaze
> 
> ---------------------------------------------------------------------
> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
 
 
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux