error compiling gamin-0.1.5



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I get the following error when trying to compile gamin-0.1.5.

gamin-0.1.5:

         prefix:                   /opt/gnome-2.12
         source code location:     .
         compiler:                 /usr/bin/gcc-3.2.3

         backends:                 polling
         build documentation:      yes


 /usr/bin/gcc-3.2.3 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib
- -DBINDIR=\"/opt/gnome-2.12/libexec\"
- -DBUILDDIR=\"..\" -I/opt/gnome-2.12/include -I/usr/X11R6/include
- -I/opt/gnome-2.12/include -L/opt/gnome-2.12/lib
- -O2 -pipe -MT gam_api.lo -MD -MP -MF .deps/gam_api.Tpo -c gam_api.c
- -fPIC -DPIC -o .libs/gam_api.o
if /bin/sh ../libtool --mode=compile --tag=CC /usr/bin/gcc-3.2.3
- -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../lib
- -DBINDIR=\""/opt/gnome-2.12/libexec"\" -DBUILDDIR=\"".."\"
- -I/opt/gnome-2.12/include  -I/usr/X11R6/include
- -I/opt/gnome-2.12/include -L/opt/gnome-2.12/lib -O2 -pipe -MT
gam_data.lo -MD -MP -MF ".deps/gam_data.Tpo" -c
- -o gam_data.lo gam_data.c; \
then mv -f ".deps/gam_data.Tpo" ".deps/gam_data.Plo"; else rm -f
".deps/gam_data.Tpo"; exit 1; fi
 /usr/bin/gcc-3.2.3 -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib
- -DBINDIR=\"/opt/gnome-2.12/libexec\" -DBUILDDIR=\"..\"
- -I/opt/gnome-2.12/include -I/usr/X11R6/include -I/opt/gnome-2.12/include
- -L/opt/gnome-2.12/lib -O2 -pipe -MT gam_data.lo
- -MD -MP -MF .deps/gam_data.Tpo -c gam_data.c  -fPIC -DPIC -o
.libs/gam_data.o
gam_data.c: In function `gamin_data_new':
gam_data.c:460: `pthread_mutexattr_settype undeclared (first use in this
function)
gam_data.c:460: (Each undeclared identifier is reported only once
gam_data.c:460: for each function it appears in.)
gam_data.c:474: `pthread_mutexattr_settype' used prior to declaration
make[3]: *** [gam_data.lo] Error 1
make[3]: Leaving directory
`/home/ben/garnome-2.12.0/bootstrap/gamin/work/main.d/gamin-0.1.5/libgamin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/ben/garnome-2.12.0/bootstrap/gamin/work/main.d/gamin-0.1.5'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/ben/garnome-2.12.0/bootstrap/gamin/work/main.d/gamin-0.1.5'
make: *** [build-work/main.d/gamin-0.1.5/Makefile] Error 2


Can't see why 'pthread_mutexattr_settype' wouldn't be declared. I looked
through pthread.h and it looks like it is declared.
I've tried the new 0.1.6 but the problem remains.

Any idea? Maybe an issue with my version of gcc?

regards,
Ben


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDLA3lStc4iE3nYxcRArEfAJwOpRvQjJvx9eBuYgLPqDNyGxkW8gCeIIVT
QC/XGzMPTKkoFvZl4Sjj+h8=
=/FGE
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]