List Info

Thread: APR error




APR error
user name
2007-10-18 08:13:18

Hello,

           ; I am facing a problem with the runtimes to get Subversion running.

 

I am attempting to install Subversion 1.4.5 on RHEL 5 machine, using APR 1.2.11 and APR-util 1.2.10, neon version is 0.27.2

Configure runs successfully but generates warning ( quoting relevant section ) ; GCC 4.1.1 was already on the system but GCC 4.2.2 is used as google search for the error indicated that older GCC version was causing the error.

 

I run configure as :

 

./configure --prefix=/svn/svnhome/subversion-1.4.5 --with-neon=/usr/local --with-apr=/svn/svnhome/subversion-1.4.5/apr-1.2.11 --with-apr-util=/svn/svnhome/subversion-1.4.5/apr-util-1.2.10 --libdir=/usr/local/lib --with-neon-config=/usr/local/bin

 

When I run make , an error occurs as below:

 

[rootINVSTLINUX42S0654 subversion-1.4.5]# make

.

.

.( relevant part)

/svn/svnhome/subversion-1.4.5/apr-1.2.11/.libs/libapr-1.so: undefined reference to `__gcov_execvp'

/svn/svnhome/subversion-1.4.5/apr-1.2.11/.libs/libapr-1.so: undefined reference to `__gcov_merge_add'

/svn/svnhome/subversion-1.4.5/apr-1.2.11/.libs/libapr-1.so: undefined reference to `__gcov_execv'

/svn/svnhome/subversion-1.4.5/apr-1.2.11/.libs/libapr-1.so: undefined reference to `__gcov_fork'

/svn/svnhome/subversion-1.4.5/apr-1.2.11/.libs/libapr-1.so: undefined reference to `__gcov_init'

/svn/svnhome/subversion-1.4.5/apr-1.2.11/.libs/libapr-1.so: undefined reference to `__gcov_execve'

collect2: ld returned 1 exit status

make: *** [subversion/svn/svn] Error 1

 

I have highlighted the rpath as I am not sure of the correct path to given when I run configure , this is the path where file libgcov.a is located and seems to have the above references.

Google didn’;t come up with any useful answers. Is the above error the result of a bug or am I not using correct parameters for ./configure?

 

 

Thanks & Regards,

Rahul Patil

 

DISCLAIMER:
This email may contain confidential or privileged information for the intended recipient(s) and the views expressed in the same are not necessarily the views of Zensar Technologies Ltd. If you are not the intended recipient or have received this e-mail by error, its use is strictly prohibited, please delete the e-mail and notify the sender. Zensar Technologies Ltd. does not accept any liability for virus infected mails.

Re: APR error
country flaguser name
United States
2007-10-18 12:34:24
Rahul Patil wrote:
> 
> I am attempting to install Subversion 1.4.5 on RHEL 5
machine, using APR 
> 1.2.11 and APR-util 1.2.10, neon version is 0.27.2

>
*/svn/svnhome/subversion-1.4.5/apr-1.2.11/.libs/libapr-1.so:
undefined 
> reference to `__gcov_execvp'*

You are trying to build svn with some coverage analysis, and
apr compilation
flags aren't configured similarly.  Are you /trying/ to do
profile analysis
of either subversion or apr?

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )