Results 1 to 5 of 5

Thread: gcc 4.3 compiler problems

  1. #1
    Spoook NNTP User

    Default gcc 4.3 compiler problems

    I have been using SUSE for 2 days.
    I installed gcc 4.3 using Yast, but
    cc1 was not found by gcc. I added cc1
    to my path, and now I am getting lots
    of compile errors for a simple 'hello world'
    program because standard header
    files are not found.

    /usr/include/stdio.h:34:21: error: stddef.h: No such file or directory
    In file included from /usr/include/stdio.h:75,
    from hello.c:1:
    /usr/include/libio.h:53:21: error: stdarg.h: No such file or directory
    In file included from /usr/include/stdio.h:75,
    from hello.c:1:


    What is the fix for this?

    Thanks.

  2. #2

    Default Re: gcc 4.3 compiler problems

    Do you have glibc glibc-devel.

  3. #3
    Join Date
    Aug 2008
    Posts
    12

    Default Re: gcc 4.3 compiler problems

    Make sure you have the package gcc installed. If you want to compile sources you need a couple of packages so I would recommend choosing the development pattern in YaST2 and install all packages it lists.

    Philipp

  4. #4
    Join Date
    Aug 2008
    Posts
    12

    Default Re: gcc 4.3 compiler problems

    You need to install the package gcc, not gcc43. Besides that, make sure you have at least the packages binutils and glibc-devel installed.

  5. #5
    Join Date
    Jun 2008
    Location
    Mumbai,India
    Posts
    43

    Default Re: gcc 4.3 compiler problems

    well i would suggest you to search for gcc in the search section of yast software management module and install all those it displays.. it shud work then.
    hope this helps...

    Best regards
    Tanmaya

Posting Permissions

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