Menu

#2 compilation fails on SuSE 9.1 (2.6.5-7.201)

open
None
5
2006-01-23
2005-12-30
No

Hi,

the compilation of snoop-0.1.0 fails on SuSE 9.1.
Any ideas ?

here the log :

# make
make all-recursive
make[1]: Entering directory `/usr/local/snoop-0.1.0'
Making all in kernel
make[2]: Entering directory `/usr/local/snoop-0.1.0/kernel'
Making all in Linux
make[3]: Entering directory
`/usr/local/snoop-0.1.0/kernel/Linux'
Making all in 2.6
make[4]: Entering directory
`/usr/local/snoop-0.1.0/kernel/Linux/2.6'
make -C /usr/src/linux-2.6.5-7.201
M=/usr/local/snoop-0.1.0/kernel/Linux/2.6 modules
make[5]: Entering directory `/usr/src/linux-2.6.5-7.201'
CC [M] /usr/local/snoop-0.1.0/kernel/Linux/2.6/snoop.o
/usr/local/snoop-0.1.0/kernel/Linux/2.6/snoop.c:55:
error: parse error before "int"
/usr/local/snoop-0.1.0/kernel/Linux/2.6/snoop.c:56:
error: parse error before "int"
/usr/local/snoop-0.1.0/kernel/Linux/2.6/snoop.c:57:
error: parse error before "int"
/usr/local/snoop-0.1.0/kernel/Linux/2.6/snoop.c: In
function `snoop_open':
/usr/local/snoop-0.1.0/kernel/Linux/2.6/snoop.c:234:
warning: implicit declaration of function
`atomic_inc_return'
make[6]: ***
[/usr/local/snoop-0.1.0/kernel/Linux/2.6/snoop.o] Error 1
make[5]: ***
[_module_/usr/local/snoop-0.1.0/kernel/Linux/2.6] Error 2
make[5]: Leaving directory `/usr/src/linux-2.6.5-7.201'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/usr/local/snoop-0.1.0/kernel/Linux/2.6'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/local/snoop-0.1.0/kernel/Linux'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/snoop-0.1.0/kernel'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/snoop-0.1.0'
make: *** [all] Error 2

Discussion

  • Florin Malita

    Florin Malita - 2006-01-23

    Logged In: YES
    user_id=154306

    Hi

    Your kernel is too old, snoop supports only newer (2.6.13+)
    kernels.

    I should make that explicit in the configure script...

     
  • Florin Malita

    Florin Malita - 2006-01-23
    • assigned_to: nobody --> mali
     

Log in to post a comment.

MongoDB Logo MongoDB