LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-16-2006, 07:39 PM   #1
dutra2418
LQ Newbie
 
Registered: Mar 2006
Distribution: Slack 10.2
Posts: 16

Rep: Reputation: 0
Kernel Compile Error 2.4.7


this is my first time messing with the kernel. I changed a few things per the guide to setting up my leadtek PVR tv tuner (aparantly i cant post the links to the sites where i am taking instructions from so just im me at dutra2418 or email me and i will send them to you) everything seems to go well until i type make bzImage then i get this:

root@omegatwofour:/usr/src/linux-2.4.7# make bzImage
scripts/split-include include/linux/autoconf.h include/config
gcc -D__KERNEL__ -I/usr/src/linux-2.4.7/include -Wall -Wstrict-prototypes -Wno-t rigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mprefe rred-stack-boundary=2 -march=i686 -c -o init/main.o init/main.c
In file included from /usr/src/linux-2.4.7/include/net/checksum.h:33,
from /usr/src/linux-2.4.7/include/linux/raid/md.h:34,
from init/main.c:24:
/usr/src/linux-2.4.7/include/asm/checksum.h:72:30: missing terminating " charact er
In file included from /usr/src/linux-2.4.7/include/net/checksum.h:33,
from /usr/src/linux-2.4.7/include/linux/raid/md.h:34,
from init/main.c:24:
/usr/src/linux-2.4.7/include/asm/checksum.h: In function `ip_fast_csum':
/usr/src/linux-2.4.7/include/asm/checksum.h:73: error: syntax error before "movl "
/usr/src/linux-2.4.7/include/asm/checksum.h:75:17: invalid suffix "f" on integer constant
/usr/src/linux-2.4.7/include/asm/checksum.h:82:17: invalid suffix "b" on integer constant
/usr/src/linux-2.4.7/include/asm/checksum.h:90:13: missing terminating " charact er
/usr/src/linux-2.4.7/include/asm/checksum.h:105:17: missing terminating " charac ter
/usr/src/linux-2.4.7/include/asm/checksum.h: In function `csum_fold':
/usr/src/linux-2.4.7/include/asm/checksum.h:106: error: syntax error before "add l"
/usr/src/linux-2.4.7/include/asm/checksum.h:108:17: missing terminating " charac ter
/usr/src/linux-2.4.7/include/asm/checksum.h:121:13: missing terminating " charac ter
/usr/src/linux-2.4.7/include/asm/checksum.h: In function `csum_tcpudp_nofold':
/usr/src/linux-2.4.7/include/asm/checksum.h:122: error: syntax error before "add l"
/usr/src/linux-2.4.7/include/asm/checksum.h:126:9: missing terminating " charact er
/usr/src/linux-2.4.7/include/asm/checksum.h:128: error: `__x' undeclared (first use in this function)
/usr/src/linux-2.4.7/include/asm/checksum.h:128: error: (Each undeclared identif ier is reported only once
/usr/src/linux-2.4.7/include/asm/checksum.h:128: error: for each function it app ears in.)
/usr/src/linux-2.4.7/include/asm/checksum.h: At top level:
/usr/src/linux-2.4.7/include/asm/checksum.h:128: error: syntax error before ')' token
/usr/src/linux-2.4.7/include/asm/checksum.h:161:17: missing terminating " charac ter
/usr/src/linux-2.4.7/include/asm/checksum.h: In function `csum_ipv6_magic':
/usr/src/linux-2.4.7/include/asm/checksum.h:162: error: syntax error before "add l"
/usr/src/linux-2.4.7/include/asm/checksum.h:173:17: missing terminating " charac ter
/usr/src/linux-2.4.7/include/asm/checksum.h:176: error: `__x' undeclared (first use in this function)
/usr/src/linux-2.4.7/include/asm/checksum.h:176: warning: no return statement in function returning non-void
/usr/src/linux-2.4.7/include/asm/checksum.h: At top level:
/usr/src/linux-2.4.7/include/asm/checksum.h:176: error: syntax error before ')' token
/usr/src/linux-2.4.7/include/asm/checksum.h:176: error: syntax error before "__u 32"
make: *** [init/main.o] Error 1




HELP I dont know what i did wrong. I thought maybe i got a bad copy of it so i Dl'ed and did it again but to no avail...some help would be great, thanks.



-greg
 
Old 03-16-2006, 10:23 PM   #2
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
2.4.7???!!!???
 
Old 03-16-2006, 10:38 PM   #3
dutra2418
LQ Newbie
 
Registered: Mar 2006
Distribution: Slack 10.2
Posts: 16

Original Poster
Rep: Reputation: 0
should i use a different one? I was just following instructions, google coreys TVTuner Guide and it should be the first link, then go to the link that says joeys kernel compile (about 1/3 down the page) then you should see the link i followed...im a noob when it comes to kernel stuff..i mostly use linux for meteorological applications (im a met student) and i have taken a unix class so i can get around shell and know a little about fortran and perl..
 
Old 03-16-2006, 10:46 PM   #4
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
just use the current stable version

right now, it's 2.4.32 for the 2.4 series
 
Old 03-17-2006, 12:54 AM   #5
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
welcome to LQslackforum
Quote:
I was just following instructions, google coreys TVTuner Guide and it should be the first link,
that instructions were old,
now the newewst kernels are 2.4.32 in this 2.4 series
and 2.6.15.x new in 2.6 series,
so go for these kernel sets, better go for 2.6 one that is promising

Last edited by rkrishna; 03-17-2006 at 06:36 AM.
 
  


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
Kernel compile error Navyblue Linux - Newbie 20 08-01-2005 10:53 PM
Error trying to compile 2.6.10 kernel. Royle Debian 11 03-12-2005 07:42 PM
Kernel Compile error help? GUIPenguin Linux - General 1 01-23-2005 12:25 AM
Kernel 2.6.9 compile error burn0ut Linux - General 3 12-08-2004 08:05 AM
kernel compile error draker Linux - Newbie 1 08-14-2003 11:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:29 PM.

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