During the installation of net/samba36 I get the following error:
I have found this link, which should have solved the problem. But in fact, trying to play with flags and variables did not help. Maybe I don't understand the whole procedure, I should've done ? Commented out everything in /etc/make.conf also.
Code:
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
*** Error code 1
Stop in /usr/ports/net/samba36.
*** Error code 1
Stop in /usr/ports/net/samba36.
I have found this link, which should have solved the problem. But in fact, trying to play with flags and variables did not help. Maybe I don't understand the whole procedure, I should've done ? Commented out everything in /etc/make.conf also.