[PD] flext externals crash PD

Jacob Last jacoblast at gmail.com
Wed Jul 20 23:08:12 CEST 2005


I figured it out...removing the    -Wl,-x    linker option (which is
set in flext/buildsys/gnumake.inc) stops the crashing on
load...process of elimination :) I'd love an explanation though...

Thanks!
Jacob

On 7/20/05, Jacob Last <jacoblast at gmail.com> wrote:
> Thomas--
> 
> The problem I'm having is definitely with the build system. If I check
> out the flext tutorials from CVS, then copy in the makefile and config
> from the 0.4.1 distribution of the tut examples (modified to point to
> the correct flext libs and headers), then the externals build fine
> (with flext 0.5.0) and run fine in PD. But if i build them the normal
> way (with the build system), then they compile fine but they crash PD!
> 
> So there is something about the way the build sys is compiling them as
> opposed to how the old makefile did it. I will try to track it down.
> 
> Jacob
> 
> On 7/20/05, Jacob Last <jacoblast at gmail.com> wrote:
> > Thomas--
> >
> > I'm taking a look and not finding any flext headers or libraries
> > included in the Pd.app package (I removed the flext headers dir that
> > was by default installed there by the last flext release). As far as I
> > can see, the only flext files i have in my filesystem are the
> > libraries in /usr/local/lib (which are all up to date), the headers in
> > /usr/local/include/flext, and the source and buildsys in
> > /usr/src/flext.
> >
> > Where would these shared externals reside and how do I recognize them?
> > Where would the included flext libraries be?
> >
> > Thanks,
> > Jacob
> >
> > On 7/19/05, Thomas Grill <gr at grrrr.org> wrote:
> > > Hi Jacob,
> > > this sounds like you are compiling against shared flext libraries, but
> > > the version that you have installed is not the same version as your
> > > flext headers.
> > > I'm not too familiar with Hans' package but i think i remember that it
> > > comes with shared externals and contains flext shared libraries.
> > > If the headers and the build system are included as well you could use
> > > that, if not, you would have to use a flext release or cvs version, but
> > > probably also recompile the flext-base externals in the Pd.app package.
> > > Sorry for the inconvenience, i hope we can sort this out soon.
> > >
> > > best greetings,
> > > Thomas
> > >
> > >
> > > Jacob Last schrieb:
> > >
> > > >Hi--
> > > >
> > > >I was able to compile both the tutorial examples in flext and my own
> > > >simple flext externals fine when I was using version 0.4.7...now I'm
> > > >trying to use 0.5.0 with the new build system (which is great, btw),
> > > >and everything seems to compile fine, flext is installed. Then I
> > > >create a package.txt with the minimum info, i.e. just
> > > >
> > > >NAME= myexternal
> > > >SRCS= main.cpp
> > > >
> > > >It compiles fine, installs fine, but when I try to create an instance
> > > >of the object in a PD patch, PD crashes after a delay of about a half
> > > >second. I don't know how to trace the crash or anything. I'm on OS X
> > > >10.3.9, using Hans's installer PD package
> > > >(Pd-0.38-4-extended-RC1.app). This happens when I try to compile my
> > > >own externals using the buildsys as well as Thomas's tutorial examples
> > > >(I created similar package.txt files for those examples).
> > > >
> > > >Starting PD from the command line, upon crashing it spits out
> > > >
> > > >dyld: ./pd Undefined symbols:
> > > >_ZN11TableAnyMapD1Ev.eh
> > > >socket receive error: Connection reset by peer (54)
> > > >Trace/BPT trap
> > > >
> > > >The only warning I get during any of the compile or install procedures is
> > > >
> > > >/usr/src/flext/buildsys/mac/gnumake-gcc-ext.inc:40: warning:
> > > >overriding commands for target `pd-darwin/release-single'
> > > >/usr/src/flext/buildsys/mac/gnumake-gcc-ext.inc:36: warning: ignoring
> > > >old commands for target `pd-darwin/release-single'
> > > >
> > > >when i do `build.sh pd gcc install` which doesn't seem like an issue.
> > > >
> > > >Is there a problem with my use of the new build system or what? I'm stuck.
> > > >
> > > >Thanks for the help and all the great work,
> > > >
> > > >Jacob Last
> > > >
> > > >_______________________________________________
> > > >PD-list at iem.at mailing list
> > > >UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> > > >
> > > >
> > > >
> > > >
> > >
> >
>




More information about the Pd-list mailing list