LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-30-2005, 01:16 AM   #1
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
clamav - dazuko install problem


I need a little help installing dazuko. debian sarge. kernel 2.6.8

I unpacked dazuko in my home directory. then

# ./configure
# make

here is output:

make -C /lib/modules/2.6.8/build SUBDIRS=/home/stephen/prog/clamav/dazuko-2.0.4 modules
make[1]: Entering directory `/usr/src/kernel-source-2.6.8'
CC [M] /home/stephen/prog/clamav/dazuko-2.0.4/dazuko_xp.o
CC [M] /home/stephen/prog/clamav/dazuko-2.0.4/dazuko_linux26_lsm.o
CC [M] /home/stephen/prog/clamav/dazuko-2.0.4/dazuko_linux26.o
LD [M] /home/stephen/prog/clamav/dazuko-2.0.4/dazuko.o
Building modules, stage 2.
MODPOST
*** Warning: "mod_reg_security" [/home/stephen/prog/clamav/dazuko-2.0.4/dazuko.k o] undefined!
*** Warning: "unregister_security" [/home/stephen/prog/clamav/dazuko-2.0.4/dazuk o.ko] undefined!
*** Warning: "mod_unreg_security" [/home/stephen/prog/clamav/dazuko-2.0.4/dazuko .ko] undefined!
*** Warning: "register_security" [/home/stephen/prog/clamav/dazuko-2.0.4/dazuko. ko] undefined!
CC /home/stephen/prog/clamav/dazuko-2.0.4/dazuko.mod.o
LD [M] /home/stephen/prog/clamav/dazuko-2.0.4/dazuko.ko
make[1]: Leaving directory `/usr/src/kernel-source-2.6.8'
touch dummy_rule.o


What are those warnings???

Then I:

# cd example_c
# make

cd ../library && make
make[1]: Entering directory `/home/stephen/prog/clamav/dazuko-2.0.4/library'
cc -Wall -O -I.. -c ../dazukoio.c -o dazukoio.o
cc -Wall -O -I.. -c ../dazukoio_compat12.c -o dazukoio_compat12.o
ar r libdazuko.a dazukoio.o dazukoio_compat12.o
ar: creating libdazuko.a
ranlib libdazuko.a
make[1]: Leaving directory `/home/stephen/prog/clamav/dazuko-2.0.4/library'
cc -I.. -L../library -o example example.c -ldazuko
cc -I.. -L../library -pthread -o example_mt example_mt.c -ldazuko

that seemed to work

Then insert the module

# cd ..
# /sbin/insmod ./dazuko.k o

output:

insmod: error inserting './dazuko.ko': -1 Unknown symbol in module

What is this?? I alsa had this kind of problem when trying to insert other modules using modprobe. Is it not recognizing the character set in the mod?? or something else??
 
Old 01-30-2005, 01:24 AM   #2
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
Ok...its quite simple...ready?

apt-get install dazuko


Unless sarge doesnt include it but its here on sid for me.
 
Old 01-30-2005, 12:15 PM   #3
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Original Poster
Rep: Reputation: 30
I can only get source with apt-get.
It won't compile either:

# ./configure

checking host system type... Linux
checking if kernel is SMP... no
checking whether sys_call_table is exported... unknown (assuming yes)
kernel source in /lib/modules/2.6.8/build... yes

------- Configuration -------

events = ON_OPEN ON_CLOSE ON_EXEC
devfs = no
debug = no

# make

gcc -Wall -O -DLINUX -Dlinux dazukoio.c example.c -o example
gcc -Wall -O -DLINUX -Dlinux -pthread dazukoio.c example_mt.c -o example_mt
gcc -Wall -O -DLINUX -Dlinux -D__KERNEL__ -DMODULE -I/lib/modules/2.6.8/build/include -DON_OPEN_SUPPORT -DON_CLOSE_SUPPORT -DON_EXEC_SUPPORT -c dazuko.c
dazuko.c:175: error: field `nd' has incomplete type
dazuko.c: In function `dazuko_unregister_daemon':
dazuko.c:618: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.8/build/include/linux/module.h:567)
dazuko.c: In function `dazuko_register_daemon':
dazuko.c:859: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.8/build/include/linux/module.h:555)
dazuko.c: In function `dazuko_get_dentry':
dazuko.c:1718: error: invalid application of `sizeof' to an incomplete type
dazuko.c:1721: warning: implicit declaration of function `path_init'
dazuko.c:1721: error: `LOOKUP_FOLLOW' undeclared (first use in this function)
dazuko.c:1721: error: (Each undeclared identifier is reported only once
dazuko.c:1721: error: for each function it appears in.)
dazuko.c:1721: error: `LOOKUP_POSITIVE' undeclared (first use in this function)
dazuko.c:1727: warning: implicit declaration of function `path_walk'
dazuko.c: In function `dazuko_get_full_filename':
dazuko.c:1843: warning: implicit declaration of function `mntget'
dazuko.c:1843: warning: assignment makes pointer from integer without a cast
dazuko.c:1851: warning: assignment makes pointer from integer without a cast
dazuko.c:1854: warning: implicit declaration of function `__d_path'
dazuko.c:1854: warning: assignment makes pointer from integer without a cast
dazuko.c:1857: warning: implicit declaration of function `mntput'
dazuko.c: In function `dazuko_file_struct_critical_cleanup':
dazuko.c:1926: warning: implicit declaration of function `path_release'
dazuko.c: In function `dazuko_should_scan':
dazuko.c:1985: error: too few arguments to function `permission'
dazuko.c: In function `dazuko_sys_execve':
dazuko.c:2086: error: `PT_DTRACE' undeclared (first use in this function)
dazuko.c: In function `dazuko_sys_open':
dazuko.c:2209: error: dereferencing pointer to incomplete type
dazuko.c:2213: error: dereferencing pointer to incomplete type
dazuko.c:2217: error: dereferencing pointer to incomplete type
dazuko.c: In function `dazuko_sys_close':
dazuko.c:2256: error: dereferencing pointer to incomplete type
dazuko.c:2261: error: dereferencing pointer to incomplete type
dazuko.c:2265: error: dereferencing pointer to incomplete type
dazuko.c: In function `dazuko_init':
dazuko.c:2478: warning: implicit declaration of function `fsync_dev'
dazuko.c: At top level:
dazuko.c:2622: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
dazuko.c:2622: warning: data definition has no type or storage class
make: *** [dazuko.o] Error 1

I am not sure whats wrong, but have had a similar problem trying to compile some other packages. I have gcc-2.95 and gcc-3.3 installed. Any ideas???
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem compiling dazuko Alexo Linux - Newbie 8 06-04-2005 10:22 AM
exim/clamav problem overlord73 Linux - Software 0 04-13-2005 06:42 AM
clamav, problem with make AVD_ZM Linux - Software 0 02-11-2005 01:45 PM
links to clamav install docs? Gsee *BSD 7 11-28-2004 06:05 PM
Uninstall problem with clamav Wynand1 Linux - Software 1 09-15-2004 03:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration