LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem making apache2 (https://www.linuxquestions.org/questions/linux-newbie-8/problem-making-apache2-301433/)

chennairaja 03-14-2005 08:39 AM

problem making apache2
 
hello iam trying to make apache2 and i get the following error.......pls help me out.
iam using suse9.0 distro. when i compiled from the same source on an fc1 machine this pbm never came....pls help me out


/home/oss/sunil123/httpd-2.0.53/srclib/apr/.libs/libapr-0.so: undefined reference to `pthread_create'
/home/oss/sunil123/httpd-2.0.53/srclib/apr/.libs/libapr-0.so: undefined reference to `pthread_getspecific'
/home/oss/sunil123/httpd-2.0.53/srclib/apr/.libs/libapr-0.so: undefined reference to `pthread_detach'
/home/oss/sunil123/httpd-2.0.53/srclib/apr/.libs/libapr-0.so: undefined reference to `pthread_once'
/home/oss/sunil123/httpd-2.0.53/srclib/apr/.libs/libapr-0.so: undefined reference to `pthread_key_create'
/home/oss/sunil123/httpd-2.0.53/srclib/apr/.libs/libapr-0.so: undefined reference to `pthread_attr_setstacksize'
/home/oss/sunil123/httpd-2.0.53/srclib/apr/.libs/libapr-0.so: undefined reference to `pthread_sigmask'
/home/oss/sunil123/httpd-2.0.53/srclib/apr/.libs/libapr-0.so: undefined reference to `pthread_mutex_trylock'
/home/oss/sunil123/httpd-2.0.53/srclib/apr/.libs/libapr-0.so: undefined reference to `pthread_join'
/home/oss/sunil123/httpd-2.0.53/srclib/apr/.libs/libapr-0.so: undefined reference to `pthread_setspecific'
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] Error 1
make[2]: Leaving directory `/home/oss/sunil123/httpd-2.0.53/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/oss/sunil123/httpd-2.0.53/support'
make: *** [all-recursive] Error 1


sunil

ksgill 03-14-2005 08:57 AM

Are you issuing make command as root? If not, then you should.

chennairaja 03-14-2005 09:07 AM

hi thanx for the response but i tried sudo make after u told me to.....
but the same error comes again...

i dont have root password

sunil

ksgill 03-14-2005 11:23 AM

I think its not letting u write to the directories.
Quote:

make[2]: *** [htpasswd] Error 1
make[2]: Leaving directory `/home/oss/sunil123/httpd-2.0.53/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/oss/sunil123/httpd-2.0.53/support'
make: *** [all-recursive] Error 1


All times are GMT -5. The time now is 02:15 PM.