LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

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

Rep: Reputation: 0
Knark install problem on 2.6 kernel


Hello.
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:
http://www.linuxquestions.org/questi...errors-717134/
But it didnt helped.

The result after the "make"command is:

Code:
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, 09:26 AM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,557
Blog Entries: 3

Rep: Reputation: 215Reputation: 215Reputation: 215
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
Quote:
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.
[MODERATED]
the 2.4.X kernel is still maintained at kernel.org

Last edited by unSpawn; 07-05-2009 at 10:39 AM. Reason: //No need to show LKM source locations
 
Old 07-05-2009, 10:48 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,297
Blog Entries: 54

Rep: Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855Reputation: 2855
Welcome to Linuxquestions.org (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

Tags
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 11:05 AM
Yast Kernel Install Problem jrainwat Suse/Novell 1 02-06-2006 08:44 AM
kernel 2.6.2 install, then drm problem spiderworm Fedora 4 09-10-2004 04:25 PM
10.0 CD install problem Kernel 2.6.3 makton3g Mandriva 4 07-26-2004 12:46 AM
NFS problem after new kernel install maziggy Linux - Networking 1 07-09-2004 09:12 AM


All times are GMT -5. The time now is 09:23 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration