Find the answer to your Linux question:
Results 1 to 10 of 10
Hi, I just installed the new ubuntu maverick and then try install my HSF modem from Diaco's driver. I was able to install the driver successfully but when I try ...
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    36

    autoconf.h is missing

    Hi, I just installed the new ubuntu maverick and then try install my HSF modem from Diaco's driver. I was able to install the driver successfully but when I try to configure it using "hsfconfig"

    Code:
    WARNING: missing file /lib/modules/2.6.35-22-generic/build/include/linux/autoconf.h
    The cause of this is usually a missing or unconfigured
    kernel source tree (and sometimes an incorrect directory or symbolic link)
    
    However, proper /boot/config-2.6.35-22-generic was found.
    Would you like to try using it (in a temporary kernel tree)? [yes] 
    
    Unable to prepare temporary kernel tree
    ....
    this is the message i receive.

  2. #2
    ved
    ved is offline
    Linux User ved's Avatar
    Join Date
    Jan 2008
    Location
    New Delhi
    Posts
    309

    Smile

    first you have to install autoconf.h using any available tool then try again
    Take risks: if you win, you will be happy; if you lose, you will be wise.
    New Users : Read This First

  3. #3
    Just Joined!
    Join Date
    Jun 2009
    Posts
    36
    Quote Originally Posted by ved View Post
    first you have to install autoconf.h using any available tool then try again
    Can you please tell me how to do that?

    Tried this link but to no avail. here.

  4. #4
    ved
    ved is offline
    Linux User ved's Avatar
    Join Date
    Jan 2008
    Location
    New Delhi
    Posts
    309
    what is error? try it
    Code:
    sudo apt-get install autoconf**
    APT HOWTO (Obsolete Documentation) - Managing packages
    Take risks: if you win, you will be happy; if you lose, you will be wise.
    New Users : Read This First

  5. #5
    ved
    ved is offline
    Linux User ved's Avatar
    Join Date
    Jan 2008
    Location
    New Delhi
    Posts
    309

    Smile

    This link is also helpful for you
    How do I update Ubuntu Linux softwares?
    Take risks: if you win, you will be happy; if you lose, you will be wise.
    New Users : Read This First

  6. #6
    Just Joined!
    Join Date
    Jun 2009
    Posts
    36
    Hi ved, thanks for the help and patience.
    It seems that autoconf was already installed but I did what you've told me. Restart the pc then,
    Code:
    vaikz@vaikz-linux:/$ sudo hsfconfig
    [sudo] password for vaikz: 
    Conexant HSF softmodem driver, version 7.68.00.09oem
    
    If you need assistance or more information, please go to:
    	http://www.linuxant.com/
    
    When reporting a problem for the first time, please send
    us the file generated by "hsfconfig --dumpdiag".
    
    No pre-built modules for: Ubuntu-10.10 linux-2.6.35-22-generic i686-SMP
    
    Trying to automatically build the driver modules...
    (this requires a C compiler and proper kernel sources to be installed)
    
    Where is the linux source build directory that matches your running kernel?
    [/lib/modules/2.6.35-22-generic/build] 
    
    WARNING: missing file /lib/modules/2.6.35-22-generic/build/include/linux/autoconf.h
    The cause of this is usually a missing or unconfigured
    kernel source tree (and sometimes an incorrect directory or symbolic link).
    
    However, proper /boot/config-2.6.35-22-generic was found.
    Would you like to try using it (in a temporary kernel tree)? [yes] 
    
    Unable to prepare temporary kernel tree
    
    First, ensure that the proper kernel source and compiler packages
    from your distribution vendor and/or the community are installed.
    
    The Linux kernel can then be reconfigured by running "make menuconfig"
    under the kernel source directory (usually /usr/src/linux).
    
    Verify that the proper options for your system are selected.
    
    Then compile and install your new kernel (for more information about
    this procedure, see the README file under the kernel source directory),
    reboot the system using the new kernel, and re-run "hsfconfig".
    Still the same error.

  7. #7
    ved
    ved is offline
    Linux User ved's Avatar
    Join Date
    Jan 2008
    Location
    New Delhi
    Posts
    309

    Smile

    as i understand reading your last 10 line of post that first you update your kernel and other security related update then try the same as you do other wise wait for a Linux guru to reply
    Take risks: if you win, you will be happy; if you lose, you will be wise.
    New Users : Read This First

  8. #8
    Just Joined!
    Join Date
    Jun 2009
    Posts
    36
    yup, I hope so. I had posted it also on ubuntu forums but I haven't receive any response yet. One of the guys instructed us to do this:
    Code:
    First of all, do you have kernel source??
    aptitude install linux-source
    
    cd /usr/src/linux
    
    # copy running config
    cp /boot/config-2.6.35-22-generic .config
    
    #build new kernel
    make
    
    After this try, once again
    It seems he wanted us to compile the linux kernel, but I can't locate the
    Code:
    cd /usr/src/linux
    so I was waiting for his reply. Do you have any ideas how to do this?

  9. #9
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    See this link for recompiling the Ubuntu kernel.
    https://help.ubuntu.com/community/Kernel/Compile
    You probably only need the kernel headers to compile your driver.
    Code:
    sudo apt-get install linux-headers-$(uname -r)
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  10. #10
    Just Joined!
    Join Date
    Jun 2009
    Posts
    36
    @MikeTbob
    thanks for the reply, i'll try that soon.

Posting Permissions

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