Bug 3013 - Compiling with Irix 'smake'
Summary: Compiling with Irix 'smake'
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.20
Hardware: SGI IRIX
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
Depends on:
Reported: 2005-08-18 08:41 UTC by Jason Mader (mail bounces back)
Modified: 2005-08-29 20:21 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mader (mail bounces back) 2005-08-18 08:41:16 UTC
Compiling smbd/chgpasswd.c
--- smbd/files.o ---
cc-1005 cc: ERROR File = include/includes.h, Line = 988
  The source file "proto.h" is unavailable.

  #include "proto.h"

1 catastrophic error detected in the compilation of "smbd/files.c".
Compilation terminated.
*** Error code 2
Comment 1 Jason Mader (mail bounces back) 2005-08-18 08:47:35 UTC
Using FLAGS =  -O -D_SAMBA_BUILD_ -I./popt -Iinclude -I/home/ncac/jason/ports/samba/
samba3_release/source/include -I/home/ncac/jason/ports/samba/samba3_release/source/ubiqx  -I. -
I/opt/include -I/home/ncac/jason/ports/samba/samba3_release/source    
--- include/wrepld_proto.h ---
Building include/wrepld_proto.h
--- nsswitch/winbindd_proto.h ---
creating /home/ncac/jason/ports/samba/samba3_release/source/nsswitch/winbindd_proto.h
      LIBS = -lexc -liconv
      LDSHFLAGS = -set_version sgi1.0 -shared  -L/opt/lib32
      LDFLAGS = -L/opt/lib32
      PIE_CFLAGS = 
      PIE_LDFLAGS = 
--- web/swat_proto.h ---
creating /home/ncac/jason/ports/samba/samba3_release/source/web/swat_proto.h
--- include/wrepld_proto.h ---
creating /home/ncac/jason/ports/samba/samba3_release/source/include/wrepld_proto.h
--- client/client_proto.h ---
creating /home/ncac/jason/ports/samba/samba3_release/source/client/client_proto.h
--- utils/net_proto.h ---
creating /home/ncac/jason/ports/samba/samba3_release/source/utils/net_proto.h
--- include/build_env.h ---
Building include/build_env.h
--- smbd/build_options.c ---
Generating smbd/build_options.c
Comment 2 Jason Mader (mail bounces back) 2005-08-18 09:39:49 UTC
This happens when,
  smake clean

are run.  If,
  smake clean
  smake headers

is used, everything works as usual.
Comment 3 James Peach 2005-08-25 21:01:50 UTC
I always do "make proto && make" and always thought that
was the one true way of building samba. I don't think the
dependency checking is clever enough to know when proto.h
needs to be rebuilt.
Comment 4 Tim Potter 2005-08-25 21:38:35 UTC
The header file dependency checking is particularly stupid.  I'm not sure it's
worth putting in the hacks necessary to fix it.  I'm pushing to change to a
non-make based dependency checking tool which gets this right (i.e SCons).
Comment 5 Tim Potter 2005-08-29 20:21:51 UTC
We don't really have the resources to support build tools that aren't either GNU
make or the default vendor make.