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 ...
- 12-22-2009 #1Just 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
- 12-23-2009 #2Linux Guru
- 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!


Reply With Quote