[Bug 1297554] Re: gcc error compiling simple program in c language

Matthias Klose doko at ubuntu.com
Wed Jun 11 11:18:28 UTC 2014


** Changed in: gcc-defaults (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1297554

Title:
  gcc error compiling simple program in c language

Status in “gcc-defaults” package in Ubuntu:
  Invalid

Bug description:
  Ubuntu Release:
  Description:	Ubuntu Trusty Tahr (development branch)
  Release:	14.04

  Package version:
  sudo apt-cache policy gcc
  gcc:
    Instalados: 4:4.8.2-1ubuntu4
    Candidato:  4:4.8.2-1ubuntu4
    Tabla de versión:
   *** 4:4.8.2-1ubuntu4 0
          500 http://es.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
          100 /var/lib/dpkg/status

  Problem:
  I'm trying to compile this simple file:

  prueba.c:
  ----------------------------------------------
  #include <stdio.h>

  main()
  {
  	printf("Hello world!!!");
  }
  -----------------------------------------------

  And I get these messages:

  #gcc prueba.c
  In file included from prueba.c:1:0:
  /usr/include/stdio.h:79:1: error: unknown type name ‘_G_va_list’
   typedef _G_va_list va_list;
   ^
  /usr/include/stdio.h:110:1: error: unknown type name ‘_G_fpos_t’
   typedef _G_fpos_t fpos_t;
   ^
  In file included from prueba.c:1:0:
  /usr/include/stdio.h:372:8: error: unknown type name ‘_G_va_list’
          _G_va_list __arg);
          ^
  /usr/include/stdio.h:377:54: error: unknown type name ‘_G_va_list’
   extern int vprintf (const char *__restrict __format, _G_va_list __arg);
                                                        ^
  /usr/include/stdio.h:380:8: error: unknown type name ‘_G_va_list’
          _G_va_list __arg) __THROWNL;
          ^
  /usr/include/stdio.h:391:42: error: unknown type name ‘_G_va_list’
           const char *__restrict __format, _G_va_list __arg)
                                            ^
  /usr/include/stdio.h:413:8: error: unknown type name ‘_G_va_list’
          _G_va_list __arg)
          ^
  /usr/include/stdio.h:472:7: error: unknown type name ‘_G_va_list’
         _G_va_list __arg)
         ^
  /usr/include/stdio.h:479:53: error: unknown type name ‘_G_va_list’
   extern int vscanf (const char *__restrict __format, _G_va_list __arg)
                                                       ^
  /usr/include/stdio.h:484:40: error: unknown type name ‘_G_va_list’
         const char *__restrict __format, _G_va_list __arg)
                                          ^
  In file included from /usr/include/features.h:374:0,
                   from /usr/include/stdio.h:27,
                   from prueba.c:1:
  /usr/include/stdio.h:494:12: error: unknown type name ‘_G_va_list’
   extern int __REDIRECT (vfscanf,
              ^
  /usr/include/stdio.h:499:12: error: unknown type name ‘_G_va_list’
   extern int __REDIRECT (vscanf, (const char *__restrict __format,
              ^
  /usr/include/stdio.h:502:12: error: unknown type name ‘_G_va_list’
   extern int __REDIRECT_NTH (vsscanf,
              ^

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: gcc 4:4.8.2-1ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-19.40-generic 3.13.6
  Uname: Linux 3.13.0-19-generic x86_64
  ApportVersion: 2.13.3-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Mar 26 01:14:06 2014
  InstallationDate: Installed on 2014-03-20 (5 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140320)
  SourcePackage: gcc-defaults
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1297554/+subscriptions



More information about the foundations-bugs mailing list