fwd'd from flext list..

background: i've been working on a new autotools template for flext based libs and started testing on windows platform with cygwin + mingw, immediate issues with building flext lib itself.

have any pd-devs experienced this 'undefined reference' issue with the linker?

i'm testing against millers pd-0.43-0.msw.zip on win2k and winxp virtualbox images. build logs attached.

cheers,
dmotd

-------- Original Message --------
Subject: Re: [flext] autotools builders - flext and gnu/windows
Date: Mon, 4 Apr 2011 14:27:52 +0200
From: Thomas Grill <g...@grrrr.org>
To: dmotd <inaudi...@simplesuperlativ.es>
CC: fl...@grrrr.org

hi dmotd, many thanks for your efforts,

mingw (gcc 4.5.2):
with both your buildsys (cmd prompt) and autoconf (msys shell),
mingw will build all the static libs, but fails at the linker stage
when building the dynamic library, with a bunch of undefined
references (see attachment).

i have attempted to encourage the build further by passing linker
flags (-Wl,--as-needed and -Wl,--no-undefined *plus numerous others/
combinations*) but nothing seems to make it budge. i'm not sure if
the compiler is being pedantic or i'm just not understanding
something.


I can remember that problem - it is connected to the way how global
variables (like garray_class, s_float etc.) in Pd are defined for the
linker.
I must have found a solution once....

cygwin (gcc 3.4.4)
cygwin breaks with your buildsys due to what appears to be an issue
with the environment (see attachment). with autoconf it acts much
like mingw - it can successfully build static libs but fails to make
the shared dll, a few more undefined references than with mingw (see
attachment).


The flext-build output seems to indicate a c++ namespace problem which
should not be too hard to fix.
The autoconf output seems different, probably a mixture of problems.

i'm not sure if i can spare any time for that soon but it's good to
know the weak spots.

all the best,
Thomas
D -MT libflext_pd_la-flitem.lo -MD -MP -MF .deps/libflext_pd_la-flitem.Tpo -c fl
item.cpp  -DDLL_EXPORT -DPIC -o .libs/libflext_pd_la-flitem.o
libtool: compile:  g++ -DPACKAGE_NAME=\"flext\" -DPACKAGE_TARNAME=\"flext\" -DPA
CKAGE_VERSION=\"0.5.1\" "-DPACKAGE_STRING=\"flext 0.5.1\"" -DPACKAGE_BUGREPORT=\
"g...@grrrr.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flext\" -DVERSION=\"0.5.1\" 
-DFLE
XT_SYS=2 -DNT=1 -DWIN32=1 -D_WINDOWS=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DH
AVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_ST
RINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H
=1 -DLT_OBJDIR=\".libs/\" -I. -mno-cygwin -O2 -I/cygdrive/c/pd/src -DFLEXT_SHARE
D -MT libflext_pd_la-flitem.lo -MD -MP -MF .deps/libflext_pd_la-flitem.Tpo -c fl
item.cpp -o libflext_pd_la-flitem.o >/dev/null 2>&1
mv -f .deps/libflext_pd_la-flitem.Tpo .deps/libflext_pd_la-flitem.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"flext\" -DPA
CKAGE_TARNAME=\"flext\" -DPACKAGE_VERSION=\"0.5.1\" -DPACKAGE_STRING=\"flext\ 0.
5.1\" -DPACKAGE_BUGREPORT=\"g...@grrrr.org\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"flext\
" -DVERSION=\"0.5.1\" -DFLEXT_SYS=2 -DNT=1 -DWIN32=1 -D_WINDOWS=1 -DSTDC_HEADERS
=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAV
E_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.    -mno-cygwin  -O2 -I/
cygdrive/c/pd/src -DFLEXT_SHARED  -MT libflext_pd_la-flmeth.lo -MD -MP -MF .deps
/libflext_pd_la-flmeth.Tpo -c -o libflext_pd_la-flmeth.lo `test -f 'flmeth.cpp'
|| echo './'`flmeth.cpp
libtool: compile:  g++ -DPACKAGE_NAME=\"flext\" -DPACKAGE_TARNAME=\"flext\" -DPA
CKAGE_VERSION=\"0.5.1\" "-DPACKAGE_STRING=\"flext 0.5.1\"" -DPACKAGE_BUGREPORT=\
"g...@grrrr.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flext\" -DVERSION=\"0.5.1\" 
-DFLE
XT_SYS=2 -DNT=1 -DWIN32=1 -D_WINDOWS=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DH
AVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_ST
RINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H
=1 -DLT_OBJDIR=\".libs/\" -I. -mno-cygwin -O2 -I/cygdrive/c/pd/src -DFLEXT_SHARE
D -MT libflext_pd_la-flmeth.lo -MD -MP -MF .deps/libflext_pd_la-flmeth.Tpo -c fl
meth.cpp  -DDLL_EXPORT -DPIC -o .libs/libflext_pd_la-flmeth.o
libtool: compile:  g++ -DPACKAGE_NAME=\"flext\" -DPACKAGE_TARNAME=\"flext\" -DPA
CKAGE_VERSION=\"0.5.1\" "-DPACKAGE_STRING=\"flext 0.5.1\"" -DPACKAGE_BUGREPORT=\
"g...@grrrr.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flext\" -DVERSION=\"0.5.1\" 
-DFLE
XT_SYS=2 -DNT=1 -DWIN32=1 -D_WINDOWS=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DH
AVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_ST
RINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H
=1 -DLT_OBJDIR=\".libs/\" -I. -mno-cygwin -O2 -I/cygdrive/c/pd/src -DFLEXT_SHARE
D -MT libflext_pd_la-flmeth.lo -MD -MP -MF .deps/libflext_pd_la-flmeth.Tpo -c fl
meth.cpp -o libflext_pd_la-flmeth.o >/dev/null 2>&1
mv -f .deps/libflext_pd_la-flmeth.Tpo .deps/libflext_pd_la-flmeth.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"flext\" -DPA
CKAGE_TARNAME=\"flext\" -DPACKAGE_VERSION=\"0.5.1\" -DPACKAGE_STRING=\"flext\ 0.
5.1\" -DPACKAGE_BUGREPORT=\"g...@grrrr.org\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"flext\
" -DVERSION=\"0.5.1\" -DFLEXT_SYS=2 -DNT=1 -DWIN32=1 -D_WINDOWS=1 -DSTDC_HEADERS
=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAV
E_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.    -mno-cygwin  -O2 -I/
cygdrive/c/pd/src -DFLEXT_SHARED  -MT libflext_pd_la-flmsg.lo -MD -MP -MF .deps/
libflext_pd_la-flmsg.Tpo -c -o libflext_pd_la-flmsg.lo `test -f 'flmsg.cpp' || e
cho './'`flmsg.cpp
libtool: compile:  g++ -DPACKAGE_NAME=\"flext\" -DPACKAGE_TARNAME=\"flext\" -DPA
CKAGE_VERSION=\"0.5.1\" "-DPACKAGE_STRING=\"flext 0.5.1\"" -DPACKAGE_BUGREPORT=\
"g...@grrrr.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flext\" -DVERSION=\"0.5.1\" 
-DFLE
XT_SYS=2 -DNT=1 -DWIN32=1 -D_WINDOWS=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DH
AVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_ST
RINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H
=1 -DLT_OBJDIR=\".libs/\" -I. -mno-cygwin -O2 -I/cygdrive/c/pd/src -DFLEXT_SHARE
D -MT libflext_pd_la-flmsg.lo -MD -MP -MF .deps/libflext_pd_la-flmsg.Tpo -c flms
g.cpp  -DDLL_EXPORT -DPIC -o .libs/libflext_pd_la-flmsg.o
libtool: compile:  g++ -DPACKAGE_NAME=\"flext\" -DPACKAGE_TARNAME=\"flext\" -DPA
CKAGE_VERSION=\"0.5.1\" "-DPACKAGE_STRING=\"flext 0.5.1\"" -DPACKAGE_BUGREPORT=\
"g...@grrrr.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flext\" -DVERSION=\"0.5.1\" 
-DFLE
XT_SYS=2 -DNT=1 -DWIN32=1 -D_WINDOWS=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DH
AVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_ST
RINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H
=1 -DLT_OBJDIR=\".libs/\" -I. -mno-cygwin -O2 -I/cygdrive/c/pd/src -DFLEXT_SHARE
D -MT libflext_pd_la-flmsg.lo -MD -MP -MF .deps/libflext_pd_la-flmsg.Tpo -c flms
g.cpp -o libflext_pd_la-flmsg.o >/dev/null 2>&1
mv -f .deps/libflext_pd_la-flmsg.Tpo .deps/libflext_pd_la-flmsg.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"flext\" -DPA
CKAGE_TARNAME=\"flext\" -DPACKAGE_VERSION=\"0.5.1\" -DPACKAGE_STRING=\"flext\ 0.
5.1\" -DPACKAGE_BUGREPORT=\"g...@grrrr.org\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"flext\
" -DVERSION=\"0.5.1\" -DFLEXT_SYS=2 -DNT=1 -DWIN32=1 -D_WINDOWS=1 -DSTDC_HEADERS
=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAV
E_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.    -mno-cygwin  -O2 -I/
cygdrive/c/pd/src -DFLEXT_SHARED  -MT libflext_pd_la-flproxy.lo -MD -MP -MF .dep
s/libflext_pd_la-flproxy.Tpo -c -o libflext_pd_la-flproxy.lo `test -f 'flproxy.c
pp' || echo './'`flproxy.cpp
libtool: compile:  g++ -DPACKAGE_NAME=\"flext\" -DPACKAGE_TARNAME=\"flext\" -DPA
CKAGE_VERSION=\"0.5.1\" "-DPACKAGE_STRING=\"flext 0.5.1\"" -DPACKAGE_BUGREPORT=\
"g...@grrrr.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flext\" -DVERSION=\"0.5.1\" 
-DFLE
XT_SYS=2 -DNT=1 -DWIN32=1 -D_WINDOWS=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DH
AVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_ST
RINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H
=1 -DLT_OBJDIR=\".libs/\" -I. -mno-cygwin -O2 -I/cygdrive/c/pd/src -DFLEXT_SHARE
D -MT libflext_pd_la-flproxy.lo -MD -MP -MF .deps/libflext_pd_la-flproxy.Tpo -c
flproxy.cpp  -DDLL_EXPORT -DPIC -o .libs/libflext_pd_la-flproxy.o
libtool: compile:  g++ -DPACKAGE_NAME=\"flext\" -DPACKAGE_TARNAME=\"flext\" -DPA
CKAGE_VERSION=\"0.5.1\" "-DPACKAGE_STRING=\"flext 0.5.1\"" -DPACKAGE_BUGREPORT=\
"g...@grrrr.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flext\" -DVERSION=\"0.5.1\" 
-DFLE
XT_SYS=2 -DNT=1 -DWIN32=1 -D_WINDOWS=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DH
AVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_ST
RINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H
=1 -DLT_OBJDIR=\".libs/\" -I. -mno-cygwin -O2 -I/cygdrive/c/pd/src -DFLEXT_SHARE
D -MT libflext_pd_la-flproxy.lo -MD -MP -MF .deps/libflext_pd_la-flproxy.Tpo -c
flproxy.cpp -o libflext_pd_la-flproxy.o >/dev/null 2>&1
mv -f .deps/libflext_pd_la-flproxy.Tpo .deps/libflext_pd_la-flproxy.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"flext\" -DPA
CKAGE_TARNAME=\"flext\" -DPACKAGE_VERSION=\"0.5.1\" -DPACKAGE_STRING=\"flext\ 0.
5.1\" -DPACKAGE_BUGREPORT=\"g...@grrrr.org\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"flext\
" -DVERSION=\"0.5.1\" -DFLEXT_SYS=2 -DNT=1 -DWIN32=1 -D_WINDOWS=1 -DSTDC_HEADERS
=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAV
E_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.    -mno-cygwin  -O2 -I/
cygdrive/c/pd/src -DFLEXT_SHARED  -MT libflext_pd_la-flqueue.lo -MD -MP -MF .dep
s/libflext_pd_la-flqueue.Tpo -c -o libflext_pd_la-flqueue.lo `test -f 'flqueue.c
pp' || echo './'`flqueue.cpp
libtool: compile:  g++ -DPACKAGE_NAME=\"flext\" -DPACKAGE_TARNAME=\"flext\" -DPA
CKAGE_VERSION=\"0.5.1\" "-DPACKAGE_STRING=\"flext 0.5.1\"" -DPACKAGE_BUGREPORT=\
"g...@grrrr.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flext\" -DVERSION=\"0.5.1\" 
-DFLE
XT_SYS=2 -DNT=1 -DWIN32=1 -D_WINDOWS=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DH
AVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_ST
RINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H
=1 -DLT_OBJDIR=\".libs/\" -I. -mno-cygwin -O2 -I/cygdrive/c/pd/src -DFLEXT_SHARE
D -MT libflext_pd_la-flqueue.lo -MD -MP -MF .deps/libflext_pd_la-flqueue.Tpo -c
flqueue.cpp  -DDLL_EXPORT -DPIC -o .libs/libflext_pd_la-flqueue.o
libtool: compile:  g++ -DPACKAGE_NAME=\"flext\" -DPACKAGE_TARNAME=\"flext\" -DPA
CKAGE_VERSION=\"0.5.1\" "-DPACKAGE_STRING=\"flext 0.5.1\"" -DPACKAGE_BUGREPORT=\
"g...@grrrr.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flext\" -DVERSION=\"0.5.1\" 
-DFLE
XT_SYS=2 -DNT=1 -DWIN32=1 -D_WINDOWS=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DH
AVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_ST
RINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H
=1 -DLT_OBJDIR=\".libs/\" -I. -mno-cygwin -O2 -I/cygdrive/c/pd/src -DFLEXT_SHARE
D -MT libflext_pd_la-flqueue.lo -MD -MP -MF .deps/libflext_pd_la-flqueue.Tpo -c
flqueue.cpp -o libflext_pd_la-flqueue.o >/dev/null 2>&1
mv -f .deps/libflext_pd_la-flqueue.Tpo .deps/libflext_pd_la-flqueue.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"flext\" -DPA
CKAGE_TARNAME=\"flext\" -DPACKAGE_VERSION=\"0.5.1\" -DPACKAGE_STRING=\"flext\ 0.
5.1\" -DPACKAGE_BUGREPORT=\"g...@grrrr.org\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"flext\
" -DVERSION=\"0.5.1\" -DFLEXT_SYS=2 -DNT=1 -DWIN32=1 -D_WINDOWS=1 -DSTDC_HEADERS
=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAV
E_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.    -mno-cygwin  -O2 -I/
cygdrive/c/pd/src -DFLEXT_SHARED  -MT libflext_pd_la-flbind.lo -MD -MP -MF .deps
/libflext_pd_la-flbind.Tpo -c -o libflext_pd_la-flbind.lo `test -f 'flbind.cpp'
|| echo './'`flbind.cpp
libtool: compile:  g++ -DPACKAGE_NAME=\"flext\" -DPACKAGE_TARNAME=\"flext\" -DPA
CKAGE_VERSION=\"0.5.1\" "-DPACKAGE_STRING=\"flext 0.5.1\"" -DPACKAGE_BUGREPORT=\
"g...@grrrr.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flext\" -DVERSION=\"0.5.1\" 
-DFLE
XT_SYS=2 -DNT=1 -DWIN32=1 -D_WINDOWS=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DH
AVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_ST
RINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H
=1 -DLT_OBJDIR=\".libs/\" -I. -mno-cygwin -O2 -I/cygdrive/c/pd/src -DFLEXT_SHARE
D -MT libflext_pd_la-flbind.lo -MD -MP -MF .deps/libflext_pd_la-flbind.Tpo -c fl
bind.cpp  -DDLL_EXPORT -DPIC -o .libs/libflext_pd_la-flbind.o
libtool: compile:  g++ -DPACKAGE_NAME=\"flext\" -DPACKAGE_TARNAME=\"flext\" -DPA
CKAGE_VERSION=\"0.5.1\" "-DPACKAGE_STRING=\"flext 0.5.1\"" -DPACKAGE_BUGREPORT=\
"g...@grrrr.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flext\" -DVERSION=\"0.5.1\" 
-DFLE
XT_SYS=2 -DNT=1 -DWIN32=1 -D_WINDOWS=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DH
AVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_ST
RINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H
=1 -DLT_OBJDIR=\".libs/\" -I. -mno-cygwin -O2 -I/cygdrive/c/pd/src -DFLEXT_SHARE
D -MT libflext_pd_la-flbind.lo -MD -MP -MF .deps/libflext_pd_la-flbind.Tpo -c fl
bind.cpp -o libflext_pd_la-flbind.o >/dev/null 2>&1
mv -f .deps/libflext_pd_la-flbind.Tpo .deps/libflext_pd_la-flbind.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"flext\" -DPA
CKAGE_TARNAME=\"flext\" -DPACKAGE_VERSION=\"0.5.1\" -DPACKAGE_STRING=\"flext\ 0.
5.1\" -DPACKAGE_BUGREPORT=\"g...@grrrr.org\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"flext\
" -DVERSION=\"0.5.1\" -DFLEXT_SYS=2 -DNT=1 -DWIN32=1 -D_WINDOWS=1 -DSTDC_HEADERS
=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAV
E_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.    -mno-cygwin  -O2 -I/
cygdrive/c/pd/src -DFLEXT_SHARED  -MT libflext_pd_la-flmap.lo -MD -MP -MF .deps/
libflext_pd_la-flmap.Tpo -c -o libflext_pd_la-flmap.lo `test -f 'flmap.cpp' || e
cho './'`flmap.cpp
libtool: compile:  g++ -DPACKAGE_NAME=\"flext\" -DPACKAGE_TARNAME=\"flext\" -DPA
CKAGE_VERSION=\"0.5.1\" "-DPACKAGE_STRING=\"flext 0.5.1\"" -DPACKAGE_BUGREPORT=\
"g...@grrrr.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flext\" -DVERSION=\"0.5.1\" 
-DFLE
XT_SYS=2 -DNT=1 -DWIN32=1 -D_WINDOWS=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DH
AVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_ST
RINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H
=1 -DLT_OBJDIR=\".libs/\" -I. -mno-cygwin -O2 -I/cygdrive/c/pd/src -DFLEXT_SHARE
D -MT libflext_pd_la-flmap.lo -MD -MP -MF .deps/libflext_pd_la-flmap.Tpo -c flma
p.cpp  -DDLL_EXPORT -DPIC -o .libs/libflext_pd_la-flmap.o
libtool: compile:  g++ -DPACKAGE_NAME=\"flext\" -DPACKAGE_TARNAME=\"flext\" -DPA
CKAGE_VERSION=\"0.5.1\" "-DPACKAGE_STRING=\"flext 0.5.1\"" -DPACKAGE_BUGREPORT=\
"g...@grrrr.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flext\" -DVERSION=\"0.5.1\" 
-DFLE
XT_SYS=2 -DNT=1 -DWIN32=1 -D_WINDOWS=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DH
AVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_ST
RINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H
=1 -DLT_OBJDIR=\".libs/\" -I. -mno-cygwin -O2 -I/cygdrive/c/pd/src -DFLEXT_SHARE
D -MT libflext_pd_la-flmap.lo -MD -MP -MF .deps/libflext_pd_la-flmap.Tpo -c flma
p.cpp -o libflext_pd_la-flmap.o >/dev/null 2>&1
mv -f .deps/libflext_pd_la-flmap.Tpo .deps/libflext_pd_la-flmap.Plo
/bin/sh ../libtool --tag=CXX   --mode=link g++ -mno-cygwin  -O2 -I/cygdrive/c/pd
/src -DFLEXT_SHARED  -no-undefined -mno-cygwin -Wl,--export-dynamic -shared -L/c
ygdrive/c/pd/bin -L/cygdrive/c/pd/src -lpd -lc -lpthreadVC   -o libflext-pd.la -
rpath /usr/local/lib libflext_pd_la-flbase.lo libflext_pd_la-flext.lo libflext_p
d_la-flbuf.lo libflext_pd_la-fldsp.lo libflext_pd_la-fllib.lo libflext_pd_la-flx
let.lo libflext_pd_la-flattr.lo libflext_pd_la-flattr_ed.lo libflext_pd_la-flsup
port.lo libflext_pd_la-flutil.lo libflext_pd_la-flthr.lo libflext_pd_la-fltimer.
lo libflext_pd_la-flsimd.lo libflext_pd_la-flout.lo libflext_pd_la-flatom.lo lib
flext_pd_la-flatom_pr.lo libflext_pd_la-flatom_part.lo libflext_pd_la-flitem.lo
libflext_pd_la-flmeth.lo libflext_pd_la-flmsg.lo libflext_pd_la-flproxy.lo libfl
ext_pd_la-flqueue.lo libflext_pd_la-flbind.lo libflext_pd_la-flmap.lo
libtool: link: g++ -shared -nostdlib   .libs/libflext_pd_la-flbase.o .libs/libfl
ext_pd_la-flext.o .libs/libflext_pd_la-flbuf.o .libs/libflext_pd_la-fldsp.o .lib
s/libflext_pd_la-fllib.o .libs/libflext_pd_la-flxlet.o .libs/libflext_pd_la-flat
tr.o .libs/libflext_pd_la-flattr_ed.o .libs/libflext_pd_la-flsupport.o .libs/lib
flext_pd_la-flutil.o .libs/libflext_pd_la-flthr.o .libs/libflext_pd_la-fltimer.o
 .libs/libflext_pd_la-flsimd.o .libs/libflext_pd_la-flout.o .libs/libflext_pd_la
-flatom.o .libs/libflext_pd_la-flatom_pr.o .libs/libflext_pd_la-flatom_part.o .l
ibs/libflext_pd_la-flitem.o .libs/libflext_pd_la-flmeth.o .libs/libflext_pd_la-f
lmsg.o .libs/libflext_pd_la-flproxy.o .libs/libflext_pd_la-flqueue.o .libs/libfl
ext_pd_la-flbind.o .libs/libflext_pd_la-flmap.o   -L/cygdrive/c/pd/bin -L/cygdri
ve/c/pd/src -lpd -lpthreadVC -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -L/usr/lib/gcc/
i686-pc-cygwin/3.4.4/../../.. -lstdc++ -lgcc -lcygwin -luser32 -lkernel32 -ladva
pi32 -lshell32 -lgcc   -mno-cygwin -O2 -mno-cygwin -Wl,--export-dynamic   -o .li
bs/flext-pd-0.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .l
ibs/flext-pd.dll.a
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/bin/ld: warning:
--export-dynamic is not supported for PE targets, did you mean --export-all-symb
ols?
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/bin/ld: warning:
cannot find entry symbol _DllMainCRTStartup@12; defaulting to 68881000
.libs/libflext_pd_la-flbase.o:flbase.cpp:(.text+0x271): undefined reference to `
__isctype'
.libs/libflext_pd_la-flbase.o:flbase.cpp:(.text+0x2d9): undefined reference to `
__imp___pctype'
.libs/libflext_pd_la-flbase.o:flbase.cpp:(.text+0x314): undefined reference to `
__imp___pctype'
.libs/libflext_pd_la-flbase.o:flbase.cpp:(.text+0x33d): undefined reference to `
__isctype'
.libs/libflext_pd_la-flbuf.o:flbuf.cpp:(.text+0xa9): undefined reference to `__i
mp__garray_class'
.libs/libflext_pd_la-fllib.o:fllib.cpp:(.text+0x91): undefined reference to `__i
mp___pctype'
.libs/libflext_pd_la-fllib.o:fllib.cpp:(.text+0xc4): undefined reference to `__i
sctype'
.libs/libflext_pd_la-fllib.o:fllib.cpp:(.text+0xf2): undefined reference to `__i
mp___pctype'
.libs/libflext_pd_la-fllib.o:fllib.cpp:(.text+0x12d): undefined reference to `__
isctype'
.libs/libflext_pd_la-fllib.o:fllib.cpp:(.text+0x134): undefined reference to `__
imp___pctype'
.libs/libflext_pd_la-fllib.o:fllib.cpp:(.text+0x167): undefined reference to `__
isctype'
.libs/libflext_pd_la-fllib.o:fllib.cpp:(.text+0x1a1): undefined reference to `__
imp___pctype'
.libs/libflext_pd_la-fllib.o:fllib.cpp:(.text+0x1d4): undefined reference to `__
isctype'
.libs/libflext_pd_la-fllib.o:fllib.cpp:(.text+0x1fa): undefined reference to `__
imp___pctype'
.libs/libflext_pd_la-fllib.o:fllib.cpp:(.text+0x23b): undefined reference to `__
isctype'
.libs/libflext_pd_la-flsupport.o:flsupport.cpp:(.text+0x32): undefined reference
 to `__imp__s_'
.libs/libflext_pd_la-flsupport.o:flsupport.cpp:(.text+0x3c): undefined reference
 to `__imp__s_anything'
.libs/libflext_pd_la-flsupport.o:flsupport.cpp:(.text+0x46): undefined reference
 to `__imp__s_pointer'
.libs/libflext_pd_la-flsupport.o:flsupport.cpp:(.text+0x50): undefined reference
 to `__imp__s_float'
.libs/libflext_pd_la-flsupport.o:flsupport.cpp:(.text+0x5a): undefined reference
 to `__imp__s_symbol'
.libs/libflext_pd_la-flsupport.o:flsupport.cpp:(.text+0x64): undefined reference
 to `__imp__s_bang'
.libs/libflext_pd_la-flsupport.o:flsupport.cpp:(.text+0x6e): undefined reference
 to `__imp__s_list'
.libs/libflext_pd_la-flsupport.o:flsupport.cpp:(.text+0x78): undefined reference
 to `__imp__s_signal'
.libs/libflext_pd_la-flthr.o:flthr.cpp:(.text+0x998): undefined reference to `__
assert'
.libs/libflext_pd_la-flthr.o:flthr.cpp:(.text+0xbaa): undefined reference to `__
assert'
.libs/libflext_pd_la-flthr.o:flthr.cpp:(.text+0xc19): undefined reference to `__
assert'
.libs/libflext_pd_la-flthr.o:flthr.cpp:(.text+0xe7a): undefined reference to `__
assert'
.libs/libflext_pd_la-flthr.o:flthr.cpp:(.text+0x1223): undefined reference to `_
_assert'
.libs/libflext_pd_la-flthr.o:flthr.cpp:(.text+0x1544): more undefined references
 to `__assert' follow
.libs/libflext_pd_la-flatom_pr.o:flatom_pr.cpp:(.text+0x1fe): undefined referenc
e to `__isctype'
.libs/libflext_pd_la-flatom_pr.o:flatom_pr.cpp:(.text+0x220): undefined referenc
e to `__imp___pctype'
.libs/libflext_pd_la-flatom_pr.o:flatom_pr.cpp:(.text+0x24d): undefined referenc
e to `__isctype'
.libs/libflext_pd_la-flatom_pr.o:flatom_pr.cpp:(.text+0x26e): undefined referenc
e to `__imp___pctype'
.libs/libflext_pd_la-flatom_pr.o:flatom_pr.cpp:(.text+0x290): undefined referenc
e to `___strtod'
.libs/libflext_pd_la-flqueue.o:flqueue.cpp:(.text+0x26b5): undefined reference t
o `__assert'
.libs/libflext_pd_la-flqueue.o:flqueue.cpp:(.text+0x2c9a): undefined reference t
o `__assert'
.libs/libflext_pd_la-flqueue.o:flqueue.cpp:(.text$_ZN10PooledFifoIN12flext_share
d9MsgBundleELi2ELi1EED2Ev[PooledFifo<flext_shared::MsgBundle, 2, 1>::~PooledFifo
()]+0x305): undefined reference to `__assert'
Creating library file: .libs/flext-pd.dll.a
collect2: ld returned 1 exit status
make[1]: *** [libflext-pd.la] Error 1
make[1]: Leaving directory `/home/Administrator/flext-ac/source'
make: *** [all-recursive] Error 1
make -f ./buildsys/gnumake-sub.mak  PLATFORM=win RTSYS=pd COMPILER=cygwin BUILDP
ATH=./buildsys/ PKGINFO=package.txt BUILDCLASS=flext USRCONFIG=config.txt USRMAK
E=build/gnumake-win-cygwin.inc TARGETMODE=release TARGETTYPE=single _build_
make[1]: Entering directory `/home/Administrator/flext-new'
buildsys/win/gnumake-cygwin-flext.inc:48: warning: overriding commands for targe
t `/cygdrive/c/pd/flext'
buildsys/win/gnumake-cygwin-flext.inc:45: warning: ignoring old commands for tar
get `/cygdrive/c/pd/flext'
g++ -c -msse -mfpmath=sse -ffast-math -O3  -mno-cygwin -include /usr/include/std
lib.h -DWIN32 -D_WINDOWS -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_EXPORTS -DFLEXT_SYS=2
 -DPD -I/cygdrive/c/pd/src -I/usr/include source/flbase.cpp -o pd-cygwin/release
-single/flbase.opp
In file included from <command line>:15:
/usr/include/stdlib.h:110: warning: `__warning__' attribute directive ignored
/usr/include/stdlib.h:117: warning: `__warning__' attribute directive ignored
In file included from source/flbase.cpp:24:
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cstdlib:181: error: `::strtold' h
as not been declared
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cstdlib:200: error: `__gnu_cxx::s
trtold' has not been declared
make[1]: *** [pd-cygwin/release-single/flbase.opp] Error 1
make[1]: Leaving directory `/home/Administrator/flext-new'
make: *** [build-release-single] Error 2
C:\MinGW\msys\1.0\home\Administrator\flext-again>build pd mingw
------------------------------------------------
mingw32-make -f C:/MinGW/msys/1.0/home/Administrator/flext-again/buildsys/gnumak
e-sub.mak  PLATFORM=win RTSYS=pd COMPILER=mingw BUILDPATH=C:/MinGW/msys/1.0/home
/Administrator/flext-again/buildsys/ PKGINFO=package.txt BUILDCLASS=flext USRCON
FIG=config.txt USRMAKE=build/gnumake-win-mingw.inc TARGETMODE=release TARGETTYPE
=single _build_
mingw32-make[1]: Entering directory `C:/MinGW/msys/1.0/home/Administrator/flext-
again'
mkdir pd-mingw\release-single
A subdirectory or file pd-mingw\release-single already exists.
mingw32-make[1]: [pd-mingw\release-single] Error 1 (ignored)
mingw32-make[1]: Leaving directory `C:/MinGW/msys/1.0/home/Administrator/flext-a
gain'
mingw32-make -f C:/MinGW/msys/1.0/home/Administrator/flext-again/buildsys/gnumak
e-sub.mak  PLATFORM=win RTSYS=pd COMPILER=mingw BUILDPATH=C:/MinGW/msys/1.0/home
/Administrator/flext-again/buildsys/ PKGINFO=package.txt BUILDCLASS=flext USRCON
FIG=config.txt USRMAKE=build/gnumake-win-mingw.inc TARGETMODE=release TARGETTYPE
=multi THREADED=1 _build_
mingw32-make[1]: Entering directory `C:/MinGW/msys/1.0/home/Administrator/flext-
again'
mkdir pd-mingw\release-multi
A subdirectory or file pd-mingw\release-multi already exists.
mingw32-make[1]: [pd-mingw\release-multi] Error 1 (ignored)
mingw32-make[1]: Leaving directory `C:/MinGW/msys/1.0/home/Administrator/flext-a
gain'
mingw32-make -f C:/MinGW/msys/1.0/home/Administrator/flext-again/buildsys/gnumak
e-sub.mak  PLATFORM=win RTSYS=pd COMPILER=mingw BUILDPATH=C:/MinGW/msys/1.0/home
/Administrator/flext-again/buildsys/ PKGINFO=package.txt BUILDCLASS=flext USRCON
FIG=config.txt USRMAKE=build/gnumake-win-mingw.inc TARGETMODE=release TARGETTYPE
=shared SHARED=1 _build_
mingw32-make[1]: Entering directory `C:/MinGW/msys/1.0/home/Administrator/flext-
again'
g++ -shared -mno-cygwin  -Wl,-S -L"c:\pd"\bin -L"c:\pd"/bin -o pd-mingw\release-
shared\libflext-pd.dll   pd-mingw\release-shared\flbase.opp pd-mingw\release-sha
red\flext.opp pd-mingw\release-shared\flbuf.opp pd-mingw\release-shared\fldsp.op
p pd-mingw\release-shared\fllib.opp pd-mingw\release-shared\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-mingw\release-shared\flthr.
opp pd-mingw\release-shared\fltimer.opp pd-mingw\release-shared\flsimd.opp pd-mi
ngw\release-shared\flout.opp pd-mingw\release-shared\flatom_part.opp pd-mingw\re
lease-shared\flitem.opp pd-mingw\release-shared\flmeth.opp pd-mingw\release-shar
ed\flmsg.opp pd-mingw\release-shared\flproxy.opp pd-mingw\release-shared\flqueue
.opp pd-mingw\release-shared\flbind.opp pd-mingw\release-shared\flmap.opp  -lpd
-lpthreadVC
pd-mingw\release-shared\flbuf.opp:flbuf.cpp:(.text+0x395): undefined reference t
o `_imp__garray_class'
pd-mingw\release-shared\flsupport.opp:flsupport.cpp:(.text+0x31): undefined refe
rence to `_imp__s_'
pd-mingw\release-shared\flsupport.opp:flsupport.cpp:(.text+0x3b): undefined refe
rence to `_imp__s_anything'
pd-mingw\release-shared\flsupport.opp:flsupport.cpp:(.text+0x45): undefined refe
rence to `_imp__s_pointer'
pd-mingw\release-shared\flsupport.opp:flsupport.cpp:(.text+0x4f): undefined refe
rence to `_imp__s_float'
pd-mingw\release-shared\flsupport.opp:flsupport.cpp:(.text+0x59): undefined refe
rence to `_imp__s_symbol'
pd-mingw\release-shared\flsupport.opp:flsupport.cpp:(.text+0x63): undefined refe
rence to `_imp__s_bang'
pd-mingw\release-shared\flsupport.opp:flsupport.cpp:(.text+0x6d): undefined refe
rence to `_imp__s_list'
pd-mingw\release-shared\flsupport.opp:flsupport.cpp:(.text+0x77): undefined refe
rence to `_imp__s_signal'
c:/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../libmingwex.a(pformat.o):pformat.c
:(.text+0x1529): undefined reference to `_get_output_format'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [pd-mingw\release-shared\libflext-pd.dll] Error 1
mingw32-make[1]: Leaving directory `C:/MinGW/msys/1.0/home/Administrator/flext-a
gain'
mingw32-make: *** [build-release-shared] Error 2
_______________________________________________
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev

Reply via email to