Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All, I am facing a problem in building GCC 4.0.0 on ubuntu 8.10 intrepid. I am getting below error: /usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open ...
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    1

    Building GCC 4.0.0 on Ubuntu 8.10 intrepid

    Hi All,

    I am facing a problem in building GCC 4.0.0 on ubuntu 8.10 intrepid. I am getting below error:

    /usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments

    Please suggest how this error can be avoided.

    Thanks in advance.

    - Meena

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,977
    You are building GCC 4.0 using the old headers. You need to make sure that the makefile is including from the correct directories for the new module. In any case, why don't you just install the gcc 4.0.0 package with the package manager? You can have more than one gcc installed on a system.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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