[cvsnt-dev] Re: Build issues 2.5.03.2146
Tony Hoyle
tony.hoyle at march-hare.com
Thu Nov 10 06:56:01 UTC 2005
Richard Wirth wrote:
> Hello Tony,
>
> current sources do not build on x86_64 linux :-(
Too late to fix for this release - we're dead on a release deadline at
the moment.
> >>>>>
> /bin/sh ../libtool --mode=link g++ -g -O2 -o sspi_protocol.la -rpath /usr/local/lib64/cvsnt -module -avoid-version ntlm/libntlm.la sspi_unix.lo common.lo -lcrypt
> g++ -shared -nostdlib /usr/lib64/gcc/x86_64-suse-linux/3.4.5/../../../../lib64/crti.o /usr/lib64/gcc/x86_64-suse-linux/3.4.5/crtbeginS.o .libs/sspi_unix.o .libs/common.o -Wl,--whole-archive ntlm/.libs/libntlm.a -Wl,--no-whole-archive -Wl,--rpath -Wl,/usr/lib64/../lib64 -Wl,--rpath -Wl,/usr/lib64/../lib64 -lcrypt -L/usr/lib64/gcc/x86_64-suse-linux/3.4.5 -L/usr/lib64/gcc/x86_64-suse-linux/3.4.5/../../../../x86_64-suse-linux/lib -L/usr/lib64/gcc/x86_64-suse-linux/3.4.5/../../../../lib64 -L/usr/lib64/gcc/x86_64-suse-linux/3.4.5/../../.. -L/lib/../lib64 -L/usr/lib/../lib64 /usr/lib64/../lib64/libstdc++.so -lm -lc -lgcc_s /usr/lib64/gcc/x86_64-suse-linux/3.4.5/crtendS.o /usr/lib64/gcc/x86_64-suse-linux/3.4.5/../../../../lib64/crtn.o -Wl,-soname -Wl,sspi_protocol.so -o .libs/sspi_protocol.so
> /usr/lib64/gcc/x86_64-suse-linux/3.4.5/../../../../x86_64-suse-linux/bin/ld: ntlm/.libs/libntlm.a(des.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
> ntlm/.libs/libntlm.a(des.o): could not read symbols: Bad value
> <<<<<
Sounds like a linker (or possibly libtool) problem... the same code
works fine on 64bit solaris for example. The code *is* compiled -fPIC
by libtool automatically.
Try updating libtool.
> and the mdnsclient will not work because of misdefined mdnshandle_t
> (this should not be int).
??? It's a void*.
Tony
More information about the cvsnt-dev
mailing list