When you make subvision, the following error message appears:
/usr/local/src/neon-0.29.6/src/ne_auth.c:781: undefined reference to 'ne__ntlm_ Destroy_Context '
/usr/local/src/neon-0.29.6/src/ne_auth.c:785: undefined reference to ' Ne__ntlm_create_ Context
Collect2:ld returned 1 exit status
Make: * * * [subversion/libsvn_ra_neon/libsvn_ra_neon-1.la] Error 1
Compile a file with the above problem.
The reason is that libneon.a this static library uses some functions such as ne_xml_create, but the definitions of these functions are not found at compile time.
Workaround:
Libneon.a needs to be parsed with expat, or libxml. So, as long as in the system, install expat (such as expat-2.0.0.tar.gz) or libxml can be.
In addition, at compile time, also to link the corresponding library, if use expat, then add-lexpat
Workaround: Modify/usr/local/src/neon-0.29.6/src/makefile, change CFLAGS =-g-o2-prefer-pic to CFLAGS =-fpic-g-o2, and recompile neon, Then recompile the subversion again.
? 0?2
Add Subversion Environment variables
[Email protected] subversion-1.7.5]# Vi/etc/profile |
Add the following line of code at the end:
Turn it on to
Export path= $PATH:/usr/local/subversion/bin |
This sentence is placed on the previous line of "Export PATH USER LOGNAME MAIL HOSTNAME histsize INPUTRC"
Immediate effect environment configuration, no restart required, use the following command:
Neon error occurred during make subversion