Problems building the Debian package for 3.5.3

Christian PERRIER bubulle at
Sat May 29 06:13:35 MDT 2010

Quoting Scott Lovenberg (scott.lovenberg at
> On Sat, May 29, 2010 at 4:09 AM, Matthieu Patou <mat at> wrote:
> > Hello Christian,
> >
> > Just for the record I had no problem building s3.5.3 in a debian package.
> > I have the same patch set as s3.5.1 appart from the autoconf one (so I
> > slightly modified the debian/rules so that autogen is called to create the
> > configure script).
> >
> > Matthieu.
> >
> > Just out of curiosity, what version of GCC are you running, Matthieu?  I
> can compile and link it fine (with a configure change for my environment,
> Fedora-11) with GCC-4.4.1.  I'm compiling GCC-4.4.4 (as Christian is using)
> to see if that produces the linking error.

I actually fixed my problem. It only needed to re-run autoconf *after*
applying our autoconf.patch, then regenerate autoconf.patch.

What lead me to not do it was that our autoconf.patch was indeed
applying cleanly which is generally a sign that I do *not* need to
re-run autoconf.

(why we have this autoconf.patch patch is explained in the file's

Thanks to mathieu who mentioned him being able to recompile as he's
not using this autoconf.patch. That was the clue that lead me in the
right direction.

More information about the samba-technical mailing list