LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 10-16-2014, 05:12 PM   #1
dark jullius
LQ Newbie
 
Registered: Oct 2014
Posts: 5

Rep: Reputation: Disabled
Problem compiling linux kernel 2.6.35.9 on ubuntu 3.13.0-32


After making the .config with the comand make menuconfig i try to compile the kernel
but when i do that with the command make it give the following alert

/arch/x86/include/asm/ptrace.h:147:13: note: previous declaration of ‘syscall_trace_leave’ was here
extern void syscall_trace_leave(struct pt_regs *);
^
make[2]: *** [arch/x86/kernel/ptrace.o] Error 1
make[1]: *** [arch/x86/kernel] Error 2
make: *** [arch/x86] Error 2

How can i gave solution to this problem?
Thanks
 
Old 10-17-2014, 10:14 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Compiling kernel 2.6.35.9 , made for like gcc-4.5.2, year ~2010.

The main compiler on your Ubuntu ?14.04? is gcc-4.<much-later>.
Do not expect 2.6.35.9 to be compiled with gcc-4.8 .
What is the purpose of kernel 2.6.35.9 ? ?

** Deciding your Ubuntu version : $ cat /etc/issue

-
 
1 members found this post helpful.
Old 10-19-2014, 07:15 PM   #3
dark jullius
LQ Newbie
 
Registered: Oct 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Compiling kernel 2.6.35.9 , made for like gcc-4.5.2, year ~2010.

The main compiler on your Ubuntu ?14.04? is gcc-4.<much-later>.
Do not expect 2.6.35.9 to be compiled with gcc-4.8 .
What is the purpose of kernel 2.6.35.9 ? ?

** Deciding your Ubuntu version : $ cat /etc/issue

-
Thanks

I am trying to install a patch to netem, that is NetEmCG.
But the patch is giing my problems for the installation
It gives problems patching sch_netem.c

Can you help me solving the problem with the patch?
Thanks
 
Old 10-20-2014, 03:39 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #3 .
Quote:
a patch to netem, that is NetEmCG.
Uknown patch. Link(s) please.
 
Old 10-20-2014, 11:47 AM   #5
dark jullius
LQ Newbie
 
Registered: Oct 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Here is the link to download the kernel version of linux

https://www.kernel.org/pub/linux/ker...6.35.9.tar.bz2

And here you can find the patch that i had tried to apply:

https://www.mediafire.com/?fd0elt79r2c0b0t

The only one that i had problems is with the kernel, for the iproute that is inside it patch and compile with none problem

Thanks
 
  


Reply



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 in compiling linux kernel module in ubuntu BlueSkull Programming 3 02-29-2016 06:40 AM
Linux kernel compiling problem mmm Linux - General 4 08-07-2004 04:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 05:58 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