Bluehost.com Web Hosting $6.95

[Samba] Error when complile samba 4 with python 2.5

This is a discussion on [Samba] Error when complile samba 4 with python 2.5 within the Samba forums, part of the Networking and Network Related category; 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': ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-19-2008
ndahuy@tma.com.vn
 
Posts: n/a
Default [Samba] Error when complile samba 4 with python 2.5


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_d n':
py_drsuapi.c:(.text+0x67c6): undefined reference to `PyUnicodeUCS2_Decode'
bin/mergedobj/python_drsuapi.o: In function
`py_drsuapi_DsReplicaObjectIdentifier3Binary_set_d n':
py_drsuapi.c:(.text+0x6869): undefined reference to
`PyUnicodeUCS2_AsEncodedString'
bin/mergedobj/python_drsuapi.o: In function
`py_drsuapi_DsReplicaUpdateRefsRequest1_get_dest_d sa_dns_name':
py_drsuapi.c:(.text+0xce89): undefined reference to `PyUnicodeUCS2_Decode'
bin/mergedobj/python_drsuapi.o: In function
`py_drsuapi_DsReplicaUpdateRefsRequest1_set_dest_d sa_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_d n':
py_drsuapi.c:(.text+0x1144f): undefined reference to
`PyUnicodeUCS2_Decode'
bin/mergedobj/python_drsuapi.o: In function
`py_drsuapi_DsWriteAccountSpnRequest1_set_object_d n':
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,



--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 01:39 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0