|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Compilation problem: undefined reference to pthread_mutex_trylockHello 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 I would be grateful for any suggestions. TIA ------------------------------------------------------------------------- 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@... https://lists.sourceforge.net/lists/listinfo/cinepaint-users |
|
|
Re: Compilation problem: undefined reference to pthread_mutex_trylockHello,
thanks for the informations. 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. An other possibility might be a new FLTK installed after runnig CinePaint's configure. Without a config.log from your CinePaint build the above will remain pure guessing from my side. kind regards Kai-Uwe Behrmann -- developing for colour management www.behrmann.name + www.oyranos.org 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@... https://lists.sourceforge.net/lists/listinfo/cinepaint-users |
|
|
Re: Compilation problem: undefined reference to pthread_mutex_trylockHello,
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@... > 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=/ _______________________________________________ Cinepaint-users mailing list Cinepaint-users@... https://lists.sourceforge.net/lists/listinfo/cinepaint-users |
|
|
|
|
|
Re: Compilation problem: undefined reference to pthread_mutex_trylockCan you compile something like:
#include <FL/Fl.H> int main(void) { Fl::lock(); return 0; } with fltk-config --compile program.cxx ? kind regards Kai-Uwe Behrmann -- developing for colour management www.behrmann.name + www.oyranos.org Am 17.10.08, 21:20 +0200 schrieb Jan: > $ fltk-config --ldflags > -L/usr/local/lib -lfltk -ldl -lm -lXext -lX11 ------------------------------------------------------------------------- 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@... https://lists.sourceforge.net/lists/listinfo/cinepaint-users |
|
|
Re: Compilation problem: undefined reference to pthread_mutex_trylockHi Kai-Uwe,
Thanks for the response. > Can you compile something like: > > #include <FL/Fl.H> > int main(void) > { Fl::lock(); > return 0; } > > with fltk-config --compile program.cxx ? This helped a lot to find the problem. It turned out, that the fltk-installation was somehow broken due to some powerpc-specific compiler-options... I got fltk working now and cinepaint compiled successfully. Thanks for your help :-) ------------------------------------------------------------------------- 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@... https://lists.sourceforge.net/lists/listinfo/cinepaint-users |
| Free Forum Powered by Nabble | Forum Help |