LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-17-2004, 04:13 PM   #1
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,227

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
2.6 kernel compile problems


tried to compile kernel version 2.6.2 and got the following error:
/tmp/ccsUuQDl.s: Assembler messages:
/tmp/ccsUuQDl.s:3: Error: Unknown pseudo-op: `.incbin'
make[1]: *** [usr/initramfs_data.o] Error 1
make: *** [usr] Error 2
attempted to compile the kernel version 2.6.1 kernel and got the following:
init/main.c:52:2: #error This compiler cannot compile correctly with frame pointers enabled
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
why? and what can i do to fix this?
 
Old 02-17-2004, 04:26 PM   #2
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
rerun make (menu,x)config & under "Kernel hacking" disable "compile kernel with frame pointers"
 
Old 02-17-2004, 04:38 PM   #3
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,227

Original Poster
Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
ok, now getting the same error as for 2.6 about the initramfs
 
Old 02-18-2004, 01:15 PM   #4
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,227

Original Poster
Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
still getting this error
/tmp/ccsUuQDl.s: Assembler messages:
/tmp/ccsUuQDl.s:3: Error: Unknown pseudo-op: `.incbin'
make[1]: *** [usr/initramfs_data.o] Error 1
make: *** [usr] Error 2
even with ram disk and initial ram disk support turned off in menuconfig...
 
Old 02-19-2004, 04:28 PM   #5
bnice
Member
 
Registered: Feb 2004
Location: Sacramento, CA
Distribution: Slack 9.1, slackware-current
Posts: 284

Rep: Reputation: 30
grab binutils-2.14
earlier versions do not support .incbin function
 
Old 02-19-2004, 07:22 PM   #6
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,227

Original Poster
Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
ok, installed the latest binutils, now i get this errors
fs/proc/array.c: In function `proc_pid_stat':
fs/proc/array.c:398: Unrecognizable insn:
(insn/i 1327 1660 1654 (parallel[
(set (reg:SI 0 eax)
(asm_operands ("") ("=a") 0[
(reg:DI 1 edx)
]
[
(asm_input:DI ("A"))
] ("include/linux/times.h") 38))
(set (reg:SI 1 edx)
(asm_operands ("") ("=d") 1[
(reg:DI 1 edx)
]
[
(asm_input:DI ("A"))
] ("include/linux/times.h") 38))
(clobber (reg:QI 19 dirflag))
(clobber (reg:QI 18 fpsr))
(clobber (reg:QI 17 flags))
] ) -1 (insn_list 1321 (nil))
(nil))
fs/proc/array.c:398: confused by earlier errors, bailing out
make[2]: *** [fs/proc/array.o] Error 1
make[1]: *** [fs/proc] Error 2
make: *** [fs] Error 2

Last edited by frieza; 02-19-2004 at 07:23 PM.
 
Old 02-19-2004, 08:33 PM   #7
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
are you trying to compile it on a Mac? I see you have yellow dog linux. If so, I'm not sure the 2.6.2 from kernel.org is going to work.
 
Old 02-19-2004, 08:44 PM   #8
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,227

Original Poster
Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
no, it's a PIII
 
Old 02-19-2004, 08:50 PM   #9
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
do you have the required compiler version? The kernel README says that you need gcc2.95.3 (or above). You can check with
gcc --version
 
  


Reply


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
kernel compile problems mailbinoy Linux - Newbie 5 06-30-2005 12:13 PM
Kernel Compile 2.6.9 Problems wnaLinux Slackware 2 12-10-2004 07:53 AM
Kernel compile problems 1madstork Debian 12 12-03-2004 12:49 PM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 07:02 AM
Problems after kernel compile brokenflea Slackware 1 04-21-2004 01:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration