Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


Closed Thread
  Search this Thread
Old 07-05-2009, 09:32 AM   #1
LQ Newbie
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
Knark install problem on 2.6 kernel

I m running Ubuntu 9.04 (2.6.28-13) and i m trying to install Knark on my machine, i need it for my University exams.
But i m sure there is something wrong with the Makefile.
I tried this:
But it didnt helped.

The result after the "make"command is:

cc -Wall -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -fno-strength-reduce -falign-loops=2 -falign-jumps=2 -falign-functions=2 -include /usr/src/linux-2.6/include/linux/modversions.h -I/usr/src/linux-2.6/include -Wno-uninitialized -c src/modhide.c  -c src/knark.c -o knark.c -D__KERNEL__ -DMODULE -DMODVERSIONS
cc: cannot specify -o with -c or -S with multiple files
make: *** [knark] Error 1
Could somebody help me?
Old 07-05-2009, 10:26 AM   #2
Senior Member
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,154
Blog Entries: 3

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
good luck trying to build that program it was written for an older gcc compiler. so you see it is not your machine or the software
cc -Wall -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -fno-strength-reduce -falign-loops=2 -falign-jumps=2 -falign-functions=2 -include /usr/src/linux-2.6/include/linux/modversions.h -I/usr/src/linux-2.6/include -Wno-uninitialized -c src/modhide.c -c src/knark.c -o knark.c -D__KERNEL__ -DMODULE -DMODVERSIONS
cc: cannot specify -o with -c or -S with multiple files
this just says the newer gcc or cpp compiler headers will not work. If I was you I would install a separate gcc like 3.2 you system is using 4.3 I think. it will not build the old programs. then you will may run into other problems trying to run it on your system.
Install Slackware 10.2 and give it a try a full install.
Most likely if I am right it is set for the 2.4.x kernel. not sure keep me up to date.
It will not compile on any of my new systems.
the 2.4.X kernel is still maintained at

Last edited by unSpawn; 07-05-2009 at 11:39 AM. Reason: //No need to show LKM source locations
Old 07-05-2009, 11:48 AM   #3
Registered: May 2001
Posts: 29,360
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
Welcome to (LQ) mastrog86.

I see you already have received more help than I would have allowed. You see, LQ has some rules. The gist is we don't like to see LQ affiliated with, involved in or provide help with certain things. Unfortunately LKMs are amongst those. Unfortunately there is no valid or compelling reason to allow it or discuss reopening. Therefore this thread is and will remain closed. Not exactly your loss since there's a gazillion grey, black (or whatever else colour hats they wear these days except white) forums that will happily try to help you along if you have any more question about getting LKMs to work. For all other questions you're welcome to make use of LQ as long as you don't violate the LQ Rules.

If you have any questions about this moderation you're invited to take it up with me by email.

Closed Thread

kernel, rootkit

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
knark tool errors soni_silver17 Linux - Software 4 04-06-2009 12:05 PM
Yast Kernel Install Problem jrainwat SUSE / openSUSE 1 02-06-2006 09:44 AM
kernel 2.6.2 install, then drm problem spiderworm Fedora 4 09-10-2004 05:25 PM
10.0 CD install problem Kernel 2.6.3 makton3g Mandriva 4 07-26-2004 01:46 AM
NFS problem after new kernel install maziggy Linux - Networking 1 07-09-2004 10:12 AM > Forums > Linux Forums > Linux - Security

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

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