pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/31483: libaudiofile-0.2.6 fails to build on Tru64



>Number:         31483
>Category:       pkg
>Synopsis:       libaudiofile-0.2.6 fails to build on Tru64
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 05 16:00:00 +0000 2005
>Originator:     Rumi Szabolcs
>Release:        Tru64 5.1B-3 (PK5)
>Organization:
>Environment:
# uname -a
OSF1 obelix V5.1 2650 alpha
# sizer -v
Compaq Tru64 UNIX V5.1B (Rev. 2650); Sun Sep 25 20:31:58 CEST 2005
>Description:
compilation fails with the following error:

Making all in test
source='writeavr.c' object='writeavr.o' libtool=no  depfile='.deps/writeavr.Po' 
tmpdepfile='.deps/writeavr.TPo'  depmode=tru64 /bin/ksh ../depcomp  cc 
-DHAVE_CONFIG_H -I. -I. -I.. -I../libaudiofile     -O2 -ieee -c `test -f 
writeavr.c || echo './'`writeavr.c
cc: Error: writeavr.c, line 66: In this declaration, "int16_t" must specify a 
type. (badparsedecl)
        int16_t         samples[] = {11, 51, 101, 501, 1001, 5001, 10001, 
50001};
--------^
cc: Error: writeavr.c, line 106: In this declaration, "int16_t" must specify a 
type. (badparsedecl)
                int16_t temporary;
----------------^
cc: Error: writeavr.c, line 79: In this statement, "samples" is not declared. 
(undeclared)
        framesWritten = afWriteFrames(file, AF_DEFAULT_TRACK, samples, 8);
--------------------------------------------------------------^
cc: Error: writeavr.c, line 108: In this statement, "temporary" is not 
declared. (undeclared)
                framesRead = afReadFrames(file, AF_DEFAULT_TRACK, &temporary, 
1);
-------------------------------------------------------------------^
*** Error code 1

Stop.
>How-To-Repeat:
./bootstrap on Tru64
cd /usr/pkgsrc/audio/libaudiofile
bmake
>Fix:
I have added #include <inttypes.h> to audiofile.h and problems went away.




Home | Main Index | Thread Index | Old Index