[syslog-ng] undefined reference to `libnet_init'
Tapas Mallick
fedora4all at yahoo.com
Sun Jun 3 08:59:36 CEST 2007
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/
More information about the syslog-ng
mailing list