ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: astroiLL <astroill@gmail.com>
To: community@lists.altlinux.org
Subject: [Comm] samba и vscan-clamav
Date: Thu, 10 Apr 2008 15:29:32 +0400
Message-ID: <ftktm7$tph$1@ger.gmane.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1513 bytes --]

Никто не собирал vscan-clamav под последнюю самбу (3.0.28) в Сизифе?
Никак не собирается, а хотел попробовать.
Взял последнюю версию samba-vscan-0.3.6c-beta5 закинул ее как велит
инструкция в исходник самбы и при сборке ругается на файл
clamav/vscan-clamav.c:

clamav/vscan-clamav.c: В функции ‘init_module’
clamav/vscan-clamav.c:520: ошибка: несовместимые типы в присваивании

в строке 520:
ret = smb_register_vfs(SMB_VFS_INTERFACE_VERSION, VSCAN_MODULE_STR,
vscan_ops);
return ret;
на vscan_ops и ругается, она описана как:
static vfs_op_tuple vscan_ops[] = {
...

Для примера, смотрю в исходниках samba похожий модуль vfs,
source/modules/vfs_readonly.c там в такой же функции инициализации:

return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, MODULE_NAME,
readonly_op_tuples);
readonly_op_tuples описана как:
static vfs_op_tuple readonly_op_tuples[] = {
...
Но ведь априори samba компилиЦЦа, а почему vscan не собирается?

Давно я не брал в руки gcc может я что-то не так делаю?

-- 
Linux & Astronomy
Ilya Bryzgalow
http://astrokuban.info/
-----------------------------------
i don't smoke and wish you the same!

[-- Attachment #2: vfs_readonly.c.bz2 --]
[-- Type: application/x-bzip, Size: 1571 bytes --]

[-- Attachment #3: vscan-clamav.c.bz2 --]
[-- Type: application/x-bzip, Size: 5502 bytes --]

[-- Attachment #4: vscan-vfs.h.bz2 --]
[-- Type: application/x-bzip, Size: 1216 bytes --]

                 reply	other threads:[~2008-04-10 11:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ftktm7$tph$1@ger.gmane.org' \
    --to=astroill@gmail.com \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git