[Musix-usuarios] con malas noticias otra vez
Musix
momosampler1986 en gmail.com
Lun Jun 25 19:01:18 CEST 2007
Buenassss....otra vez yo...pero con malas noticias...
Dos malas noticias...para variar ;)
Bueno..la primera tiene que ver de nuevo con la compilación...les voy a seguir
consultando ...porque creo que es un error grave...
EL error surgió al compilar un programa...pero esta vez al tirar el make...
He ido siguiéndolo...y remplazando algunos links de la carpeta /usr/include/,
borrando los links originales...y enlazando con la de los includes del kernel
que estoy usando...llegué hasta cierto tramo...
EL make me tira errores relacionados con la libreria netdb.h. Estoy tratando
de compilar el gsmssend...
EL mensaje es el sig:
momo en box:~/Descargas/gsms-0.11$ make
make all-recursive
make[1]: se ingresa al directorio `/home/momo/Descargas/gsms-0.11'
Making all in macros
make[2]: se ingresa al directorio `/home/momo/Descargas/gsms-0.11/macros'
make[2]: No se hace nada para `all'.
make[2]: se sale del directorio `/home/momo/Descargas/gsms-0.11/macros'
Making all in po
make[2]: se ingresa al directorio `/home/momo/Descargas/gsms-0.11/po'
make[2]: se sale del directorio `/home/momo/Descargas/gsms-0.11/po'
Making all in intl
make[2]: se ingresa al directorio `/home/momo/Descargas/gsms-0.11/intl'
make[2]: No se hace nada para `all'.
make[2]: se sale del directorio `/home/momo/Descargas/gsms-0.11/intl'
Making all in libsms
make[2]: se ingresa al directorio `/home/momo/Descargas/gsms-0.11/libsms'
/bin/sh ../libtool --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/
usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/incl
ude/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -
I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I../intl -
I../intl -DG_LOG_DOMAIN=\"LIBGSMS\" -g -O2 -Wall -Wunused -Wall -Wmissing-protot
ypes -Wpointer-arith -c sock.c
rm -f .libs/sock.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_RE
ENTRANT -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr
/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -
I../intl -I../intl -DG_LOG_DOMAIN=\"LIBGSMS\" -g -O2 -Wall -Wunused -Wall -Wmissing-prototy
pes -Wpointer-arith -c sock.c -fPIC -DPIC -o .libs/sock.lo
In file included from sock.c:24:
/usr/include/netinet/in.h:221: error: expected specifier-qualifier-list
before '__SOCKADDR_
COMMON'
/usr/include/netinet/in.h:235: error: expected specifier-qualifier-list
before '__SOCKADDR_
COMMON'
/usr/include/netinet/in.h:283: error: field 'gr_group' has incomplete type
/usr/include/netinet/in.h:292: error: field 'gsr_group' has incomplete type
/usr/include/netinet/in.h:295: error: field 'gsr_source' has incomplete type
/usr/include/netinet/in.h:327: error: field 'gf_group' has incomplete type
/usr/include/netinet/in.h:335: error: array type has incomplete element type
In file included from sock.c:25:
/usr/include/netdb.h:462: error: expected declaration specifiers or '...'
before 'sa_family
_t'
/usr/include/netdb.h:490: error: expected declaration specifiers or '...'
before 'sa_family
_t'
/usr/include/netdb.h:512: error: expected declaration specifiers or '...'
before 'sa_family
_t'
/usr/include/netdb.h:531: error: expected declaration specifiers or '...'
before 'sa_family
_t'
sock.c: In function 'wait_for_data':
sock.c:62: error: 'errno' undeclared (first use in this function)
sock.c:62: error: (Each undeclared identifier is reported only once
sock.c:62: error: for each function it appears in.)
sock.c: In function 'gsms_socket_create':
sock.c:80: error: 'PF_INET' undeclared (first use in this function)
sock.c:80: error: 'SOCK_STREAM' undeclared (first use in this function)
sock.c: In function 'gsms_socket_open_connection':
sock.c:113: error: 'struct sockaddr_in' has no member named 'sin_family'
sock.c:113: error: 'AF_INET' undeclared (first use in this function)
sock.c:114: error: 'struct sockaddr_in' has no member named 'sin_port'
sock.c:115: error: 'struct sockaddr_in' has no member named 'sin_addr'
sock.c:135: warning: type-punning to incomplete type might break
strict-aliasing rules
sock.c:136: warning: passing argument 2 of 'connect' from incompatible pointer
type
sock.c:138: error: 'errno' undeclared (first use in this function)
sock.c:176: warning: pointer targets in passing argument 5 of 'getsockopt'
differ in signed ness
sock.c: In function 'gsms_socket_read':
sock.c:233: error: 'errno' undeclared (first use in this function)
sock.c: In function 'gsms_socket_write':
sock.c:267: error: 'errno' undeclared (first use in this function)
sock.c: In function 'gsms_socket_read_line':
sock.c:300: error: 'MSG_PEEK' undeclared (first use in this function)
sock.c:303: error: 'errno' undeclared (first use in this function)
make[2]: *** [sock.lo] Error 1
make[2]: se sale del directorio `/home/momo/Descargas/gsms-0.11/libsms'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/momo/Descargas/gsms-0.11'
make: *** [all-recursive-am] Error 2
Disculpen lo extenso...pero de verdad me parece un problema importante esto de
la compilación....gracias!
PD: probé compilar el programa en mi ubuntu...no tuve problemas...
Más información sobre la lista de distribución Musix-usuarios