compiling bonjour on mingw from 2.0.2 source tarball

David Byron dbyron at
Fri Jun 29 13:37:25 EDT 2007

On Thursday, June 28, 2007 @ 4:25p, I wrote:

> On Thursday, June 28, 2007 @ 2:17p, I wrote:
> I went to:
> and grabbed the Bonjour SDK, installed it, and got past
> the compiler error.  Unforunately now I'm running into a
> linker error that doesn't make sense

It makes sense now.  The dnssd.lib in the Bonjour SDK is a native MSVC
library.  I converted it following the instructions here:

and the reimp tool here:

reimp dnssd.lib

>From there, the bonjour protocol DLL links fine with mingw.

Hopefully this will help someone down the road.


More information about the Devel mailing list