ports/168203: ports: net/samba36 fails to compile with ADS enabled

Kris Moore kmoore at FreeBSD.org
Mon May 21 16:40:09 UTC 2012


>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 at 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:



More information about the freebsd-ports-bugs mailing list