Linker error in linker error in cldapd.o
Harsha
inet.harsha at gmail.com
Thu Mar 19 21:59:19 GMT 2009
Hi all,
I'm sorry to have had to first post this message on the samba general
list. I just figured that this is the relevant list for my question.
My system is 64 bit Ubuntu 8.10 with gcc version 4.3.2.
This is my first week with Samba. I got sources and compiled them fine
till yesterday. Today I did a git pull and am getting the following
linker errors-
Compiling smbd/process_standard.c
Partially linking bin/mergedobj/process_model_standard.o
Linking bin/samba
bin/mergedobj/cldapd.o: In function `cldapd_request_handler':
cldap_server.c:(.text+0x79): undefined reference to `tsocket_address_string'
cldap_server.c:(.text+0xca): undefined reference to `cldap_error_reply'
cldap_server.c:(.text+0x13b): undefined reference to `tsocket_address_string'
cldap_server.c:(.text+0x188): undefined reference to `cldap_error_reply'
cldap_server.c:(.text+0x1e6): undefined reference to `tsocket_address_string'
cldap_server.c:(.text+0x233): undefined reference to `cldap_error_reply'
bin/mergedobj/cldapd.o: In function `cldapd_add_socket':
cldap_server.c:(.text+0x337): undefined reference to
`_tsocket_address_inet_from_strings'
cldap_server.c:(.text+0x3f6): undefined reference to `cldap_socket_init'
cldap_server.c:(.text+0x448): undefined reference to `tsocket_address_string'
cldap_server.c:(.text+0x496): undefined reference to
`cldap_set_incoming_handler'
bin/mergedobj/cldapd.o: In function `cldapd_netlogon_request':
(.text+0x1ccb): undefined reference to `tsocket_address_inet_addr_string'
bin/mergedobj/cldapd.o: In function `cldapd_netlogon_request':
(.text+0x1d74): undefined reference to `cldap_netlogon_reply'
bin/mergedobj/cldapd.o: In function `cldapd_netlogon_request':
(.text+0x1df8): undefined reference to `cldap_empty_reply'
bin/mergedobj/cldapd.o: In function `cldapd_rootdse_request':
(.text+0x23d0): undefined reference to `cldap_reply_send'
bin/mergedobj/samba-net.o: In function `libnet_FindSite':
(.text+0x6e4d): undefined reference to `cldap_socket_init'
bin/mergedobj/samba-net.o: In function `libnet_FindSite':
(.text+0x6ea7): undefined reference to `cldap_netlogon'
bin/mergedobj/samba-net.o: In function `becomeDC_send_cldap':
libnet_become_dc.c:(.text+0x7747): undefined reference to `cldap_socket_init'
libnet_become_dc.c:(.text+0x7779): undefined reference to `cldap_netlogon_send'
bin/mergedobj/samba-net.o: In function `becomeDC_recv_cldap':
libnet_become_dc.c:(.text+0x780e): undefined reference to `cldap_netlogon_recv'
bin/mergedobj/samba-net.o: In function `unbecomeDC_send_cldap':
libnet_unbecome_dc.c:(.text+0xd8d5): undefined reference to `cldap_socket_init'
libnet_unbecome_dc.c:(.text+0xd907): undefined reference to
`cldap_netlogon_send'
bin/mergedobj/samba-net.o: In function `unbecomeDC_recv_cldap':
libnet_unbecome_dc.c:(.text+0xd99c): undefined reference to
`cldap_netlogon_recv'
collect2: ld returned 1 exit status
make: *** [bin/samba] Error 1
root at harsha-amd64:/home/harsha/mapi/samba-master/source4#
I deleted /usr/local/samba, did make clean and tried compiling, but I
still see the problem.
Can anyone please tell me why this may be happening ?
Many thanks,
Harsha
More information about the samba-technical
mailing list