mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mingw-cross-env-list] Someone experienced with ldns?


From: dE
Subject: [Mingw-cross-env-list] Someone experienced with ldns?
Date: Tue, 17 Feb 2015 22:15:51 +0530
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

Hi!

I was trying to build programs which need ldns library on mingw (cross
compiling).

The library itself does compile, however when linking --

/tmp/cci2q85W.o:ldns_resolv.c:(.text+0x55): undefined reference to
`ldns_dname_new_frm_str'
/tmp/cci2q85W.o:ldns_resolv.c:(.text+0x7e): undefined reference to
`ldns_resolver_new_frm_file'
/tmp/cci2q85W.o:ldns_resolv.c:(.text+0xaa): undefined reference to
`ldns_resolver_query'
/tmp/cci2q85W.o:ldns_resolv.c:(.text+0xba): undefined reference to
`ldns_rdf_deep_free'
/tmp/cci2q85W.o:ldns_resolv.c:(.text+0xe7): undefined reference to
`ldns_pkt_rr_list_by_type'
/tmp/cci2q85W.o:ldns_resolv.c:(.text+0xf7): undefined reference to
`ldns_rr_list2str'
/tmp/cci2q85W.o:ldns_resolv.c:(.text+0x107): undefined reference to
`ldns_rr_list_deep_free'
/tmp/cci2q85W.o:ldns_resolv.c:(.text+0x113): undefined reference to
`ldns_pkt_free'
/tmp/cci2q85W.o:ldns_resolv.c:(.text+0x11f): undefined reference to
`ldns_resolver_deep_free'
/home/de/mxe/usr/lib/gcc/i686-pc-mingw32/4.8.1/../../../../i686-pc-mingw32/bin/ld:
/tmp/cci2q85W.o: bad reloc address 0x20 in section `.eh_frame'
/home/de/mxe/usr/lib/gcc/i686-pc-mingw32/4.8.1/../../../../i686-pc-mingw32/bin/ld:
final link failed: Invalid operation
collect2: error: ld returned 1 exit status

Compiling with -lldns



reply via email to

[Prev in Thread] Current Thread [Next in Thread]