psm.c is currently not compilable under qnx 6.3.2:
qcc -DHAVE_CONFIG_H -I. -I.. -I../build -I../lib -I../rpmdb -I../
rpmio -I../misc -I../db3 -I../file/src -I../file -I/usr/pkg/svn/HEAD/
pkgsrc/misc/rpm5/work/.buildlink/include -DRPM_OS_NTOQNX=060400 -O2 -
D_GNU_SOURCE -D_REENTRANT -MT psm.lo -MD -MP -MF .deps/psm.Tpo -c
psm.c -fPIC -DPIC -o .libs/psm.o
In file included from psm.h:9,
from psm.c:20:
../rpmio/rpmsq.h:50: error: parse error before "pthread_mutex_t"
../rpmio/rpmsq.h:50: warning: no semicolon at end of struct or union
../rpmio/rpmsq.h:51: warning: data definition has no type or storage
class
In file included from psm.c:20:
psm.h:65: error: field `sq' has incomplete type
if i include pthread.h in rpmsq.h, every works fine. i guess, that the
chance is valid for every os, although, i've not cross checked that.
-piet
- application/octet-stream attachment: patch-av
Received on Fri Jan 25 00:21:06 2008