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

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

Re: [Mingw-cross-env-list] libarchive


From: Natalie Tasman
Subject: Re: [Mingw-cross-env-list] libarchive
Date: Mon, 7 Jun 2010 16:27:32 -0700

Thanks again, Volker.  The problem that I'm having is that after those warnings, I'm getting a lot of linker errors down the line, such as

"libtool: link: i686-pc-mingw32-g++ -g -O2 -o .libs/<exec.exe> [...] -L/Users/natalie/mingw-cross-env/usr/i686-pc-mingw32/lib  /Users/natalie/mingw-cross-env/usr/i686-pc-mingw32/lib/libarchive.a -lcrypto /Users/natalie/mingw-cross-env/usr/i686-pc-mingw32/lib/liblzma.a -lbz2 /Users/natalie/mingw-cross-env/usr/i686-pc-mingw32/lib/libxml2.a -lz -lws2_32 [...]

./.libs/libtpp_common.a(tpp_tarball.o):/Users/natalie/src/tpp/autotools/trans_proteomic_pipeline/src/common/tpp_tarball.cpp:62: undefined reference to `__imp__archive_entry_new'"

I will try to come up with a small test program.  Do you want a single C file, or a small autotooled project?

-Natalie




On Fri, Jun 4, 2010 at 4:25 PM, Volker Grabsch <address@hidden> wrote:
Natalie Tasman <address@hidden> schrieb:
> Apologies for the delay in following up; I've been out of the office since
> last week.
>
> Testing a cleanly-build mingw-cross-env dev system from today, and using the
> mingw-cross-env libarchive, I'm still getting similar errors around archive,
> xml2, and lzma .  Perhaps the --disable-shared flag didn't make it in to one
> of those libraries' ./configures?

Would you mind contributing a minimal "hello world" application that
uses libarchive and triggers the problem?

That way, it is possible for us to reproduce the issue more easily.
Also, by being added to Mingw-cross-env, the test program would ensure
that libarchive will remain working.

> When creating a library "libtpp_common.la" in my project, I'm getting the
> following errors when trying to create a static library.  Please let me know
> if my link line (generated through autotools) looks wrong in any way.

I can't see any problem. In particular, I can't see any error messages.
Those are just warning, and I think those are okay. Libtool is pushed
here to its limits, but still seems to do the right thing. What exactly
is the problem?


Greets,
Volker

--
Volker Grabsch
---<<(())>>---
Administrator
NotJustHosting GbR



reply via email to

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