[Samba] Samba Betas not building, cvs or provided tar archives

John H Terpstra jht at samba.org
Mon Jul 28 00:44:36 GMT 2003


On Sun, 27 Jul 2003, Sean Brown wrote:

> Since 3.0 went into Beta, it has not built on my machine, with the same
> error(s), this is from the beta tarballs and checkout from CVS, thankfully
> its very early in the make so i dont have to wait long to be dissapointed.
>
> It did build with the few alphas i tried.
>
> it looks like it cant find some header files, proto.h, so where is this file?

Did you run ./autogen.sh first?

- John T.

>
> System Details:
>
> Dual Pentium 2 350MHz
> Slackware Linux 9
> gcc 3.2.2
> Kernel 2.4.21
>
> configured with:
>
> ./configure --with-libsmbclient --with-pam=no --with-smbmount --with-automount
> --with-ads
>
>
> error below:
>
>
> Using FLAGS =  -g -O2  -Iinclude -I/var/installer/samba/source/include
> -I/var/installer/samba/source/ubiqx -I/var/installer/samba/source/smbwrapper
> -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
> -I/var/installer/samba/source
>       LIBS = -lcrypt -lresolv -lnsl -ldl
>       LDSHFLAGS = -shared
>       LDFLAGS =
> Generating smbd/build_options.c
> Building include/wrepld_proto.h
> Building include/build_env.h
> creating /var/installer/samba/source/include/wrepld_proto.h
> creating /var/installer/samba/source/nsswitch/winbindd_proto.h
> creating /var/installer/samba/source/web/swat_proto.h
> creating /var/installer/samba/source/client/client_proto.h
> creating /var/installer/samba/source/utils/net_proto.h
> Compiling param/loadparm.c
> make[1]: Entering directory `/var/installer/samba/source'
> make[1]: Leaving directory `/var/installer/samba/source'
> Compiling dynconfig.c
> Compiling param/params.c
> In file included from dynconfig.c:21:
> include/includes.h:890:19: proto.h: No such file or directory
> In file included from param/loadparm.c:54:
> include/includes.h:890:19: proto.h: No such file or directory
> In file included from param/params.c:82:
> include/includes.h:890:19: proto.h: No such file or directory
> param/params.c: In function `Section':
> param/params.c:241: warning: assignment makes pointer from integer without a
> cast
> param/loadparm.c: In function `init_globals':
> param/loadparm.c:1337: warning: pointer/integer type mismatch in conditional
> expression
> param/loadparm.c:1338: warning: pointer/integer type mismatch in conditional
> expression
> param/loadparm.c:1344: warning: pointer/integer type mismatch in conditional
> expression
> param/loadparm.c:1449: warning: assignment makes pointer from integer without
> a cast
> param/params.c: In function `Parameter':
> param/params.c:338: warning: assignment makes pointer from integer without a
> cast
> param/params.c:406: warning: assignment makes pointer from integer without a
> cast
> make: *** [dynconfig.o] Error 1
> make: *** Waiting for unfinished jobs....
> param/params.c: In function `OpenConfFile':
> param/params.c:527: warning: assignment makes pointer from integer without a
> cast
> param/loadparm.c: In function `lp_string':
> param/loadparm.c:1552: warning: assignment makes pointer from integer without
> a cast
> param/loadparm.c:1556: warning: assignment makes pointer from integer without
> a cast
> param/loadparm.c:1559: warning: assignment makes pointer from integer without
> a cast
> make: *** [param/params.o] Error 1
> param/loadparm.c: In function `lp_parm_string':
> param/loadparm.c:2037: warning: return makes pointer from integer without a
> cast
> param/loadparm.c: At top level:
> param/loadparm.c:2044: warning: type mismatch with previous implicit
> declaration
> param/loadparm.c:2037: warning: previous implicit declaration of
> `lp_parm_talloc_string'
> param/loadparm.c:2044: warning: `lp_parm_talloc_string' was previously
> implicitly declared to return `int'
> param/loadparm.c: In function `lp_parm_string_list':
> param/loadparm.c:2081: warning: assignment makes pointer from integer without
> a cast
> param/loadparm.c: In function `lp_add_home':
> param/loadparm.c:2291: warning: pointer/integer type mismatch in conditional
> expression
> param/loadparm.c:2293: warning: pointer/integer type mismatch in conditional
> expression
> param/loadparm.c: In function `copy_service':
> param/loadparm.c:2547: warning: assignment makes pointer from integer without
> a cast
> param/loadparm.c: In function `lp_file_list_changed':
> param/loadparm.c:2660: warning: pointer/integer type mismatch in conditional
> expression
> param/loadparm.c: In function `handle_netbios_name':
> param/loadparm.c:2693: warning: pointer/integer type mismatch in conditional
> expression
> param/loadparm.c: In function `handle_netbios_aliases':
> param/loadparm.c:2729: warning: assignment makes pointer from integer without
> a cast
> param/loadparm.c: In function `source_env':
> param/loadparm.c:2762: warning: assignment makes pointer from integer without
> a cast
> param/loadparm.c: In function `handle_source_env':
> param/loadparm.c:2794: warning: pointer/integer type mismatch in conditional
> expression
> param/loadparm.c:2807: warning: assignment makes pointer from integer without
> a cast
> param/loadparm.c:2809: warning: assignment makes pointer from integer without
> a cast
> param/loadparm.c: In function `handle_include':
> param/loadparm.c:2830: warning: pointer/integer type mismatch in conditional
> expression
> param/loadparm.c: In function `handle_debug_list':
> param/loadparm.c:2973: warning: pointer/integer type mismatch in conditional
> expression
> param/loadparm.c: In function `handle_ldap_suffix':
> param/loadparm.c:2989: warning: pointer/integer type mismatch in conditional
> expression
> param/loadparm.c: In function `handle_ldap_sub_suffix':
> param/loadparm.c:3015: warning: pointer/integer type mismatch in conditional
> expression
> param/loadparm.c:3023: warning: pointer/integer type mismatch in conditional
> expression
> param/loadparm.c:3024: warning: pointer/integer type mismatch in conditional
> expression
> param/loadparm.c: In function `lp_do_parameter':
> param/loadparm.c:3099: warning: pointer/integer type mismatch in conditional
> expression
> param/loadparm.c:3117: warning: assignment makes pointer from integer without
> a cast
> param/loadparm.c:3200: warning: assignment makes pointer from integer without
> a cast
> param/loadparm.c:3213: warning: pointer/integer type mismatch in conditional
> expression
> param/loadparm.c:3217: warning: pointer/integer type mismatch in conditional
> expression
> param/loadparm.c: In function `lp_add_auto_services':
> param/loadparm.c:3669: warning: initialization makes pointer from integer
> without a cast
> param/loadparm.c: At top level:
> param/loadparm.c:3703: warning: type mismatch with previous implicit
> declaration
> param/loadparm.c:2388: warning: previous implicit declaration of
> `update_server_announce_as_printserver'
> param/loadparm.c:3703: warning: `update_server_announce_as_printserver' was
> previously implicitly declared to return `int'
> param/loadparm.c: In function `lp_load':
> param/loadparm.c:3891: warning: pointer/integer type mismatch in conditional
> expression
> param/loadparm.c: At top level:
> param/loadparm.c:4003: warning: type mismatch with previous implicit
> declaration
> param/loadparm.c:3995: warning: previous implicit declaration of `lp_dump_one'
> param/loadparm.c:4003: warning: `lp_dump_one' was previously implicitly
> declared to return `int'
> param/loadparm.c: In function `lp_servicenumber':
> param/loadparm.c:4032: warning: pointer/integer type mismatch in conditional
> expression
> param/loadparm.c: In function `lp_major_announce_version':
> param/loadparm.c:4194: warning: assignment makes pointer from integer without
> a cast
> param/loadparm.c: In function `lp_minor_announce_version':
> param/loadparm.c:4216: warning: assignment makes pointer from integer without
> a cast
> param/loadparm.c: In function `get_private_directory':
> param/loadparm.c:4249: warning: pointer/integer type mismatch in conditional
> expression
> param/loadparm.c: In function `lp_set_logfile':
> param/loadparm.c:4260: warning: pointer/integer type mismatch in conditional
> expression
> param/loadparm.c: In function `get_called_name':
> param/loadparm.c:4273: warning: pointer/integer type mismatch in conditional
> expression
> make: *** [param/loadparm.o] Error 1
>
>
>

-- 
John H Terpstra
Email: jht at samba.org



More information about the samba mailing list