Find the answer to your Linux question:
Page 3 of 4 FirstFirst 1 2 3 4 LastLast
Results 21 to 30 of 32
Originally Posted by Enry211 I'm not very expert, so i simply mean "any problem". Maybe some program or the OS may not work fine. I believe the term is "there ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #21
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353

    Quote Originally Posted by Enry211 View Post
    I'm not very expert, so i simply mean "any problem". Maybe some program or the OS may not work fine.
    I believe the term is "there are no guarantees". Just give it a whirl, if nothing else, it is worth the experience.
    i'm going to install Fedora XFCE Spin, is it fine? can i install it and recompile the kernel without any problem (in principle)?
    I have never used that spin of Fedora, but assuming it uses the default Fedora repos, you should have no problems with installing all the required compilation software. Anyone with experience with it will hopefully correct me if I am wrong, though.

    After you get it booted, try something like:

    Code:
    yum install gcc binutils make
    to get a good portion of them installed. Anything you are still missing the kernel compilation program will hopefully spell out for you, once you get to compiling. Once you know those other missing, tools, you can yum install them, too.

  2. #22
    Just Joined!
    Join Date
    Jan 2010
    Location
    Italy
    Posts
    36
    tried to configure the kernel before "make" it. I got this error:

    Code:
    [root@localhost linux-2.6.18]# make menuconfig
      HOSTCC  scripts/kconfig/lxdialog/checklist.o
    In file included from scripts/kconfig/lxdialog/checklist.c:24:0:
    scripts/kconfig/lxdialog/dialog.h:31:20: fatal error: curses.h: No such file or directory
    compilation terminated.
    make[2]: *** [scripts/kconfig/lxdialog/checklist.o] Error 1
    make[1]: *** [menuconfig] Error 2
    make: *** [menuconfig] Error 2
    what i can do?

    EDIT: I SOLVED INSTALLING NCURSES-DEVEL but it returns this error after launch "make" command:
    Code:
    scripts/kconfig/conf -s arch/i386/Kconfig
      CHK     include/linux/version.h
      UPD     include/linux/version.h
      CHK     include/linux/utsrelease.h
      UPD     include/linux/utsrelease.h
      SYMLINK include/asm -> include/asm-i386
      CC      arch/i386/kernel/asm-offsets.s
      GEN     include/asm-i386/asm-offsets.h
      CC      scripts/mod/empty.o
      HOSTCC  scripts/mod/mk_elfconfig
      MKELF   scripts/mod/elfconfig.h
      HOSTCC  scripts/mod/file2alias.o
      HOSTCC  scripts/mod/modpost.o
      HOSTCC  scripts/mod/sumversion.o
    scripts/mod/sumversion.c: In function ‘get_src_version’:
    scripts/mod/sumversion.c:384:16: error: ‘PATH_MAX’ undeclared (first use in this function)
    scripts/mod/sumversion.c:384:16: note: each undeclared identifier is reported only once for each function it appears in
    scripts/mod/sumversion.c:384:7: warning: unused variable ‘filelist’ [-Wunused-variable]
    make[2]: *** [scripts/mod/sumversion.o] Error 1
    make[1]: *** [scripts/mod] Error 2
    make: *** [scripts] Error 2

  3. #23
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Do you have the kernel-headers and glibc-headers packages installed?

    Edit: Right, you're on Ubuntu, those package names might be different
    Last edited by atreyu; 11-28-2011 at 08:49 PM. Reason: ubuntu

  4. $spacer_open
    $spacer_close
  5. #24
    Just Joined!
    Join Date
    Jan 2010
    Location
    Italy
    Posts
    36
    yes. i've both installed.

    i found this https://bbs.archlinux.org/viewtopic.php?id=79143 but i don't completely understand what i have to do. Can you explain me if you undestrand this thread? Thanks

  6. #25
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    I have no idea if this would work but the fix suggests adding a call to another header file in one of the kernel built scripts. First see if that file exists locally:

    Code:
    ls -l /usr/include/linux/limits.h
    If it looks good, then, make sure you are in the root of your kernel source dir, e.g.:
    Code:
    # pwd
    /usr/src/kernels/2.6.18/
    Now open up that file that needs to be edited:
    Code:
    vi scripts/mod/sumversion.c
    At the very top of the line, insert a line like this:
    Code:
    #include <linux/limits.h>
    It should look similar to the lines below it, syntax-wise.

    Then try your recompile again.

  7. #26
    Just Joined!
    Join Date
    Jan 2010
    Location
    Italy
    Posts
    36
    You're right. I forgot that this thread started into UBUNTU section of the forum. I created a new thread in the right place.

    http://www.linuxforums.org/forum/red...ng-kernel.html

  8. #27
    Just Joined!
    Join Date
    Jan 2010
    Location
    Italy
    Posts
    36
    i exctract the config file of the 2.6.18 kernel, but i don't undestrand how to load it on a new kernel (even though it's not recommended)

  9. #28
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    You don't exactly load it into a new kernel, you use it as a baseline for the configuration of the new kernel (but maybe that is what you meant, I know English is not your 1st language).

    Anyway, to use the kernel config file you've extracted, do something like this:
    Code:
    cp config-2.6.18.i686 /usr/src/kernels/linux-2.6.18/.config
    That command is roughly saying "copy this config file to my kernel source directory and rename it .config". Obviously, the kernel config filen you extracted will have a different name than what I used in my example. And you've probably got your kernel source extracted to some other directory. So change the command to reflect.

    Once that is done, you just need to cd into your build dir (which for the sake of convenience I'll assume is the same as your source dir, i.e. linux-2.6.18) and run make oldconfig. From the kernel source README:
    Code:
           "make oldconfig"   Default all questions based on the contents of
                               your existing ./.config file and asking about
                               new config symbols.
    It will prompt you for input on many things in the kernel compilation. I just hold down the Enter key until it's done and go back later to fix anything.

    When it is done, just go thru the rest of the kernel procedures (make menuconfig;make;make modules_install install). See the README in the kernel source for more info on the above.
    Last edited by atreyu; 12-08-2011 at 02:05 PM. Reason: make oldconfig

  10. #29
    Just Joined!
    Join Date
    Jan 2010
    Location
    Italy
    Posts
    36
    got those errors loading the old config

    Code:
    scripts/kconfig/conf --oldconfig Kconfig
    .config:685:warning: symbol value 'm' invalid for IP_DCCP_CCID3
    .config:686:warning: symbol value 'm' invalid for IP_DCCP_TFRC_LIB
    .config:796:warning: symbol value 'm' invalid for BT_L2CAP
    .config:797:warning: symbol value 'm' invalid for BT_SCO
    .config:1426:warning: symbol value 'm' invalid for FIXED_PHY
    .config:1734:warning: symbol value 'm' invalid for ISDN
    .config:2867:warning: symbol value 'm' invalid for RTC_LIB
    .config:2868:warning: symbol value 'm' invalid for RTC_CLASS
    .config:2873:warning: symbol value 'm' invalid for RTC_INTF_SYSFS
    .config:2874:warning: symbol value 'm' invalid for RTC_INTF_PROC
    .config:2875:warning: symbol value 'm' invalid for RTC_INTF_DEV
    .config:2897:warning: symbol value 'm' invalid for DMA_ENGINE
    .config:2951:warning: symbol value 'm' invalid for GFS2_FS_LOCKING_DLM
    warning: (AX88796_93CX6 && RTL8180 && RTL8187 && ADM8211 && RT2400PCI && RT2500PCI && RT61PCI && RT2800PCI && R8187SE) selects EEPROM_93CX6 which has unmet direct dependencies (MISC_DEVICES)
    with this errors can you understand what kernel devs have removed nad why my dvd recorder doesn't work?

  11. #30
    Just Joined!
    Join Date
    Jan 2010
    Location
    Italy
    Posts
    36
    i "fix" the problem installing PC-BSD

Page 3 of 4 FirstFirst 1 2 3 4 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •