Re: Re: [Samba] PLEASE HELP - MAC NEWBIE - MAC OS X 10.4.8 (Intel) compiling errors of Samba 3.0.23.c
On 24/10/06, Steven Thomas Smith [EMAIL PROTECTED] wrote: Hi, I'm a newbie having the same problems as reported at http://www.mail-archive.com/samba@lists.samba.org/msg78809.html. I'm writing to ask if these bug fixes have been implemented yet, and how to download if they have! The changes are in the svn repository but not yet in any released Samba version. I'm used to downloading tarballs, but have no idea how to navigate through subversion http://viewcvs.samba.org/cgi-bin/viewcvs.cgi/. You can get the bleeding edge source via anonymous rsync: rsync --recursive rsync://rsync.samba.org/ftp/unpacked/samba . -- James Peach | [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] PLEASE HELP - MAC NEWBIE - MAC OS X 10.4.8 (Intel) compiling errors of Samba 3.0.23.c
On 11/10/06, Dan [EMAIL PROTECTED] wrote: Hello, I am trying to compile the latest samba 3.0.23c on MAC Intel OS X 10.4.8 and I am getting errors with the krb5 stuff. I have searched the net and found other people with the same error but didn't see any solution. Has anyone successfully compiled it on 10.4.8 Intel? Any help would be greatly appreciated as I am new to the mac platform but have lots of linux experience. The errors are below: Compiling libsmb/clikrb5.c libsmb/clikrb5.c: In function 'krb5_locate_kdc': libsmb/clikrb5.c:378: error: 'krb5_krbhst_handle' undeclared (first use in this function) libsmb/clikrb5.c:378: error: (Each undeclared identifier is reported only once libsmb/clikrb5.c:378: error: for each function it appears in.) libsmb/clikrb5.c:378: error: parse error before 'hnd' libsmb/clikrb5.c:379: error: 'krb5_krbhst_info' undeclared (first use in this function) libsmb/clikrb5.c:379: error: 'hinfo' undeclared (first use in this function) libsmb/clikrb5.c:388: error: 'KRB5_KRBHST_KDC' undeclared (first use in this function) libsmb/clikrb5.c:388: error: 'hnd' undeclared (first use in this function) libsmb/clikrb5.c:917:2: error: #error UNKNOWN_KRB5_AP_REQ_FREE_FUNCTION libsmb/clikrb5.c:959:2: error: #error UNKOWN_KRB5_AP_REQ_DECODING_FUNCTION make: *** [libsmb/clikrb5.o] Error 1 metze just checked in a change to fix this. If you try the latest code from the subversion repository, it should build. -- James Peach | [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] PLEASE HELP - MAC NEWBIE - MAC OS X 10.4.8 (Intel) compiling errors of Samba 3.0.23.c
Ok, I checked out the latest source using subversion and the command was as follows: /usr/local/bin/svn co svn://svnanon.samba.org/samba/branches/SAMBA_3_0 samba-3_0 I then rsynced the latest source into the 3.0.23c tree to get all the changes, but after a successful configure I get the following error when I run make. I am probably doing something wrong but I am not sure what as I am not used to dealing with the source tree that doesn't have the configure script in it. Any ideas? intelimac:/Users/dan/samba-3.0.23c/source root# make Using FLAGS = -O -D_SAMBA_BUILD_ -I/Users/dan/samba-3.0.23c/source/popt -I/Users/dan/samba-3.0.23c/source/iniparser/src @SAMBA_CPPFLAGS@ -DHAVE_CONFIG_H -I/sw/include -DLDAP_DEPRECATED -I/Users/dan/samba-3.0.23c/source/lib -D_SAMBA_BUILD_=3 PICFLAG= @PICFLAG@ LIBS = -lresolv -ldl -liconv LDFLAGS= -pie -Wl,-search_paths_first -L/sw/lib DYNEXP = LDSHFLAGS = -bundle -flat_namespace -undefined suppress -Wl,-search_paths_first -L/sw/lib SHLIBEXT = dylib SONAMEFLAG = # Generating smbd/build_options.c Building include/proto.h creating /Users/dan/samba-3.0.23c/source/include/proto.h Building include/build_env.h creating /Users/dan/samba-3.0.23c/source/nsswitch/winbindd_proto.h creating /Users/dan/samba-3.0.23c/source/web/swat_proto.h creating /Users/dan/samba-3.0.23c/source/client/client_proto.h creating /Users/dan/samba-3.0.23c/source/utils/net_proto.h creating /Users/dan/samba-3.0.23c/source/utils/ntlm_auth_proto.h Compiling dynconfig.c i686-apple-darwin8-gcc-4.0.1: @SAMBA_CPPFLAGS@: No such file or directory i686-apple-darwin8-gcc-4.0.1: @PICFLAG@: No such file or directory command line:1:1: warning: _SAMBA_BUILD_ redefined command line:1:1: warning: this is the location of the previous definition /Users/dan/samba-3.0.23c/source/dynconfig.c:21:22: error: includes.h: No such file or directory /Users/dan/samba-3.0.23c/source/dynconfig.c:47: error: parse error before 'dyn_CONFIGFILE' /Users/dan/samba-3.0.23c/source/dynconfig.c:47: warning: initialization makes integer from pointer without a cast /Users/dan/samba-3.0.23c/source/dynconfig.c:47: warning: data definition has no type or storage class /Users/dan/samba-3.0.23c/source/dynconfig.c:50: error: parse error before 'dyn_LOGFILEBASE' /Users/dan/samba-3.0.23c/source/dynconfig.c:50: warning: initialization makes integer from pointer without a cast /Users/dan/samba-3.0.23c/source/dynconfig.c:50: warning: data definition has no type or storage class /Users/dan/samba-3.0.23c/source/dynconfig.c:53: error: parse error before 'dyn_LMHOSTSFILE' /Users/dan/samba-3.0.23c/source/dynconfig.c:53: warning: initialization makes integer from pointer without a cast /Users/dan/samba-3.0.23c/source/dynconfig.c:53: warning: data definition has no type or storage class /Users/dan/samba-3.0.23c/source/dynconfig.c:60: error: parse error before 'dyn_LIBDIR' /Users/dan/samba-3.0.23c/source/dynconfig.c:60: warning: initialization makes integer from pointer without a cast /Users/dan/samba-3.0.23c/source/dynconfig.c:60: warning: data definition has no type or storage class /Users/dan/samba-3.0.23c/source/dynconfig.c:61: error: parse error before 'dyn_SHLIBEXT' /Users/dan/samba-3.0.23c/source/dynconfig.c:61: warning: initialization makes integer from pointer without a cast /Users/dan/samba-3.0.23c/source/dynconfig.c:61: warning: data definition has no type or storage class /Users/dan/samba-3.0.23c/source/dynconfig.c:68: error: parse error before 'dyn_LOCKDIR' /Users/dan/samba-3.0.23c/source/dynconfig.c:68: warning: initialization makes integer from pointer without a cast /Users/dan/samba-3.0.23c/source/dynconfig.c:68: warning: data definition has no type or storage class /Users/dan/samba-3.0.23c/source/dynconfig.c:69: error: parse error before 'dyn_PIDDIR' /Users/dan/samba-3.0.23c/source/dynconfig.c:69: warning: initialization makes integer from pointer without a cast /Users/dan/samba-3.0.23c/source/dynconfig.c:69: warning: data definition has no type or storage class /Users/dan/samba-3.0.23c/source/dynconfig.c:71: error: parse error before 'dyn_SMB_PASSWD_FILE' /Users/dan/samba-3.0.23c/source/dynconfig.c:71: warning: initialization makes integer from pointer without a cast /Users/dan/samba-3.0.23c/source/dynconfig.c:71: warning: data definition has no type or storage class /Users/dan/samba-3.0.23c/source/dynconfig.c:72: error: parse error before 'dyn_PRIVATE_DIR' /Users/dan/samba-3.0.23c/source/dynconfig.c:72: warning: initialization makes integer from pointer without a cast /Users/dan/samba-3.0.23c/source/dynconfig.c:72: warning: data definition has no type or storage class The following command failed: gcc -O -D_SAMBA_BUILD_ -I/Users/dan/samba-3.0.23c/source/popt -I/Users/dan/samba-3.0.23c/source/iniparser/src @SAMBA_CPPFLAGS@ -DHAVE_CONFIG_H -I/sw/include -DLDAP_DEPRECATED -I/Users/dan/samba-3.0.23c/source/lib -D_SAMBA_BUILD_=3
Re: [Samba] PLEASE HELP - MAC NEWBIE - MAC OS X 10.4.8 (Intel) compiling errors of Samba 3.0.23.c - FIXED
I figured out what I was doing wrong. Obviously the old configure file will not work. I ran the make-tarball.sh script to reproduce the configure and everything builds fine. I will test it to make sure things work. I am building this because my original 3.0.10 version wasn't allowing connections after upgrading to the 3.0.23c version on the domain controller. I am hoping this will fix that problem. James Peach wrote: On 11/10/06, Dan [EMAIL PROTECTED] wrote: Hello, I am trying to compile the latest samba 3.0.23c on MAC Intel OS X 10.4.8 and I am getting errors with the krb5 stuff. I have searched the net and found other people with the same error but didn't see any solution. Has anyone successfully compiled it on 10.4.8 Intel? Any help would be greatly appreciated as I am new to the mac platform but have lots of linux experience. The errors are below: Compiling libsmb/clikrb5.c libsmb/clikrb5.c: In function 'krb5_locate_kdc': libsmb/clikrb5.c:378: error: 'krb5_krbhst_handle' undeclared (first use in this function) libsmb/clikrb5.c:378: error: (Each undeclared identifier is reported only once libsmb/clikrb5.c:378: error: for each function it appears in.) libsmb/clikrb5.c:378: error: parse error before 'hnd' libsmb/clikrb5.c:379: error: 'krb5_krbhst_info' undeclared (first use in this function) libsmb/clikrb5.c:379: error: 'hinfo' undeclared (first use in this function) libsmb/clikrb5.c:388: error: 'KRB5_KRBHST_KDC' undeclared (first use in this function) libsmb/clikrb5.c:388: error: 'hnd' undeclared (first use in this function) libsmb/clikrb5.c:917:2: error: #error UNKNOWN_KRB5_AP_REQ_FREE_FUNCTION libsmb/clikrb5.c:959:2: error: #error UNKOWN_KRB5_AP_REQ_DECODING_FUNCTION make: *** [libsmb/clikrb5.o] Error 1 metze just checked in a change to fix this. If you try the latest code from the subversion repository, it should build. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: Re: [Samba] PLEASE HELP - MAC NEWBIE - MAC OS X 10.4.8 (Intel) compiling errors of Samba 3.0.23.c - FIXED
On 11/10/06, Dan [EMAIL PROTECTED] wrote: I figured out what I was doing wrong. Obviously the old configure file will not work. I ran the make-tarball.sh script to reproduce the configure and everything builds fine. yep :) I usually do a ./autogen.sh ./configure --foo -- James Peach | [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba