upgrading kernel ERROR !!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shenno
    New Member
    • Sep 2010
    • 59

    upgrading kernel ERROR !!

    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 :

    Code:
    usr/src/linux-3.0.4/arch/x86/include/asm/arch_hweight.h: In function __arch_hweight32:
     
    usr/src/linux-3.0.4/arch/x86/include/asm/arch_hweight.h:29: parse error before string constant
    
    make[1]: *** [arch/x86/kernel/asm-offsets.s] ERROR 1
    make: *** [prepare0] ERROR 2
    my GCC version is : 3.2.2.2

    i will rly appreciate your help, Thx in advance =)
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    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?

    Comment

    • Shenno
      New Member
      • Sep 2010
      • 59

      #3
      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..

      Comment

      • sicarie
        Recognized Expert Specialist
        • Nov 2006
        • 4677

        #4
        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.

        Comment

        • Shenno
          New Member
          • Sep 2010
          • 59

          #5
          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

          Comment

          • sicarie
            Recognized Expert Specialist
            • Nov 2006
            • 4677

            #6
            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.

            Comment

            • Shenno
              New Member
              • Sep 2010
              • 59

              #7
              ok i will try get new version, thx any way =)

              Comment

              Working...