The -no-defined change didn't seem to resolve it. I forget offhand what
caused my to add that back (I'm sure its something related to dlopen
behavior) but less important since it doesn't improve things.
The wsock patch does work... although when we submit this, I prefer if we
delete the duplicate ntohl, leave configure.ac alone, and uncomment the
TMP_FLAC_LIBS from mingwbuild again.
I guess I'll try to test the binary out a little bit more (I've only
verified FLAC support so far) and then release a sox-14.4.1a-win32 package.
Chris
On Sun, Feb 10, 2013 at 9:34 AM, Ulrich Klauer <ulr...@chirlu.de> wrote:
> Chris Bagwell <ch...@cnpbagwell.com>:
>
>
> flac-1.2.1/src/libFLAC/**bitwriter.c:286: undefined reference to
>> `_imp__ntohl@4'
>>
>
> I haven't found time to look into it yet but the reason I made that change
>> to mingwbuild is because of sox git commit
>> d0647a4f8650f92057274f2412bb8a**a79f71a242 . If I recall correctly, I
>> was
>> getting duplicate symbol failure.
>>
>> I obvious didn't realize I was totally disabling FLAC/libsndfile. I
>> thought
>> I was getting rid of duplicate symbol.
>>
>> So any fix is likely more than a compile change.
>>
>
> Ah, I see. I have a few ideas that I'd like to try out, unfortunately I
> can't get cross-compiling to work here (not enough motivation either, I
> guess). Here are two patches, but I can't say whether one of them really
> solves the problem:
> - One reverts the relevant part of commit d0647a4. It then should be
> possible again to link against wsock32.dll as done in previous releases.
> - The other one removes the -no-undefined flag (commit d0647a4 did this,
> too, but it has since found its way back) in the hope that this will allow
> the linker to match the ntohl() call from libflac and the definition from
> src/flac.c.
>
> Ulrich
>
>
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> _______________________________________________
> SoX-devel mailing list
> SoX-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sox-devel
>
>
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
SoX-devel mailing list
SoX-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-devel