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

Re: PFile compiles again



Peter Burns wrote:

>I get a few warnings but no errors for PSound. The warnings are
>complaining about me not returning stuff for the Sequencer since I
>haven't completed all the code for that yet. There are also some
>warnings complaining about negative values given to bit shifts but they
>shouldn't matter since the code should never be reached when the values
>are negative.

Attached is the compiler output. There's some instantiation errors in 
SoftwareMixer.h.

>libpfile.la if it is in noinst_LTLIBRARIES but I can build it if it is
>in lib_LTLIBRARIES.

?????

>I can build both libpfile.la and libpsound.la but have problems building
>libpenguinplay.la.
>
>I get this message:
>
>libtool: link: libtool library `libpenguinplay.la' may not depend on
>uninstalled libraries: PenguinFile/libpfile.la PenguinSound/libpsound.la

When I uncomment the PSound part in /src/Makefile(.am) everything builds
just fine, including libpenguinplay.*
libpfile.la is in noinst_LTLIBRARIES

gcc 2.95.1
autoconf 2.13
automake 1.4
libtool 1.2f


	Christian
-- 

Drive A: not responding...Formatting C: instead
DspMmapped.cpp: In method `void pp::internal::DspMmapped::Destroy()':
DspMmapped.cpp:174: passing `unsigned char *' as argument 1 of `munmap(char *, unsigned int)' changes signedness
../../include/PenguinPlay/SoftwareMixer.h: In function `long unsigned int & pp::internal::SoftwareMixer::VolumeConv<int16_t, int16_t, 10>(long unsigned int &)':
../../include/PenguinPlay/SoftwareMixer.h:327:   instantiated from `pp::internal::SoftwareMixer::MixStereoUnrolled<int16_t, int16_t, 10>(long unsigned int, long unsigned int, long unsigned int, pp::internal::FixedT<10>, pp::internal::FixedT<10> &, const int16_t *, int16_t *)'
DspMmapped.cpp:212:   instantiated from here
../../include/PenguinPlay/SoftwareMixer.h:88: warning: left shift count is negative
../../include/PenguinPlay/SoftwareMixer.h: In function `long unsigned int & pp::internal::SoftwareMixer::VolumeConv<int16_t, u_int8_t, 10>(long unsigned int &)':
../../include/PenguinPlay/SoftwareMixer.h:327:   instantiated from `pp::internal::SoftwareMixer::MixStereoUnrolled<int16_t, u_int8_t, 10>(long unsigned int, long unsigned int, long unsigned int, pp::internal::FixedT<10>, pp::internal::FixedT<10> &, const int16_t *, u_int8_t *)'
DspMmapped.cpp:223:   instantiated from here
../../include/PenguinPlay/SoftwareMixer.h:88: warning: left shift count is negative
../../include/PenguinPlay/SoftwareMixer.h: In function `long unsigned int & pp::internal::SoftwareMixer::VolumeConv<u_int8_t, int16_t, 10>(long unsigned int &)':
../../include/PenguinPlay/SoftwareMixer.h:327:   instantiated from `pp::internal::SoftwareMixer::MixStereoUnrolled<u_int8_t, int16_t, 10>(long unsigned int, long unsigned int, long unsigned int, pp::internal::FixedT<10>, pp::internal::FixedT<10> &, const u_int8_t *, int16_t *)'
DspMmapped.cpp:237:   instantiated from here
../../include/PenguinPlay/SoftwareMixer.h:88: warning: left shift count is negative
../../include/PenguinPlay/SoftwareMixer.h: In function `long unsigned int & pp::internal::SoftwareMixer::VolumeConv<u_int8_t, u_int8_t, 4>(long unsigned int &)':
../../include/PenguinPlay/SoftwareMixer.h:327:   instantiated from `pp::internal::SoftwareMixer::MixStereoUnrolled<u_int8_t, u_int8_t, 4>(long unsigned int, long unsigned int, long unsigned int, pp::internal::FixedT<10>, pp::internal::FixedT<10> &, const u_int8_t *, u_int8_t *)'
DspMmapped.cpp:248:   instantiated from here
../../include/PenguinPlay/SoftwareMixer.h:88: warning: left shift count is negative
make[2]: *** [DspMmapped.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1