Re: Problem Compiling with Ming on Windows

Steve Dekorte <[email protected]> Thu, 19 Jan 2012 18:33:58 -0800
Newsgroups gmane.comp.lang.io
Message-ID <[email protected]>
Hi Dean,

Sorry - a bad commit on my part. I've pushed a fix.

Steve

On 2012-01-18 Wed, at 10:14 PM, [email protected] wrote:

> Trying to build on Windows with libevent 1.4.12 to see if I can get Sockets to work. Cmake finds the correct directories for libevent, yajl, and readline. When I try to compile I get this error:
> 
> -------------------------
> Linking C shared library _build\dll\libIoRandom.dll
> Creating library file: _build\dll\libIoRandom.dll.a
> CMakeFiles\IoRandom.dir/objects.a(IoRandom.c.obj): In function `IoRandom_proto':
> 
> C:/src/io/addons/Random/source/IoRandom.c:76: undefined reference to `IoState_registerProtoWithFunc_'
> collect2: ld returned 1 exit status
> mingw32-make[2]: *** [addons/Random/_build/dll/libIoRandom.dll] Error 1
> mingw32-make[1]: *** [addons/Random/CMakeFiles/IoRandom.dir/all] Error 2
> mingw32-make: *** [all] Error 2
> --------------------------
> 
> Any pointers?
> 
> Thanks,
> Dean Bisogno
> 
> 
> 
> ------------------------------------
> 
> Yahoo! Groups Links
> 
> 
>