Help - Search - Members
Full Version: kav4fs_5.7-26 - compilation error
Kaspersky Lab Forum > English User Forum > Protection for Small and Medium Businesses
Bizon
Hi All

I have some problems with compilation could you help

student-ii src # ./configure --with-kernelsrc=/usr/src/linux-2.6.24.7/
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for linux kernel sources... /usr/src/linux-2.6.24.7/
checking for linux kernel version file... /usr/src/linux-2.6.24.7//include/linux/utsrelease.h
checking for linux kernel version... 2.6
checking for changing of LSM interface... not changed
checking for linux/syscalls.h... yes
checking for module arch... 32
checking for sys_call_table... configure: error: "Cannot resolve symbol sys_call_table"
phr3n1c
This could be similar to the problem here.

Please post result of "uname -a".
Bizon
Linux student 2.6.24.7 #1 SMP Tue Jul 28 22:57:21 CEST 2009 i686 Intel® Xeon™ CPU 3.00GHz GenuineIntel GNU/Linux
Bizon
I have try on Kav4fs v. 6.0 but still have problem

# ./configure --with-kernelsrc=/usr/src/linux-2.6.24.7/
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
unknown
checking for linux kernel sources... /usr/src/linux-2.6.24.7/
checking for linux kernel version file... /usr/src/linux-2.6.24.7//include/linux/utsrelease.h
checking for linux kernel version... 2.6
checking for tasklist_lock... "not exported"
checking for tasklist_lock... configure: error: "Cannot resolve symbol tasklist_lock"
Vitaly Belyakov
Do you use SELinux?
Bizon
no
Bizon
any idea ?? icon20.gif
hinote
QUOTE(Bizon @ 3.08.2009 01:46) *
Hi All

I have some problems with compilation could you help

student-ii src # ./configure --with-kernelsrc=/usr/src/linux-2.6.24.7/
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for linux kernel sources... /usr/src/linux-2.6.24.7/
checking for linux kernel version file... /usr/src/linux-2.6.24.7//include/linux/utsrelease.h
checking for linux kernel version... 2.6
checking for changing of LSM interface... not changed
checking for linux/syscalls.h... yes
checking for module arch... 32
checking for sys_call_table... configure: error: "Cannot resolve symbol sys_call_table"



seems, there is no /proc/kallsyms or /boot/System.map-`uname -r` at your system...
(which distro exactly? uname is not sufficient to get it clear)
Bizon
# ll /proc/kallsyms
-r--r--r-- 1 root root 0 2009-08-07 15:56 /proc/kallsyms

Gentoo wink.gif
Bizon
# lsmod | grep kav
kavmon 27640 0


SOLVED thx
zux
How did you solve this?
Same problem here, slackware-12.2

bash-3.1# uname -r
2.6.27.7-smp

bash-3.1# ls -la /proc/kallsyms
-r--r--r-- 1 root root 0 2009-08-07 18:03 /proc/kallsyms
Bizon
in my case my System.map have diffrent name

/boot/System.map-genkernel-x86-2.6.24.7

i have change the name

/boot/System.map-2.6.24.7

end compilations go without any problems
Bizon
btw thx hinote for help
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.