Boost logo

Boost Users :

Subject: Re: [Boost-users] [coroutine] errors compiling with clang 3.2
From: Marco Craveiro (marco.craveiro_at_[hidden])
Date: 2012-11-13 17:19:36


<compilation error with MinGW/GCC 4.7>
>> CMakeFiles/daemon.dir/objects.a(main.cpp.obj):main.cpp:(.text+0x6da):
>> undefined reference to `_make_fcontext'
>> CMakeFiles/daemon.dir/objects.a(main.cpp.obj):main.cpp:(.text+0x7d0):
>> undefined reference to `_jump_fcontext'
>> ...
>>
> win64? on win7 32bit all unit-tests are OK.

It is XP 32-bit actually. I'm linking against context
(libboost_context-mgw47-mt-1_52.dll to be precise). What could cause
these undefined references do you think? I must be missing something
at the linker level, perhaps a windows library?

Cheers

Marco

-- 
So young, and already so unknown -- Pauli
blog: http://mcraveiro.blogspot.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net