[flext] Problems compiling flext on Windows

Daniel Santos danimagrin at gmail.com
Fri Oct 29 05:35:09 CEST 2010


Hi all!

I'm experiencing some problems when trying to compile flext on Windows with
the command "build pd mingw".
The command works well until this error appears:

g++ -shared -mno-cygwin -Wl,-S -L"%ProgramFiles%\pd"\bin
-L"%ProgramFiles%\pd"/
bin -o pd-mingw\release-shared\libflext-pd.dll
pd-mingw\release-shared\flbase.
opp pd-mingw\release-shared\flext.opp pd-mingw\release-shared\flbuf.opp
pd-mingw
\release-shared\fldsp.opp pd-mingw\release-shared\fllib.opp
pd-mingw\release-sha
red\flxlet.opp pd-mingw\release-shared\flattr.opp
pd-mingw\release-shared\flattr
_ed.opp pd-mingw\release-shared\flsupport.opp
pd-mingw\release-shared\flutil.opp
pd-mingw\release-shared\flatom.opp pd-mingw\release-shared\flatom_pr.opp
pd-min
gw\release-shared\flthr.opp pd-mingw\release-shared\fltimer.opp
pd-mingw\release
-shared\flsimd.opp pd-mingw\release-shared\flout.opp
pd-mingw\release-shared\fla
tom_part.opp pd-mingw\release-shared\flitem.opp
pd-mingw\release-shared\flmeth.o
pp pd-mingw\release-shared\flmsg.opp pd-mingw\release-shared\flproxy.opp
pd-ming
w\release-shared\flqueue.opp pd-mingw\release-shared\flbind.opp
pd-mingw\release
-shared\flmap.opp -lpd
Info: resolving vtable for __cxxabiv1::__si_class_type_info by linking to
__imp_
__ZTVN10__cxxabiv120__si_class_type_infoE (auto-import)
Info: resolving vtable for __cxxabiv1::__class_type_info by linking to
__imp___Z
TVN10__cxxabiv117__class_type_infoE (auto-import)
Info: resolving vtable for __cxxabiv1::__vmi_class_type_info by linking to
__imp
___ZTVN10__cxxabiv121__vmi_class_type_infoE (auto-import)
Info: resolving typeinfo for char* by linking to __imp___ZTIPc (auto-import)
Info: resolving typeinfo for char const* by linking to __imp___ZTIPKc
(auto-impo
rt)
c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe:
warning: a
uto-importing has been activated without --enable-auto-import specified on
the c
ommand line.
This should work unless it involves constant data structures referencing
symbols
from auto-imported DLLs.
pd-mingw\release-shared\flsupport.opp:flsupport.cpp:(.text+0xc2): undefined
refe
rence to `_imp__pthread_self'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x79e): undefined
reference t
o `_imp__pthread_self'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x7a4): undefined
reference t
o `_imp__pthread_mutex_lock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x7d7): undefined
reference t
o `_imp__pthread_mutex_unlock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x931): undefined
reference t
o `_imp__pthread_self'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x947): undefined
reference t
o `_imp__pthread_attr_init'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x958): undefined
reference t
o `_imp__pthread_attr_setdetachstate'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x985): undefined
reference t
o `_imp__pthread_getschedparam'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x99f): undefined
reference t
o `_imp__sched_get_priority_min'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x9b5): undefined
reference t
o `_imp__sched_get_priority_max'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x9e7): undefined
reference t
o `_imp__pthread_setschedparam'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0xa06): undefined
reference t
o `_imp__pthread_mutex_init'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0xa1a): undefined
reference t
o `_imp__pthread_cond_init'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0xa3b): undefined
reference t
o `_imp__pthread_mutex_lock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0xa4b): undefined
reference t
o `_imp__pthread_cond_wait'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0xa54): undefined
reference t
o `_imp__pthread_mutex_unlock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0xab5): undefined
reference t
o `_imp__pthread_create'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0xc0a): undefined
reference t
o `_imp__pthread_mutex_init'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0xc1c): undefined
reference t
o `_imp__pthread_attr_init'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0xc2d): undefined
reference t
o `_imp__pthread_attr_setdetachstate'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0xc4d): undefined
reference t
o `_imp__pthread_create'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0xc82): undefined
reference t
o `_imp__pthread_attr_destroy'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0xd07): undefined
reference t
o `_imp__pthread_self'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0xd8c): undefined
reference t
o `_imp__pthread_cond_signal'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1191): undefined
reference
to `_imp__pthread_cond_signal'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x120d): undefined
reference
to `_imp__pthread_cond_signal'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x12ce): undefined
reference
to `_imp__pthread_self'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1342): undefined
reference
to `_imp__pthread_equal'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x14ce): undefined
reference
to `_imp__pthread_self'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x14f8): undefined
reference
to `_imp__pthread_getschedparam'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1505): undefined
reference
to `_imp__sched_get_priority_min'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1524): undefined
reference
to `_imp__sched_get_priority_max'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1552): undefined
reference
to `_imp__pthread_setschedparam'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1566): undefined
reference
to `_imp__pthread_mutex_lock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1582): undefined
reference
to `_imp__pthread_mutex_unlock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x15be): undefined
reference
to `_imp__pthread_self'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x15d2): undefined
reference
to `_imp__pthread_mutex_lock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1638): undefined
reference
to `_imp__pthread_mutex_unlock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x16b0): undefined
reference
to `_imp__pthread_equal'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x191e): undefined
reference
to `_imp__pthread_equal'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1ab0): undefined
reference
to `_imp__pthread_mutex_lock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1ad2): undefined
reference
to `_imp__pthread_mutex_unlock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1af3): undefined
reference
to `_imp__pthread_mutex_lock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1b58): undefined
reference
to `_imp__pthread_mutex_unlock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1bd3): undefined
reference
to `_imp__pthread_mutex_lock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1bd9): undefined
reference
to `_imp__pthread_self'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x1c61): undefined
reference
to `_imp__pthread_mutex_unlock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x2009): undefined
reference
to `_imp__pthread_cond_signal'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x207f): undefined
reference
to `_imp__pthread_cond_signal'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x2120): undefined
reference
to `_imp__pthread_cancel'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x225c): undefined
reference
to `_imp__pthread_getschedparam'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x2279): undefined
reference
to `_imp__sched_get_priority_min'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x228b): undefined
reference
to `_imp__sched_get_priority_max'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x22b2): undefined
reference
to `_imp__pthread_setschedparam'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x2313): undefined
reference
to `_imp__pthread_getschedparam'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x235c): undefined
reference
to `_imp__pthread_getschedparam'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x2382): undefined
reference
to `_imp__pthread_setschedparam'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x2534): undefined
reference
to `_imp__pthread_mutex_lock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x2544): undefined
reference
to `_imp__pthread_cond_wait'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x254f): undefined
reference
to `_imp__pthread_mutex_unlock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x25eb): undefined
reference
to `_imp__pthread_mutex_lock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x2602): undefined
reference
to `_imp__pthread_cond_timedwait'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text+0x260d): undefined
reference
to `_imp__pthread_mutex_unlock'
pd-mingw\release-shared\flthr.opp:flthr.cpp:(.text$_ZN12flext_shared8ThrMutexD2E
v[flext_shared::ThrMutex::~ThrMutex()]+0x7): undefined reference to
`_imp__pthre
ad_mutex_destroy'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0xc7): undefined
reference to
`_imp__pthread_self'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0xea): undefined
reference to
`_imp__pthread_equal'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x172): undefined
reference t
o `_imp__pthread_self'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x193): undefined
reference t
o `_imp__pthread_equal'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x213): undefined
reference t
o `_imp__pthread_self'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x234): undefined
reference t
o `_imp__pthread_equal'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x2b2): undefined
reference t
o `_imp__pthread_self'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x2d3): undefined
reference t
o `_imp__pthread_equal'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x372): undefined
reference t
o `_imp__pthread_self'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x393): undefined
reference t
o `_imp__pthread_equal'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x462): undefined
reference t
o `_imp__pthread_self'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x483): undefined
reference t
o `_imp__pthread_equal'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x525): undefined
reference t
o `_imp__pthread_self'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x546): undefined
reference t
o `_imp__pthread_equal'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x5c2): undefined
reference t
o `_imp__pthread_self'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x5e3): undefined
reference t
o `_imp__pthread_equal'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x652): undefined
reference t
o `_imp__pthread_self'
pd-mingw\release-shared\flout.opp:flout.cpp:(.text+0x673): undefined
reference t
o `_imp__pthread_equal'
pd-mingw\release-shared\flqueue.opp:flqueue.cpp:(.text+0xf): undefined
reference
to `_imp__pthread_cond_destroy'
pd-mingw\release-shared\flqueue.opp:flqueue.cpp:(.text+0x1c): undefined
referenc
e to `_imp__pthread_mutex_destroy'
pd-mingw\release-shared\flqueue.opp:flqueue.cpp:(.text+0x613): undefined
referen
ce to `_imp__pthread_cond_signal'
pd-mingw\release-shared\flqueue.opp:flqueue.cpp:(.text+0x7a3): undefined
referen
ce to `_imp__pthread_cond_signal'
pd-mingw\release-shared\flqueue.opp:flqueue.cpp:(.text+0x9cb): undefined
referen
ce to `_imp__pthread_cond_signal'
pd-mingw\release-shared\flqueue.opp:flqueue.cpp:(.text+0xbf6): undefined
referen
ce to `_imp__pthread_cond_signal'
pd-mingw\release-shared\flqueue.opp:flqueue.cpp:(.text+0xe0b): undefined
referen
ce to `_imp__pthread_cond_signal'
pd-mingw\release-shared\flqueue.opp:flqueue.cpp:(.text+0x108f): more
undefined r
eferences to `_imp__pthread_cond_signal' follow
pd-mingw\release-shared\flqueue.opp:flqueue.cpp:(.text+0x31a8): undefined
refere
nce to `_imp__pthread_self'
pd-mingw\release-shared\flqueue.opp:flqueue.cpp:(.text+0x344a): undefined
refere
nce to `_imp__pthread_mutex_init'
pd-mingw\release-shared\flqueue.opp:flqueue.cpp:(.text+0x345f): undefined
refere
nce to `_imp__pthread_cond_init'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [pd-mingw\release-shared\libflext-pd.dll] Error 1
mingw32-make[1]: Leaving directory `C:/flext'
mingw32-make: *** [build-release-shared] Error 2

But I have no idea what the problem can be! Any help would be really
appreciated...

Thanks for the attention!
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grrrr.org/pipermail/flext/attachments/20101029/234454c6/attachment-0001.htm>


More information about the flext mailing list