A A A

Please consider registering
guest

Log In

Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
configure: error: C compiler cannot create executables
October 13, 2014
2:53 pm
Lo0oM
Admin
Forum Posts: 217
Member Since:
September 30, 2012
Offline

Hi

 

Description:

 

OS AIX 7.1 7100-03-01-1341, installed gcc:

libgcc-4.6.1-1
gcc-4.6.1-1
gcc-c++-4.6.1-1

In compilation process got error:

checking whether the C compiler works… no
configure: error: in `/opt/inst/tar-1.27.1':
configure: error: C compiler cannot create executables
See `config.log' for more details

config.log:

configure:4628: checking whether the C compiler works
configure:4650: gcc    conftest.c  >&5
gcc: error trying to exec 'cc1': execvp: No such file or directory
configure:4654: $? = 1
configure:4692: result: no

Solution:

 

1. Need to install cpp package also.

# rpm -ivh gcc-cpp-4.6.1-1.aix7.1.ppc.rpm

 

be sure that all gcc packages have same version and all dependencies installed.

 

Thank you.

 

 

Forum Timezone: UTC 0

Most Users Ever Online: 31

Currently Online:
1 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 0

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 3

Forums: 20

Topics: 214

Posts: 214

Newest Members: Lo0oM

Administrators: Lo0oM (217)