[Musix-usuarios] con malas noticias otra vez

Marcos Guglielmetti marcospcmusica en gmail.com
Jue Jun 28 04:39:52 CEST 2007


El Lunes, 25 de Junio de 2007 15:31, Marcos Guglielmetti escribió:
 | El Lunes, 25 de Junio de 2007 19:01, Musix escribió:
 |  | Buenassss....otra vez yo...pero con malas noticias...
 |  | Dos malas noticias...para variar ;)
 |
 | Bien, vamos bien :=)
 |
 |  | 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...
 |
 | Antes que nada, preguntarte algo ¿lograste compilar algo en Musix hasta
 | ahora?
 |
 |  | 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...
 |
 | Sólo por curioso, me fijé si existe eso en Debian/Stable, pero no
 |
 | apt-cache search gsms
 | skyutils-dev - Many useful functions for the web like smssend
 | (development) skyutils2 - Many useful functions for the web like smssend
 |
 |
 | Aparentemente esos paquetes tienen alguna relación.
 |
 |  | 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
 |
 | ¿Qué será eso?
 |
 |  | _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'
 |
 | Yo buscaría en Google por:
 |
 | netdb.h  error expected declaration specifiers
 |
 |  | 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...
 |
 | Bueno, podés hacer algo, que no es lo mejor para Debian o Musix, pero
 | podrías copiar el binario y las librerías que compilaste en Ubuntu en
 | Musix y usarlos? Digo, no es lo mejor porque lo mejor sería reportar el
 | error en un foro de gsmssend
 |
 | OJO: si gsmssend no está en Debian/Stable probablemente sea por un error
 | difícil de resolver
 |
 |
 | Lo raro es que acá:
 |
 | http://packages.debian.org/stable/libs/skyutils2
 |
 |
 | Dice esto:
 |
 | "Many useful functions for the web like smssend
 |  This library contains functions about chained lists, string manipulation,
 | socket and HTTP protocol. It's used in gsmssend and smssend.
 |  This package contains the files needed for running such applications."
 |
 | Pero el paquete no está en Debian/Stable...
 |
 |  | _______________________________________________
 |  | Musix GNU+Linux - www.musix.org.ar
 |  | Musix-usuarios mailing list
 |  | Musix-usuarios en lists.ourproject.org
 |  | https://lists.ourproject.org/cgi-bin/mailman/listinfo/musix-usuarios

-- 
     `&' 
      #    Marcos Guglielmetti, co-director de               
      #   Musix GNU+Linux, 100% Software Libre para artistas      
     _#_       http://www.musix.org.ar           
     (#)     
    / O \    + archivos: ftp://musix.ourproject.org/pub/musix
   ( === )   Ecología: http://autosus.wordpress.com    
    `---'    Personal: http://marcospcmusica.wordpress.com

You see things; and you say 'Why?';
But I dream things that never were;
and I say 'Why not?' - George Bernard Shaw



Más información sobre la lista de distribución Musix-usuarios