Conflicts under Irix.

Herb Lewis herb at chomps.engr.sgi.com
Tue Nov 10 00:07:47 GMT 1998


Andrew Tridgell wrote:
> 
> > Someone has hard-wired a flag in the Makefile.in that seems to be causing
> > some trouble under Irix.  I typically run ./configure as follows:
> >
> >   export CFLAGS="-n32 -O2"; ./configure
> >
> > This is supposed to force use of the "new" 32-bit model.  However, there
> > are several places in Makefile.in where the -32 flag ("old" 32-bit model)
> > is hard coded.  I'm not sure which of these is causing the problem, but I
> > get:
> 
> The Makefile tries to generate both -32 and -n32 shared libraries. It
> needs to do this so that smbwrapper will work with both older and new
> binaries.
> 
> I'm not sure quite what the best way to handle this is. Maybe
> configure should test if -32 works and if not then don't try to build
> the old 32 library.

A cleaner solution is to set SGI_ABI=n32 and export that. Then do not
set -n32 in CFLAGS. This lets me build everything n32 and allows the
-32 flag for the smbwrapper stuff.

-- 
======================================================================
Herb Lewis                                   Silicon Graphics 
Technical Marketing                          2011 N Shoreline Blvd
Network Systems Division                     Mountain View, CA  94043  
herb at sgi.com                                 Tel: 650-933-2177
http://www.sgi.com                           Fax: 650-932-2177          
======================================================================


More information about the samba-technical mailing list