Problem installation of G++
Hello, I installed Linux and now when I try to install G + +, it makes me a line error in the make. I
Console
and then: Console
and after, I met this error code:
Code:
Console / / / usr / include / sys / stat.h: 370: error: conflicting types for 'futimens'
utimens.h: 2: error: previous declaration of 'futimens' was here
utimens.c: In function 'utimens':
utimens.c: 188: warning: passing argument 2 of 'futimens' from incompatible pointer type
utimens.c: 188: error: too many arguments to function 'futimens'
make [2]: *** [utimens.o] Error 1
make [2]: Leaving directory `/ home/remy/Bureau/gzip-1.3.12/lib '
make [1]: *** [all] Error 2
make [1]: Leaving directory `/ home/remy/Bureau/gzip-1.3.12/lib '
make: *** [all-recursive] Error 1
Thank you for helping me
re: Problem installation of G++
How you install it?
Tries primarily with the package manager.
re: Problem installation of G++
Personally, when I type:
Console
Code:
sudo apt-get install g + +
Its working very well
re: Problem installation of G++
Quote:
Originally Posted by
deoWo
Personally, when I type:
Console
Code:
sudo apt-get install g + +
Its working very well
Ubuntu to install gcc g + +, etc. must be:
Console
Code:
sudo apt-get install build-essential
Citation: baudon00
Thank you, but why after you I compile the c?
Because according to your error code, they are fichiers.c. Install the package build-essential if you are running Ubuntu and uses fichiers.cpp for C + + (you can rename the extension).