Find the answer to your Linux question:
Results 1 to 4 of 4
Hello all, I recently upgraded from Ubuntu 10.04 to 10.10. All was going well until netbeans started throwing up errors about not being able to find the "stddef.h" header being ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    34

    Netbeans cannot find stddef.h after upgrade


    Hello all,

    I recently upgraded from Ubuntu 10.04 to 10.10. All was going well until netbeans started throwing up errors about not being able to find the "stddef.h" header being called from the stdio and stdlib headers. Now I am unable to even initialize variables without failing.

    I was using 6.9.1 from the netbeans website, but then I installed 6.9 from the repos alongside, and I still get the same error. Do I need to remove 6.9.1 ( I would rather remove it and keep the repo version), and if so, how do I do it?

    Does anyone know where the stddef.h file is located so that I can replace it, or know of any work around?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,663
    Netbeans is a java software development environment. The file stddef.h is a C header file. Please post the exact errors you are getting and what applications you are running when they occur. I assume you are trying to run netbeans, but just want to be sure that is the case.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Oct 2010
    Posts
    2
    He must be using netbeans with c/c++ support.
    I have the same problem too.
    I build a project in C and I need stddef.h.
    Ubuntu 10.10 does not have this header...
    Any workarounds?
    Why is it not included?

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Oct 2010
    Posts
    2
    ok look at hxxp://ubuntuforums.org/showthread.php?t=1595855

Posting Permissions

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