Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2012 16:34:26 GMT
From:      Kris Moore <kmoore@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/168203: ports: net/samba36 fails to compile with ADS enabled
Message-ID:  <201205211634.q4LGYQie073619@red.freebsd.org>
Resent-Message-ID: <201205211640.q4LGe3xa071153@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         168203
>Category:       ports
>Synopsis:       ports: net/samba36 fails to compile with ADS enabled
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 21 16:40:03 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Kris Moore
>Release:        9.0-Release
>Organization:
iXsystems
>Environment:
FreeBSD build9x64.pcbsd.org 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:

Compiling libsmb/libsmb_xattr.c
Compiling libsmb/libsmb_setget.c
libsmb/libsmb_setget.c: In function 'smbc_getOptionUseCCache':
libsmb/libsmb_setget.c:446: error: 'SMB_CTX_FLAG_USE_CCACHE' undeclared (first use in this function)
libsmb/libsmb_setget.c:446: error: (Each undeclared identifier is reported only once
libsmb/libsmb_setget.c:446: error: for each function it appears in.)
libsmb/libsmb_setget.c: In function 'smbc_setOptionUseCCache':
libsmb/libsmb_setget.c:454: error: 'SMB_CTX_FLAG_USE_CCACHE' undeclared (first use in this function)
The following command failed:
cc -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -I/usr/local/include -I. -I/usr/ports/net/samba36/work/samba-3.6.5/source3 -I/usr/ports/net/samba36/work/samba-3.6.5/source3/../lib/iniparser/src -Iinclude -I./include  -I. -I. -I./../lib/replace -I./../lib/tevent -I./librpc -I./.. -DHAVE_CONFIG_H  -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./librpc -I./.. -I./../lib/popt -DLDAP_DEPRECATED -I/usr/local/include  -I/usr/ports/net/samba36/work/samba-3.6.5/source3/lib -I.. -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -DPIC -c libsmb/libsmb_setget.c -o libsmb/libsmb_setget.o
gmake: *** [libsmb/libsmb_setget.o] Error 1

>How-To-Repeat:
Add this to /etc/make.conf:

WITH_ADS=yes

Then do a build of net/samba36
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205211634.q4LGYQie073619>