Menu

#71 Problem building 1.1 on Red Hat 5 task: cc_link resolv_wrapper_1.o -> libresolv-wrapper.so

1.1
open
nobody
None
medium
2015-07-07
2015-07-07
Mai
No

Hello All,

I'm on Red Hat 5. I know it's old but unfortunately i have to build it for this version.

Anyway, if I build from latest samba, i hit
Build failed: could not find 'source/smb_static/smb_static.objlist.empty.c' for
{task: cc smb_static.objlist.empty.c -> smb_static.objlist.empty_2.o}

I then checkout a6bda1f2bc85779feb9680bc74821da5ccd401c5 which ticket #64 said to run from, but then i hit the Red HAt 5 test bug in samba which needs to run from 90de53f970a87fd4b6ade5e5f280cc58587b58ef

Since 90de53f970a87fd4b6ade5e5f280cc58587b58ef (1/13/2015) is newer than a6bda1f2bc85779feb9680bc74821da5ccd401c5 (12/19/2014). Whatever in between these 2 commits is causing the source/smb_static/smb_static.objlist.empty.c

Anyway to get winexe source code update so that it can successfully build from samba source at atleast version 90de53f970a87fd4b6ade5e5f280cc58587b58ef please.

Unfortunately, i'm not having much luck patching the needed fix from 90de53f back to a6bda1f2 for the wrapper issue.

---logs
[3556/3989] Linking default/lib/socket_wrapper/libsocket-wrapper.so
[3557/3989] Linking default/lib/resolv_wrapper/libresolv-wrapper.so
default/lib/resolv_wrapper/resolv_wrapper_1.o: In function rwrap_fake_question': resolv_wrapper.c:(.text+0xa1f): undefined reference tons_name_compress'
default/lib/resolv_wrapper/resolv_wrapper_1.o: In function rwrap_fake_rdata_common': resolv_wrapper.c:(.text+0xaf9): undefined reference to
ns_name_compress'
default/lib/resolv_wrapper/resolv_wrapper_1.o: In function rwrap_fake_srv': resolv_wrapper.c:(.text+0xdbe): undefined reference tons_name_compress'
default/lib/resolv_wrapper/resolv_wrapper_1.o: In function rwrap_fake_soa': resolv_wrapper.c:(.text+0xfbf): undefined reference to
ns_name_compress'
resolv_wrapper.c:(.text+0x101a): undefined reference to __ns_name_compress' default/lib/resolv_wrapper/resolv_wrapper_1.o:resolv_wrapper.c:(.text+0x1328): more undefined references to__ns_name_compress' follow
collect2: ld returned 1 exit status
Waf: Leaving directory `/root/samba-orig/bin'
Build failed: -> task failed (err #1):
{task: cc_link resolv_wrapper_1.o -> libresolv-wrapper.so}
Checking for library smb_static : not found
Build of static winexe : disabled
Cannot continue! Please either install Samba shared libraries and re-run waf, or download the Samba source code and re-run waf with the "--samba-dir" option.
(complete log in /root/winexe-waf/source/build/config.log)

Thanks

Discussion


Log in to post a comment.