Problems compiling samba3 from 3.4.0pre1

Christian Perrier bubulle at debian.org
Thu May 14 05:21:18 GMT 2009


Quoting Christian Perrier (bubulle at debian.org):

I'm worried that no followup happened on this one and 3.4.0-pre2 is
being prepared....

Michael, this is why I'm cc'ing you as that seems to be a build
infrastructure problem (Steve Langasek told me "upstream bug" and
something about missing something with zlib).

So, I really apologize to insist but is there a chance that someone
looks at this?

Reminder of "my" build problems:

> Folks,
> 
> I'm in the process of moving the Debian packages to 3.4.* (for our
> experimental branch as of now) and went ont a problem which is
> certainly trivial for many of you but, I'm afraid, not me:
> 

.../...
> checking zlib.h usability... yes
> checking zlib.h presence... yes
> checking for zlib.h... yes
> checking for zlibVersion in -lz... yes
> checking for zlib >= 1.2.3... yes
> Using libraries:
>     LIBS = -lcap -lresolv -lresolv -lnsl -ldl
>     KRB5_LIBS =  -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
>     LDAP_LIBS = -lldap -llber 
>     UUID_LIBS = -luuid
>     DNSSD_LIBS = 
>     AUTH_LIBS =  -lcrypt  -lpam 

.../...

In short, configure properly detects we have zlib, but:


> Linking shared library bin/libsmbclient.so.0
> ../librpc/ndr/ndr_compression.o: In function `ndr_push_compression_mszip_chunk':
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:226: undefined reference to `deflate'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:243: undefined reference to `deflateReset'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:250: undefined reference to `deflateSetDictionary'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:230: undefined reference to `zError'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:245: undefined reference to `zError'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:252: undefined reference to `zError'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:210: undefined reference to `deflateInit2_'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:217: undefined reference to `zError'
> ../librpc/ndr/ndr_compression.o: In function `ndr_pull_compression_mszip_chunk':
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:111: undefined reference to `inflate'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:138: undefined reference to `inflateReset'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:145: undefined reference to `inflateSetDictionary'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:147: undefined reference to `zError'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:116: undefined reference to `zError'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:140: undefined reference to `zError'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:100: undefined reference to `inflateInit2_'
> /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3/../librpc/ndr/ndr_compression.c:102: undefined reference to `zError'
> collect2: ld returned 1 exit status
> make[1]: *** [bin/libsmbclient.so.0] Erreur 1
> make[1]: quittant le répertoire « /home/bubulle/src/debian/samba/samba-3.4.0pre1/source3 »
> make: *** [build-stamp] Erreur 2
> dpkg-buildpackage: échec: debian/rules build a produit une erreur de sortie de type 2





More information about the samba-technical mailing list