On Fri, Mar 25, 2011 at 11:22 PM, Brad Hards <[email protected]> wrote:
> On Sat, 26 Mar 2011 02:26:25 am Thomas Cataldo wrote:
> > Linking bin/mapitest
> >
> > /usr/bin/ld: utils/mapitest/modules/module_lzxpress.o: undefined
> reference
> > to symbol 'ndr_map_error2ntstatu\
> > s@@SAMBA_4.0.0ALPHA14'
> Are you trying to build openchange trunk against the alpha14 release
> tarball,
> or against a recent git checkout? I think you'll need the latter ("make
> samba-
> git"). However this linker line looks like its the former.
>
> Brad
>
I followed your advice & switched to openchange trunk + samba git.
I still needed the attached patch (in samba4) to build on debian sid.
>
> _______________________________________________
> devel mailing list
> [email protected]
> http://mailman.openchange.org/listinfo/devel
>
diff --git a/lib/util/samba-util.pc.in b/lib/util/samba-util.pc.in
index a49c1d0..1329883 100644
--- a/lib/util/samba-util.pc.in
+++ b/lib/util/samba-util.pc.in
@@ -7,5 +7,5 @@ Name: samba-util
Description: Samba utility functions
Requires: talloc tevent
Version: 0.0.1
-Libs: @LIB_RPATH@ -L${libdir} -lsamba-util
+Libs: @LIB_RPATH@ -L${libdir} -lsamba-util -lsamba-util-common
Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel