[I]Hola, les cuento que estoy trabajando sobre una consola con debian. Hasta hace poco estaba compilando y ejecutando todos los programas que se me cantaban sin ningún problema. Ahora me salen estos error con cada programa que trato de compilar.
Código:
In file included from /usr/include/stdio.h:72,
from /usr/src/preparacion/conexion.c:1,
from script.c:2:
/usr/include/libio.h:32:23: _G_config.h: No such file or directory
In file included from /usr/include/stdio.h:72,
from /usr/src/preparacion/conexion.c:1,
from script.c:2:
/usr/include/libio.h:293: error: syntax error before "_G_off_t"
/usr/include/libio.h:325: error: syntax error before '}' token
/usr/include/libio.h:368: error: syntax error before "_G_off64_t"
/usr/include/libio.h:406: error: syntax error before "__wunderflow"
/usr/include/libio.h:407: error: syntax error before "__wuflow"
/usr/include/libio.h:408: error: syntax error before "__woverflow"
/usr/include/libio.h:408: error: syntax error before "_G_wint_t"
/usr/include/libio.h:464: error: syntax error before "_G_va_list"
/usr/include/libio.h:466: error: syntax error before "_G_va_list"
/usr/include/libio.h:467: error: syntax error before "_IO_padn"
/usr/include/libio.h:467: error: syntax error before "_G_ssize_t"
/usr/include/libio.h:468: error: syntax error before "_IO_sgetn"
/usr/include/libio.h:468: error: syntax error before "_G_size_t"
/usr/include/libio.h:470: error: syntax error before "_IO_seekoff"
/usr/include/libio.h:470: error: syntax error before "_G_off64_t"
/usr/include/libio.h:471: error: syntax error before "_IO_seekpos"
/usr/include/libio.h:471: error: syntax error before "_G_off64_t"
In file included from /usr/src/preparacion/conexion.c:1,
from script.c:2:
/usr/include/stdio.h:88: error: syntax error before "fpos_t"
In file included from /usr/src/preparacion/conexion.c:1,
from script.c:2:
/usr/include/stdio.h:337: error: syntax error before "_G_va_list"
/usr/include/stdio.h:342: error: syntax error before "_G_va_list"
/usr/include/stdio.h:345: error: syntax error before "_G_va_list"
/usr/include/stdio.h:356: error: syntax error before "_G_va_list"
/usr/include/stdio.h:692: error: syntax error before "fpos_t"
/usr/include/stdio.h:697: error: syntax error before '*' token
In file included from script.c:3:
/usr/src/preparacion/puntoAConsultar.c:3:20: string.h: No such file or directory
script.c y conexion.c son 2 programas.
Yo venia compilando de esta forma, nose si ahora habra algo pero no actualice la version del compilador porque no tengo conexion a internet.
gcc -o script script.c -lmysqlclient
Hay algo malo???? Que puede ser???
SALUDOS