Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
errors while compiling device drivers
Results 1 to 2 of 2

Thread: errors while compiling device drivers

  1. #1

    errors while compiling device drivers

    hi
    iam beginner to linux.I got errors while compiling device driver programs.The location of the device driver program is /work/uclinux/uClinux-dist/linux-2.6.x/drivers/video.
    I used gcc <file name> to compile.
    Kernel version:2..6.11
    distro:Fedora core
    Environment :uclinux

    Can you help me to fix this problem??

  2. #2
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811
    Only if you tell what the problem is.
    You need to include a few things
    • give a description of your error, was it saying something like
      foo.c:1:17: error: bar.h: File not found
    • What was the messages earlier to the error
    • What was your steps towards achieving the error
    The location you're describing here is giving some info, it seems like you're trying to compile the drivers provided by the kernel source tree in a non standard way.

    Uasualy you would be using one of the provided configuration method of the source tree
    Code:
    Configuration targets:
      config          - Update current config utilising a line-oriented program
      menuconfig      - Update current config utilising a menu based program
      xconfig         - Update current config utilising a QT based front-end
      gconfig         - Update current config utilising a GTK based front-end
      oldconfig       - Update current config utilising a provided .config as base
      silentoldconfig - Same as oldconfig, but quietly
      randconfig      - New config with random answer to all options
      defconfig       - New config with default answer to all options
      allmodconfig    - New config selecting modules when possible
      allyesconfig    - New config where all options are accepted with yes
      allnoconfig     - New config where all options are answered with no
    Here you would be located on the root of the source
    /work/uclinux/uClinux-dist/linux-2.6.x/
    And say you wanted to use a nice GUI configuration like gconfig, then you'd use the command
    make gconfig
    This will provide you with a browseable GUI frontend, here you would go to the Device Drivers And expand it to find what you're looking for, uppon selecting what you want, you'd select save and now you can compile your kernel with support for your new device selection, by using the command
    make bzImage
    And then you can install and try your new kernel.

    You can get more info from the Kernel Build HowTo
    Don't worry Ma'am. We're university students, - We know what We're doing.
    'Ruiat coelum, fiat voluntas tua.'
    Datalogi - en livsstil; Intet liv, ingen stil.

Similar Threads

  1. Kernel Compiling Errors
    By N0thing in forum General Chat
    Replies: 3
    Last Post: 01-16-2005, 07:15 PM
  2. Device Drivers
    By vivekr in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 11-24-2002, 09:51 PM
  3. Compiling device driver
    By Miepmuts in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 10-25-2002, 08:41 AM
  4. Errors compiling Gaim
    By gmoreno in forum Linux - Software, Applications & Programming
    Replies: 8
    Last Post: 03-22-2002, 02:17 PM
  5. Compiling MPlayer gives errors
    By in forum Linux - Software, Applications & Programming
    Replies: 18
    Last Post: 01-16-2002, 06:19 PM

Bookmarks

Posting Permissions

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