URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 82853
[ Назад ]

Исходное сообщение
"Не компилируется samba"

Отправлено flasher , 13-Ноя-08 16:37 
Помогите уствновить samba 3.2.4 из портов под FreeBSD 7.0.
В Makefile изменил
USE_AUTOTOOLS=          autoconf:262 autoheader:262
на
USE_AUTOTOOLS=          autoconf:261 autoheader:261
т.к. установить autoconf 2.62 не получилось, точнее после установки выдается сообщение что autoconf не найден.

В процессе компилирование выдается ошибка:
Compiling libsmb/libsmb_cache.c
In file included from libsmb/libsmb_cache.c:25:
include/libsmb_internal.h:176: error: expected specifier-qualifier-list before 'smbc_smb_encrypt_level'
libsmb/libsmb_cache.c: In function 'SMBC_add_cached_server':
libsmb/libsmb_cache.c:91: error: dereferencing pointer to incomplete type
libsmb/libsmb_cache.c:91: error: dereferencing pointer to incomplete type
libsmb/libsmb_cache.c:91: error: dereferencing pointer to incomplete type
libsmb/libsmb_cache.c:91: error: dereferencing pointer to incomplete type
libsmb/libsmb_cache.c:91: error: dereferencing pointer to incomplete type
libsmb/libsmb_cache.c: In function 'SMBC_get_cached_server':
libsmb/libsmb_cache.c:121: error: dereferencing pointer to incomplete type
libsmb/libsmb_cache.c:163: error: called object 'smbc_getFunctionRemoveCachedServer(context)' is not a function
libsmb/libsmb_cache.c:178: error: called object 'smbc_getFunctionRemoveCachedServer(context)' is not a function
libsmb/libsmb_cache.c: In function 'SMBC_remove_cached_server':
libsmb/libsmb_cache.c:203: error: dereferencing pointer to incomplete type
libsmb/libsmb_cache.c:207: error: dereferencing pointer to incomplete type
libsmb/libsmb_cache.c:207: error: dereferencing pointer to incomplete type
libsmb/libsmb_cache.c:207: error: dereferencing pointer to incomplete type
libsmb/libsmb_cache.c:207: error: dereferencing pointer to incomplete type
libsmb/libsmb_cache.c:207: error: dereferencing pointer to incomplete type
libsmb/libsmb_cache.c: In function 'SMBC_purge_cached_servers':
libsmb/libsmb_cache.c:232: error: dereferencing pointer to incomplete type
The following command failed:
cc -I. -I/usr/ports/net/samba32-devel/work/samba-3.2.4/source  -O -D_SAMBA_BUILD_=3 -I/usr/local/include  -I/usr/ports/net/samba32-devel/work/samba-3.2.4/source/iniparser/src -Iinclude -I./include  -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H  -I/usr/local/include -I/usr/local/include/avahi-compat-libdns_sd -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -I./popt -I/usr/local/include -DLDAP_DEPRECATED   -I/include -I/usr/ports/net/samba32-devel/work/samba-3.2.4/source/lib -D_SAMBA_BUILD_=3 -fPIC -DPIC -c libsmb/libsmb_cache.c -o libsmb/libsmb_cache.o
gmake: *** [libsmb/libsmb_cache.o] Error 1
*** Error code 2

Stop in /usr/ports/net/samba32-devel.
*** Error code 1

Stop in /usr/ports/net/samba32-devel.

В чем может быть проблема?


Содержание

Сообщения в этом обсуждении
"надо было ставить клифорд"
Отправлено Andrey Mitrofanov , 13-Ноя-08 17:35 
>Помогите уствновить samba 3.2.4 из портов под FreeBSD 7.0.
>Compiling libsmb/libsmb_cache.c
>In file included from libsmb/libsmb_cache.c:25:
>include/libsmb_internal.h:176: error: expected specifier-qualifier-list before 'smbc_smb_encrypt_level'

В хэндбуке смотрел?
http://kpnc.opennet.ru/openforum/vsluhforumID1/82728.html#7
А в гугле?
А порты обновить?