[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problemas al compilar en c



2006/4/18, cr4shburn@gmail.com <cr4shburn@gmail.com>:
>
>
> hola teng un problema al compilar un pequeño programa cosa que antes no me
> pasaba no se por que ocurre ahora el problema esta creo en el stdio.h esto
> es lo que me ocurre:
>
>
>
> xxx@xx:~/programacion/c$ gcc cap3.c -o cap3
>
> cap3.c:1: error: syntax error before '/' token
>
> In file included from /usr/include/_G_config.h:44,
>
>  from /usr/include/libio.h:32,
>
>  from /usr/include/stdio.h:72,
>
>  from cap3.c:5:
>
> /usr/include/gconv.h:72: error: syntax error before 'size_t'
>
> /usr/include/gconv.h:88: error: syntax error before 'size_t'
>
> /usr/include/gconv.h:97: error: syntax error before 'size_t'
>
> /usr/include/gconv.h:174: error: syntax error before 'size_t'
>
> /usr/include/gconv.h:177: error: syntax error before '}' token
>
> In file included from /usr/include/libio.h:32,
>
>  from /usr/include/stdio.h:72,
>
>  from cap3.c:5:
>
> /usr/include/_G_config.h:47: error: field '__cd' has incomplete type
>
> /usr/include/_G_config.h:50: error: field '__cd' has incomplete type
>
> In file included from /usr/include/stdio.h:72,
>
>  from cap3.c:5:
>
> /usr/include/libio.h:354: error: syntax error before 'size_t'
>
> /usr/include/libio.h:363: error: syntax error before 'size_t'
>
> /usr/include/libio.h:479: error: syntax error before '_IO_sgetn'
>
> /usr/include/libio.h:479: error: syntax error before 'size_t'
>
> In file included from cap3.c:5:
>
> /usr/include/stdio.h:302: error: syntax error before 'size_t'
>
> /usr/include/stdio.h:309: error: syntax error before 'size_t'
>
> /usr/include/stdio.h:351: error: syntax error before 'size_t'
>
> /usr/include/stdio.h:355: error: syntax error before 'size_t'
>
> /usr/include/stdio.h:603: error: syntax error before 'fread'
>
> /usr/include/stdio.h:603: error: syntax error before 'size_t'
>
> /usr/include/stdio.h:609: error: syntax error before 'fwrite'
>
> /usr/include/stdio.h:609: error: syntax error before 'size_t'
>
> /usr/include/stdio.h:631: error: syntax error before 'fread_unlocked'
>
> /usr/include/stdio.h:631: error: syntax error before 'size_t'
>
> /usr/include/stdio.h:633: error: syntax error before 'fwrite_unlocked'
>
> /usr/include/stdio.h:633: error: syntax error before 'size_t'
>
> cap3.c:14:3: warning: no newline at end of file
>
>
>
> alguien pude decirme como solucionarlo un saludo.
A parte del html... ahora nos toca hacerte los deberes? y sin ver el código?
En fin...

--
"... may the source be with you..."



Reply to: