[Samba] Samba 3.4.2 on Solaris 9 build problem

Gregory Gabriel saweron at gmail.com
Fri Oct 9 08:03:30 MDT 2009

On Fri, Oct 9, 2009 at 3:34 PM, Dirk Jakobsmeier
<dirk.jakobsmeier at wige.com> wrote:
> Hello Gregory,
> i allways had this error because using gcc the Makefile is not correct. The
> CFLAGS (-m64) where not used on all lines so gcc tried to build 32 and 64 bit
> binaries which is not working for sure. The first error was in the same line
> as yours (bin/smbd). So i added $CFLAGS to LDFLAGS because LDFLAGS has been
> used correctly in the Makefile (did not want to add $CFLAGS to about 50
> lines).
> Perhaps nearly the same problem.
> --
> Dirk

Hi Dirk,

Thanks for your feedback.

In the end I edited the Makefile to include the -m64 and -on the
suggestion of Michael Wood- a -lcom_err

After that it compiled cleanly.

Enjoy the weekend,

More information about the samba mailing list