[Samba] Error when complile samba 4 with python 2.5
ndahuy at tma.com.vn
ndahuy at tma.com.vn
Thu Jun 19 17:00:54 GMT 2008
Hi,
When compile samba4 with python 2.5, I've got error below:
n/mergedobj/python_svcctl.o: In function
`py_SERVICE_LOCK_STATUS_get_lock_owner':
py_svcctl.c:(.text+0x142): undefined reference to `PyUnicodeUCS2_Decode'
bin/mergedobj/python_svcctl.o: In function
`py_SERVICE_LOCK_STATUS_set_lock_owner':
py_svcctl.c:(.text+0x227): undefined reference
topy_svcctl.c:(.text+0x7dd0): undefined reference to
`PyUnicodeUCS2_AsEncodedString'
bin/mergedobj/python_svcctl.o: In function
`unpack_py_svcctl_GetServiceKeyNameA_args_out':
`PyUnicodeUCS2_AsEncodedString'
bin/mergedobj/python_drsuapi.o: In function
`py_drsuapi_DsReplicaObjectIdentifier3Binary_get_dn':
py_drsuapi.c:(.text+0x67c6): undefined reference to `PyUnicodeUCS2_Decode'
bin/mergedobj/python_drsuapi.o: In function
`py_drsuapi_DsReplicaObjectIdentifier3Binary_set_dn':
py_drsuapi.c:(.text+0x6869): undefined reference to
`PyUnicodeUCS2_AsEncodedString'
bin/mergedobj/python_drsuapi.o: In function
`py_drsuapi_DsReplicaUpdateRefsRequest1_get_dest_dsa_dns_name':
py_drsuapi.c:(.text+0xce89): undefined reference to `PyUnicodeUCS2_Decode'
bin/mergedobj/python_drsuapi.o: In function
`py_drsuapi_DsReplicaUpdateRefsRequest1_set_dest_dsa_dns_name':
py_drsuapi.c:(.text+0xcf54): undefined reference to
`PyUnicodeUCS2_AsEncodedString'
bin/mergedobj/python_drsuapi.o: In function
`py_drsuapi_DsNameString_get_str':
py_drsuapi.c:(.text+0xfdf5): undefined reference to `PyUnicodeUCS2_Decode'
bin/mergedobj/python_drsuapi.o: In function
`py_drsuapi_DsNameString_set_str':
py_drsuapi.c:(.text+0xfed8): undefined reference to
`PyUnicodeUCS2_AsEncodedString'
bin/mergedobj/python_drsuapi.o: In function
`py_drsuapi_DsNameInfo1_get_dns_domain_name':
py_drsuapi.c:(.text+0x109da): undefined reference to
`PyUnicodeUCS2_Decode'
bin/mergedobj/python_drsuapi.o: In function
`py_drsuapi_DsNameInfo1_set_dns_domain_name':
py_drsuapi.c:(.text+0x10abf): undefined reference to
`PyUnicodeUCS2_AsEncodedString'
bin/mergedobj/python_drsuapi.o: In function
`py_drsuapi_DsNameInfo1_get_result_name':
py_drsuapi.c:(.text+0x10b58): undefined reference to
`PyUnicodeUCS2_Decode'
bin/mergedobj/python_drsuapi.o: In function
`py_drsuapi_DsNameInfo1_set_result_name':
py_drsuapi.c:(.text+0x10c3d): undefined reference to
`PyUnicodeUCS2_AsEncodedString'
bin/mergedobj/python_drsuapi.o: In function
`py_drsuapi_DsWriteAccountSpnRequest1_get_object_dn':
py_drsuapi.c:(.text+0x1144f): undefined reference to
`PyUnicodeUCS2_Decode'
bin/mergedobj/python_drsuapi.o: In function
`py_drsuapi_DsWriteAccountSpnRequest1_set_object_dn':
py_drsuapi.c:(.text+0x11534): undefined reference to
`PyUnicodeUCS2_AsEncodedString'
bin/mergedobj/python_drsuapi.o: In function
`py_drsuapi_DsRemoveDSServerRequest1_get_server_dn':
py_drsuapi.c:(.text+0x11d39): undefined reference to
`PyUnicodeUCS2_Decode'
bin/mergedobj/python_drsuapi.o: In function
`py_drsuapi_DsRemoveDSServerRequest1_set_server_dn':
py_drsuapi.c:(.text+0x11e1c): undefined reference to
`PyUnicodeUCS2_AsEncodedString'
bin/mergedobj/python_drsuapi.o: In function
`py_drsuapi_DsRemoveDSServerRequest1_get_domain_dn':
py_drsuapi.c:(.text+0x11eb4): undefined reference to
`PyUnicodeUCS2_Decode'
bin/mergedobj/python_drsuapi.o: In function
`py_drsuapi_DsRemoveDSServerRequest1_set_domain_dn':
py_drsuapi.c:(.text+0x11f99): undefined reference to
`PyUnicodeUCS2_AsEncodedString'
bin/mergedobj/python_drsuapi.o: In function
`py_drsuapi_DsGetDCInfoRequest1_get_domain_name':
py_drsuapi.c:(.text+0x124f8): undefined reference to
`PyUnicodeUCS2_Decode'
bin/mergedobj/python_drsuapi.o: In function
`py_drsuapi_DsGetDCInfoRequest1_set_domain_name':
py_drsuapi.c:(.text+0x125db): undefined reference to
`PyUnicodeUCS2_AsEncodedString'
bin/mergedobj/python_drsuapi.o: In function
When I run "./configure" command, My samba cannot find the path to the
new python2.5 install directory. I changed the python2.5-config file the
first line :"#!/usr/local/python2.5/bin/python. The command "./configure"
can run successfully. After that, I run command :"make" and it generates
some error below. I think this issue is "samba uses the env of python"
not it's env... I tried to change the env but it cannot resolve the
issue.
Thanks, Regards,
Huy,
More information about the samba
mailing list