Dan
2006-Oct-11 15:04 UTC
[Samba] PLEASE HELP - MAC NEWBIE - MAC OS X 10.4.8 (Intel) compiling errors of Samba 3.0.23.c
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
James Peach
2006-Oct-11 16:09 UTC
[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 <samba@the-rusty-nail.com> 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 1metze just checked in a change to fix this. If you try the latest code from the subversion repository, it should build. -- James Peach | jorgar@gmail.com
Dan
2006-Oct-12 18:45 UTC
[Samba] PLEASE HELP - MAC NEWBIE - MAC OS X 10.4.8 (Intel) - Bus Error
Here is what I got: (gdb) run -U administrator%"MYPASS" -I 10.1.0.11 -L 10.2.0.9 Starting program: /usr/bin/smbclient -U administrator%"MYPASS" -I 10.1.0.11 -L 10.2.0.9 Reading symbols for shared libraries ..... done Domain=[MY_DOMAIN] OS=[Unix] Server=[Samba 3.0.23c] Sharename Type Comment --------- ---- ------- Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000000 0x000a11fd in rpccli_srvsvc_NetShareEnum () James Peach wrote:> On 12/10/06, Dan <samba@the-rusty-nail.com> wrote: >> Unfortunately I can not find a core file any where on the system. There >> is a directory /private/var/log/cores with smbd and nmbd folders but all >> are empty. Any thing else I can do to get the core file or needed info? > > try running smbclient under gdb > > gdb /path/to/smbclient > (gdb) run -with -whatever -args >
James Peach
2006-Oct-24 18:23 UTC
[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 <stsmith@ll.mit.edu> 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 | jorgar@gmail.com