Re: [CinePaint] Compilation problem: undefined reference to pthread_mutex_trylock

Jan <[email protected]> Wed, 15 Oct 2008 21:20:35 +0200
Newsgroups gmane.comp.video.cinepaint.user
Message-ID <[email protected]>
Hello,

Thanks for the reply and sorry for the delayed response.

> Can you check that the fltk-config script, which is used during 
> configure, is the same as the one from the --enable-threads version:
> $ which fltk-config
> should help for that.
There is only one version of fltk installed and flk-config belongs to the
installed --enable-threads version.

> An other possibility might be a new FLTK installed after runnig 
> CinePaint's configure.
No, thats not the case.

> Without a config.log from your CinePaint build the above will remain 
> pure guessing from my side.
I'll attach the config.log to this mail. I would be glad if you could take a
look.

Thanks


> Am 10.10.08, 22:23 +0200 schrieb Jan:
> 
> > Hello all,
> >
> > I have a problem compiling CinePaint on Slackintosh (Slackware-Linux 12.1
> > on PowerPC G4).
> >
> > Compilation stops with the following linker error:
> > g++ -O2 -o .libs/bracketing_to_hdr
> > bracketing_to_hdr.o  ../../lib/.libs/libcinepaint.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libfontconfig.so /usr/lib/libfreetype.so /usr/lib/libexpat.so
> > -lpng12 /usr/lib/libXrender.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so /tmp/tgz/cinepaint-0.22-1/libhalf/.libs/libcinepaintHalf.so
> > -L/usr/powerpc-slackware-linux/bin -L/usr/powerpc-slackware-linux/lib
> > -L/usr/lib/gcc/powerpc-slackware-linux/../../../powerpc-slackware-linux/lib
> > -L/usr/lib/gcc/powerpc-slackware-linux/../.. ./br_core/.libs/libbr_core.a ./FL_adds/.libs/libfl_adds.a
> > -L/usr/local/lib ./gui/.libs/libgui.a /tmp/tgz/cinepaint-0.22-1/lib/fl_i18n/.libs/libcinepaint_fl_i18n.so
> > -lgcc_s ../../lib/fl_i18n/.libs/libcinepaint_fl_i18n.so /usr/lib/libstdc+
> > +.so -lfltk_images -lpng -lz -ljpeg -lfltk
> > -lm /usr/lib/libXext.so /usr/lib/libX11.so /usr/lib/libxcb-xlib.so /usr/lib/libxcb.so /usr/lib/libXau.so /usr/lib/libXdmcp.so
> > -ldl
> > -lc /tmp/tgz/cinepaint-0.22-1/lib/fl_i18n/.libs/libcinepaint_fl_i18n.so:
> > undefined reference to `pthread_mutex_trylock' collect2: ld returned 1 exit
> > status make[3]: *** [bracketing_to_hdr] Error 1 make[3]: Leaving directory
> > `/tmp/tgz/cinepaint-0.22-1/plug-ins/bracketing_to_hdr'
> >
> > I used the following configure options:
> > ./configure --enable-gtk2 --disable-static
> >
> > FLTK 1.1.9 is installed with the following options:
> > ./configure --enable-shared --enable-threads --enable-xinerama
> >
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Cinepaint-users mailing list
> Cinepaint-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/cinepaint-users

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/