Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#26 build fails smp 64 ndefined reference to `__res_query'

closed
5
2006-12-06
2006-12-04
robowarp
No

Hi I cant compile dkim milter on suse 10.1 ( opensuse )
kernel is suse 2.6.16-21 smp 64

everything works fine with default suse i586 Kernel

cc -O2 -I. -I../../include -I../libdkim/ -D_REENTRANT -DXP_MT -c -o config.o config.c
config.c: In function âconfig_loadâ:
config.c:200: warning: cast to pointer from integer of different size
cc -O2 -I. -I../../include -I../libdkim/ -D_REENTRANT -DXP_MT -c -o dkim-filter.o dkim-filter.c
dkim-filter.c: In function âmainâ:
dkim-filter.c:4162: warning: comparison is always true due to limited range of data type
dkim-filter.c:4162: warning: comparison is always true due to limited range of data type
cc -O2 -I. -I../../include -I../libdkim/ -D_REENTRANT -DXP_MT -c -o util.o util.c
cc -o dkim-filter -lpthread config.o dkim-filter.o util.o -lmilter /home/nci/dkim/dkim-milter-0.5.2/dkim-milter-0.5.2/obj.Linux.2.6.16.21-0.25-smp.x86_64/libsm/libsm.a /home/nci/dkim/dkim-milter-0.5.2/dkim-milter-0.5.2/obj.Linux.2.6.16.21-0.25-smp.x86_64/libdkim/libdkim.a -ldl -lssl -lcrypto
/home/nci/dkim/dkim-milter-0.5.2/dkim-milter-0.5.2/obj.Linux.2.6.16.21-0.25-smp.x86_64/libdkim/libdkim.a(dkim.o): In function `dkim_eom':
dkim.c:(.text+0x30d9): undefined reference to `__res_query'
dkim.c:(.text+0x3184): undefined reference to `__dn_expand'
dkim.c:(.text+0x3191): undefined reference to `__dn_skipname'
dkim.c:(.text+0x32f5): undefined reference to `__dn_expand'
/home/nci/dkim/dkim-milter-0.5.2/dkim-milter-0.5.2/obj.Linux.2.6.16.21-0.25-smp.x86_64/libdkim/libdkim.a(dkim-keys.o): In function `dkim_get_key_dns':
dkim-keys.c:(.text+0xa4): undefined reference to `__res_query'
dkim-keys.c:(.text+0x18f): undefined reference to `__dn_expand'
dkim-keys.c:(.text+0x19a): undefined reference to `__dn_skipname'
dkim-keys.c:(.text+0x201): undefined reference to `__dn_expand'
collect2: ld returned 1 exit status
make[1]: *** [dkim-filter] Error 1
make[1]: Leaving directory `/home/nci/dkim/dkim-milter-0.5.2/dkim-milter-0.5.2/obj.Linux.2.6.16.21-0.25-smp.x86_64/dkim-filter'
make: *** [all] Error 2

Discussion

  • robowarp
    robowarp
    2006-12-04

    • assigned_to: nobody --> sm-msk
     
  • robowarp
    robowarp
    2006-12-06

    • status: open --> closed
     
  • robowarp
    robowarp
    2006-12-06

    Logged In: YES
    user_id=1660844
    Originator: YES

    fixed by install glibc devel