Installing libaudiofile and other apps from pkgsrc

Hi all!

My system is 6.4.0 and I’m trying to install various applications from the 640_HEAD repository at community.qnx.com/svn/repos/pkgsrc/HEAD_640 (for example VLC, xine-lib, -ui, Gtetrinet).

These programs and their dependencies mostly end up with Error Code 1.

This for example is the end of the installation of libaudiofile, which is necessary for many apps:

[code]…creating writeraw
source=‘writeavr.c’ object=‘writeavr.o’ libtool=no depfile=’.deps/writeavr.Po’
tmpdepfile=’.deps/writeavr.TPo’ depmode=gcc3 /bin/sh …/depcomp gcc -DHAVE_CON
FIG_H -I. -I. -I… -I…/libaudiofile -O2 -c test -f writeavr.c || echo './' writeavr.c
writeavr.c: In function ‘main’:
writeavr.c:66: error: ‘int16_t’ undeclared (first use in this function)
writeavr.c:66: error: (Each undeclared identifier is reported only once
writeavr.c:66: error: for each function it appears in.)
writeavr.c:66: error: expected ‘;’ before ‘samples’
writeavr.c:79: error: ‘samples’ undeclared (first use in this function)
writeavr.c:106: error: expected ‘;’ before ‘temporary’
writeavr.c:108: error: ‘temporary’ undeclared (first use in this function)
*** Error code 1

Stop.
bmake: stopped in /usr/share/pkgsrc/HEAD_640/pkgsrc/audio/libaudiofile/work/audi
ofile-0.2.6/test
*** Error code 1

Stop.
bmake: stopped in /usr/share/pkgsrc/HEAD_640/pkgsrc/audio/libaudiofile/work/audi
ofile-0.2.6
*** Error code 1

Stop.
bmake: stopped in /usr/share/pkgsrc/HEAD_640/pkgsrc/audio/libaudiofile/work/audi
ofile-0.2.6
*** Error code 1

Stop.
bmake: stopped in /usr/share/pkgsrc/HEAD_640/pkgsrc/audio/libaudiofile
*** Error code 1

Stop.
bmake: stopped in /usr/share/pkgsrc/HEAD_640/pkgsrc/audio/libaudiofile[/code]

I tried many other packages and every one gave me this error, mostly at the End of the compiling process.

So my question is about a common method to figure out why these problems occur or solve them as a non-programmer.

Any suggestions or hints?

thanks!