Results 1 to 2 of 2

Thread: C compiler cannot create executables

  1. #1
    fefol NNTP User

    Default C compiler cannot create executables

    I have openSUSE 11.1 installed on my VM (VMWare sever). I installed gcc and gcc-c++. When I try to configure a program I get the error:

    checking for c compiler default output file name...
    configure: error: C compiler cannot create executables
    See 'config.log' for more details.

    I have searched forums and figured out I need to install build-essential. I found the equivalent for that would be:
    zypper install -t pattern devel_C_C++

    I also installed kernel-source and kernel-syms.

    It's really getting on my nerve

    Is there any solution?

    thanx

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,856
    Blog Entries
    14

    Default Re: C compiler cannot create executables

    Did you install 'make' as well?

    If this is for kernel development, start Yast - Software Management, and check the PATTERN 'Linux Kernel Development' for install. It will force the install of missing things.
    If for the desktop, same for patterns KDE4 / Gnome Development.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Posting Permissions

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