#34 Compilation error on CentOS 5.4 64-bit

v1.0.0
open
nobody
Compilation (6)
9
2010-05-29
2010-02-27
Leonardo
No

Making all in:
/root/sid-milter-1.0.0/sid-filter
Configuration: pfx=, os=Linux, rel=2.6.18-164.11.1.el5, rbase=2, rroot=2.6.18-164.11.1, arch=x86_64, sfx=, variant=optimized
Making in /root/sid-milter-1.0.0/obj.Linux.2.6.18-164.11.1.el5.x86_64/sid-filter
make[1]: Entering directory `/root/sid-milter-1.0.0/obj.Linux.2.6.18-164.11.1.el5.x86_64/sid-filter'
cc -O2 -I. -I../../libar -I../../libmarid -I../../sendmail -I../../include -DUSE_ARLIB -D_REENTRANT -DXP_MT -c -o sid-filter.o sid-filter.c
cc -O2 -I. -I../../libar -I../../libmarid -I../../sendmail -I../../include -DUSE_ARLIB -D_REENTRANT -DXP_MT -c -o rfc2822.o rfc2822.c
cc -O2 -I. -I../../libar -I../../libmarid -I../../sendmail -I../../include -DUSE_ARLIB -D_REENTRANT -DXP_MT -c -o util.o util.c
cc -o sid-filter -lpthread sid-filter.o rfc2822.o util.o -lmilter /root/sid-milter-1.0.0/obj.Linux.2.6.18-164.11.1.el5.x86_64/libar/libar.a /root/sid-milter-1.0.0/obj.Linux.2.6.18-164.11.1.el5.x86_64/libmarid/libmarid.a /root/sid-milter-1.0.0/obj.Linux.2.6.18-164.11.1.el5.x86_64/libsm/libsm.a -ldl
sid-filter.o: In function `sid_decode_a':
sid-filter.c:(.text+0x7c3): undefined reference to `__dn_expand'
sid-filter.c:(.text+0x7ce): undefined reference to `__dn_skipname'
sid-filter.c:(.text+0x830): undefined reference to `__dn_expand'
sid-filter.o: In function `sid_marid_check':
sid-filter.c:(.text+0xcff): undefined reference to `__dn_expand'
sid-filter.c:(.text+0xd0a): undefined reference to `__dn_skipname'
sid-filter.c:(.text+0x1020): undefined reference to `__dn_expand'
sid-filter.c:(.text+0x15c3): undefined reference to `__dn_expand'
sid-filter.c:(.text+0x1691): undefined reference to `__dn_expand'
sid-filter.c:(.text+0x1796): undefined reference to `__dn_expand'
/root/sid-milter-1.0.0/obj.Linux.2.6.18-164.11.1.el5.x86_64/libar/libar.a(ar.o): In function `ar_sendquery':
ar.c:(.text+0x15e7): undefined reference to `__res_nmkquery'
/root/sid-milter-1.0.0/obj.Linux.2.6.18-164.11.1.el5.x86_64/libar/libar.a(ar.o): In function `ar_dispatcher':
ar.c:(.text+0x2053): undefined reference to `__dn_skipname'
ar.c:(.text+0x207a): undefined reference to `__dn_skipname'
ar.c:(.text+0x20d3): undefined reference to `__dn_expand'
collect2: ld returned 1 exit status
make[1]: *** [sid-filter] Error 1
make[1]: Leaving directory `/root/sid-milter-1.0.0/obj.Linux.2.6.18-164.11.1.el5.x86_64/sid-filter'
make: *** [all] Error 2

Discussion

  • Leonardo
    Leonardo
    2010-02-27

    • priority: 5 --> 9
     
  • Leonardo
    Leonardo
    2010-02-27

    • assigned_to: nobody --> sm-msk
     
    • assigned_to: sm-msk --> nobody