Hola Diego.

Deberias de preguntarle primero a Google :) Y con mucha más razón si 
estas compilando a mano todo.

Quizas este thread te ayude (sip, lo saqué buscando en google el error 
"undefined reference to `g_assert_warning'"):

https://lists.balabit.hu/pipermail/syslog-ng/2006-December/009624.html

Saludos, y éxitos.


Diego Lopez Maradona escribió:
> Hola amigos estoy instalando el syslog-ng pero me sale
> el siguiente error cuando ejecuto el configure, he
> instalado el eventlog y el glib porque me lo pedia
> antes, ya paso sin embargo ahora se queda en estos
> errores.
> 
> 
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  
> -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include  
> -I/usr/local/include/eventlog    -D_GNU_SOURCE
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2
> -Wall -g -MT main.o -MD -MP -MF ".deps/main.Tpo" \
>   -c -o main.o `test -f 'main.c' || echo './'`main.c;
> \
> then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
> else rm -f ".deps/main.Tpo"; exit 1; \
> fi
> gcc  -g -O2 -Wall -g   -o syslog-ng  main.o
> libsyslog-ng.a -lnsl -lrt  -Wl,-Bstatic -lfl
> -L/usr/local/lib -lglib-2.0   -L/usr/local/lib
> -levtlog    -lwrap -Wl,-Bdynamic
> libsyslog-ng.a(misc.o)(.text+0x32b): In function
> `resolve_hostname':
> /opt/syslog-ng-2.0.5/src/misc.c:191: undefined
> reference to `g_assert_warning'
> libsyslog-ng.a(logmsg.o)(.text+0x79): In function
> `log_stamp_format':
> /opt/syslog-ng-2.0.5/src/logmsg.c:110: undefined
> reference to `g_assert_warning'
> libsyslog-ng.a(logmsg.o)(.text+0xdb6): In function
> `log_msg_ref':
> /opt/syslog-ng-2.0.5/src/logmsg.c:548: undefined
> reference to `g_assert_warning'
> libsyslog-ng.a(logmsg.o)(.text+0xdfa): In function
> `log_msg_unref':
> /opt/syslog-ng-2.0.5/src/logmsg.c:562: undefined
> reference to `g_assert_warning'
> libsyslog-ng.a(logmsg.o)(.text+0xf9a): In function
> `log_msg_ack_block_end':
> /opt/syslog-ng-2.0.5/src/logmsg.c:698: undefined
> reference to `g_return_if_fail_warning'
> libsyslog-ng.a(logpipe.o)(.text+0x4f): In function
> `log_pipe_ref':
> /opt/syslog-ng-2.0.5/src/logpipe.c:42: undefined
> reference to `g_assert_warning'
> libsyslog-ng.a(logpipe.o)(.text+0xab): In function
> `log_pipe_unref':
> /opt/syslog-ng-2.0.5/src/logpipe.c:55: undefined
> reference to `g_assert_warning'
> libsyslog-ng.a(center.o)(.text+0x7e): In function
> `log_endpoint_free':
> /opt/syslog-ng-2.0.5/src/center.c:90: undefined
> reference to `g_assert_warning'
> libsyslog-ng.a(center.o)(.text+0x170): In function
> `log_connection_new':
> /opt/syslog-ng-2.0.5/src/center.c:132: undefined
> reference to `g_assert_warning'
> libsyslog-ng.a(templates.o)(.text+0x312): In function
> `log_template_ref':
> /opt/syslog-ng-2.0.5/src/templates.c:184: undefined
> reference to `g_assert_warning'
> libsyslog-ng.a(templates.o)(.text+0x35a):/opt/syslog-ng-2.0.5/src/templates.c:193:
> more undefined references to `g_assert_warning' follow
> collect2: ld returned 1 exit status
> make[2]: *** [syslog-ng] Error 1
> make[2]: Leaving directory `/opt/syslog-ng-2.0.5/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/opt/syslog-ng-2.0.5'
> make: *** [all] Error 2
> 
> 
> 
>       Compartí video en la ventana de tus mensajes (y también tus fotos de 
> Flickr). 
> Usá el nuevo Yahoo! Messenger versión Beta. 
> http://ar.beta.messenger.yahoo.com/
> _______________________________________________
> Lista de correo Linux-plug
> Temática: Discusión general sobre Linux
> Peruvian Linux User Group (http://www.linux.org.pe)
> 
> Participa suscribiéndote y escribiendo a:  [email protected]
> Para darte de alta, de baja  o hacer ajustes a tu suscripción visita:
> http://listas.linux.org.pe/mailman/listinfo/linux-plug
> 
> IMPORTANTE: Reglas y recomendaciones
> http://www.linux.org.pe/listas/reglas.php
> http://www.linux.org.pe/listas/comportamiento.php
> http://www.linux.org.pe/listas/recomendaciones.php

-- 
Oliver Etchebarne Bejarano
drmad/paperclip
http://www.paperclip.com.pe/
_______________________________________________
Lista de correo Linux-plug
Temática: Discusión general sobre Linux
Peruvian Linux User Group (http://www.linux.org.pe)

Participa suscribiéndote y escribiendo a:  [email protected]
Para darte de alta, de baja  o hacer ajustes a tu suscripción visita:
http://listas.linux.org.pe/mailman/listinfo/linux-plug

IMPORTANTE: Reglas y recomendaciones
http://www.linux.org.pe/listas/reglas.php
http://www.linux.org.pe/listas/comportamiento.php
http://www.linux.org.pe/listas/recomendaciones.php

Responder a