[syslog-ng] undefined reference to `libnet_init'

Hiren Patel patelhn at telkom.co.za
Mon Jun 4 08:23:07 CEST 2007


i hope you are doing this process for the sake of building a rpm for
RHEL. why install using the configure/make/make install process on a
production server i cannot understand.

On Sat, 2007-06-02 at 23:59 -0700, Tapas Mallick wrote:
> Hello List,
> 
> I am trying to install syslog-ng 2.0.4 on RHEL 4 (on
> top of VMWARE) and I am getting the same error message
> while "make" the software.
> 
> =============================================
> make  all-recursive
> make[1]: Entering directory `/tmp/syslog-ng-2.0.4'
> Making all in src
> make[2]: Entering directory `/tmp/syslog-ng-2.0.4/src'
> gcc  -g -O2 -Wall -g   -o syslog-ng  main.o
> libsyslog-ng.a -lnsl -lrt  -Wl,-Bstatic -lfl
> -lglib-2.0   -L/usr/local/lib -levtlog    -lwrap
> -Wl,-Bdynamic
> libsyslog-ng.a(afinet.o)(.text+0x776): In function
> `afinet_dd_init':
> /tmp/syslog-ng-2.0.4/src/afinet.c:338: undefined
> reference to `libnet_init'
> libsyslog-ng.a(afinet.o)(.text+0x895): In function
> `afinet_dd_queue':
> /tmp/syslog-ng-2.0.4/src/afinet.c:493: undefined
> reference to `libnet_write'
> libsyslog-ng.a(afinet.o)(.text+0x8d5):/tmp/syslog-ng-2.0.4/src/afinet.c:505:
> undefined reference to `libnet_geterror'
> libsyslog-ng.a(afinet.o)(.text+0x96f):/tmp/syslog-ng-2.0.4/src/afinet.c:364:
> undefined reference to `libnet_clear_packet'
> libsyslog-ng.a(afinet.o)(.text+0x9b3):/tmp/syslog-ng-2.0.4/src/afinet.c:366:
> undefined reference to `libnet_build_udp'
> libsyslog-ng.a(afinet.o)(.text+0x9ef):/tmp/syslog-ng-2.0.4/src/afinet.c:377:
> undefined reference to `libnet_build_ipv4'
> libsyslog-ng.a(afinet.o)(.text+0xa58):/tmp/syslog-ng-2.0.4/src/afinet.c:426:
> undefined reference to `libnet_clear_packet'
> libsyslog-ng.a(afinet.o)(.text+0xa98):/tmp/syslog-ng-2.0.4/src/afinet.c:428:
> undefined reference to `libnet_build_udp'
> libsyslog-ng.a(afinet.o)(.text+0xab5):/tmp/syslog-ng-2.0.4/src/afinet.c:442:
> undefined reference to `libnet_toggle_checksum'
> libsyslog-ng.a(afinet.o)(.text+0xaf6):/tmp/syslog-ng-2.0.4/src/afinet.c:444:
> undefined reference to `libnet_build_ipv6'
> collect2: ld returned 1 exit status
> make[2]: *** [syslog-ng] Error 1
> make[2]: Leaving directory `/tmp/syslog-ng-2.0.4/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/syslog-ng-2.0.4'
> make: *** [all] Error 2
> =========================================
> 
> Attaching config.log too for your reference.
> 
> Thanks And Regards,
> Tapas Mallick
> 
> 
> 
>        
> ____________________________________________________________________________________
> Need a vacation? Get great deals
> to amazing places on Yahoo! Travel.
> http://travel.yahoo.com/
> _______________________________________________
> syslog-ng maillist  -  syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
> 
-- 
Hiren Patel

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at 
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


More information about the syslog-ng mailing list