473,326 Members | 2,192 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

upgrading kernel ERROR !!

Shenno
59
hiz,

am trying to upgrade from kernel 2.4 to 3.0.4 "stable one"..

i did download the tar file, extracted successfully

i did use menuconfig gr8 too..

after saving am trying to use "make" or "make modules" or "make bzImag" ,,, i got an error !!

here it is :

Expand|Select|Wrap|Line Numbers
  1. usr/src/linux-3.0.4/arch/x86/include/asm/arch_hweight.h: In function __arch_hweight32:
  2.  
  3. usr/src/linux-3.0.4/arch/x86/include/asm/arch_hweight.h:29: parse error before string constant
  4.  
  5. make[1]: *** [arch/x86/kernel/asm-offsets.s] ERROR 1
  6. make: *** [prepare0] ERROR 2
  7.  
  8.  
  9.  
my GCC version is : 3.2.2.2

i will rly appreciate your help, Thx in advance =)
Nov 1 '11 #1
6 2401
sicarie
4,677 Expert Mod 4TB
What Linux version are you running?

Are you just trying to get to an updated kernel, or are you intentionally compiling yours for the experience or some other reason?
Nov 2 '11 #2
Shenno
59
linux ver:9
kernel is 2.4

actually am trying to upgrade cuz my NIC not detected.. I've downloaded the module but didn't work too,

i tried to install NTFS file system it refuses..

soo many probs. so i decided to update the kernel..

i wanna add that Xconfig didn't work.. only way to config kernel is using menucomfig..

i alse tried to upgrade to kernel 2.6 rather than 3.04 but exactly the same error !!


thx for reply..
Nov 2 '11 #3
sicarie
4,677 Expert Mod 4TB
What distribution are you using? Ubuntu? RedHat? CentOS? Debian? Gentoo?

Compiling your own kernel is something you don't need to do unless you have a very specific reason for.

I'd recommend using Ubuntu Linux as it has most drivers built-in and will probably recognize your NIC. However, if you don't want to, what 'module' did you download? Was it an rpm? .deb file? Makefile?

i tried to install NTFS file system it refuses..
NTFS is a proprietary Microsoft technology that Linux will not create on a drive. Linux runs things like ext2/3 or RieserFS, or a number of other file systems I believe to be superior to NTFS.
Nov 3 '11 #4
Shenno
59
am using redhat 9,

upgrading to 3.04 will make support of NTFS, and my nic..

if i have kernel dun wanna support my nic, even after downloading new module.. dun wanna support ntfs.. dun wanna be upgraded too !!

sure i dun need this kernel.. it's too old

am on my way to redhat certified technical, so i need redhat no other linux..

THX
Nov 3 '11 #5
sicarie
4,677 Expert Mod 4TB
So my recommendation is to download a newer version of RH.

If you're unable to do that, you can look at something like CentOS that is a re-branded version of RH, just be aware it's patches are sometimes 6 months behind RedHat.

The suggestions I saw online were to update GCC and check the config file, though updating is difficult without a NIC, and .config files can get cryptic.
Nov 3 '11 #6
Shenno
59
ok i will try get new version, thx any way =)
Nov 4 '11 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Russell E. Owen | last post by:
I'm writing a C extension for numarray and am puzzled about the idiom for error handling. The documentation seems to say one should always decref an array after calling NA_InputArray, etc., to...
1
by: DiskMan | last post by:
System: Redhat 7.2 Kernel-2.6.11.8 GCC-3.4.3 CCC-6.5.9 Binutils-2.15 Make-3.80 GTK/GLIB-2.6.7 For some reason my Linux box is suddenly having issues trying to read ;
0
by: Dirk Wiebel | last post by:
Hello @all, when upgrading our Intel based server machine from linux kernel 2.4.19 to 2.4.23 db2 refused to connect to one of the databases: db2inst1@xxx:~> db2 connect to b6 SQL0902C A...
11
by: Aidan Tobin | last post by:
Hi, I have to upgrade a number of databases from Access 2.0, Access 97 and Access 2000 to work in Office 2003. These databases contain a number of Forms coded with VBA as well as a number of...
1
by: harjan | last post by:
Hi We are using PostgreSQL 7.3.2 We have a transaction (JDBC) using which a postgres function is called. Certain times (1 in 20 ..at times even less), we get this error: cannot extend "table...
9
by: Jurgen Haan | last post by:
Hey hey all... I'm in the following situation: I installed SuSE SLES9 on a dual core Opteron 275 (proliant DL385). 2GB Mem, hardware raid. I performed an install of DB2 for X86_64 8.2 FP 1...
15
by: Asaf | last post by:
Hi, I have received a source code project written in C++ VS.NET 2003 on .NET 1.1 that compiles without a problem. I have opened this source code in VS.NET 2005 and the Log wizard says that...
8
by: db2_d_b_a | last post by:
Hello All, Brief info on the system: Db2 version : "DB2 v8.1.0.121" and FixPak "13". OS : RHEL 3 2.4.21-37.0.1 Memory : 8 GB Swap : 2 GB The issue here is the instance not being able to...
3
swandi
by: swandi | last post by:
Hi there.. I tryed to upgrade my Linux kernel from 2.4 to 2.6.18.3 The problem is : When i tryed to use mkinitrd, the error occured : Can not buslogic for version 2.6.18.3.. Any one...
1
by: smohan | last post by:
Hi, I'm using perl modules in php via perl interpreter. I don't no how to include modules. I tried the following code, <?php echo "hello"; $perl=new Perl(); $perl->eval(' package...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.