Re: Problem Compiling with Ming on Windows

"[email protected]" <[email protected]> Fri, 20 Jan 2012 11:45:48 -0000
Newsgroups gmane.comp.lang.io
Message-ID <[email protected]>


Hey Steve,

It's getting further, but still unable to resolve the new method.

------------------------------
[ 76%] Generating ../../../addons/Random/source/IoRandomInit.c
Scanning dependencies of target IoRandom
[ 76%] Building C object addons/Random/CMakeFiles/IoRandom.dir/source/IoRandom.c.obj
[ 77%] Building C object addons/Random/CMakeFiles/IoRandom.dir/source/IoRandomInit.c.obj
Linking C shared library _build\dll\libIoRandom.dll
Creating library file: _build\dll\libIoRandom.dll.a
CMakeFiles\IoRandom.dir/objects.a(IoRandom.c.obj):IoRandom.c:(.text+0x55e): undefined reference to `IoState_registerProtoWithName_'
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
------------------------------

-Dean

--- In [email protected], Steve Dekorte <steve@...> wrote:
>
> 
> Hi Dean,
> 
> Sorry - a bad commit on my part. I've pushed a fix.
> 
> Steve
> 
> On 2012-01-18 Wed, at 10:14 PM, deanbisogno@... 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
> > 
> > 
> >
>