Hmm.. that tip would be useful even later.
But for now hit an error compiling release-1.0 .. somewhere around
libaudio.
Pasted below this post are the logs. Does this point to a mismatch in
some header (kernel) or the extracted binaries?
This was on Ubuntu 8.04. Shall redo on MacOSX 10.5 in sometime but I
doubt this is to do with any of that.
JBQ, any pointers?
Thanks and regards,
Rajesh.S
...
...
...
In file included from frameworks/base/libs/audioflinger/
AudioResamplerCubic.cpp:20:
system/core/include/cutils/log.h:68:1: warning: this is the location
of the previous definition
target thumb C++: libaudioflinger <= frameworks/base/libs/audioflinger/
AudioFlinger.cpp
target thumb C++: libaudio <= hardware/msm7k/libaudio/
AudioHardware.cpp
In file included from hardware/msm7k/libaudio/AudioHardware.cpp:35:
hardware/msm7k/libaudio/AudioHardware.h:28:29: error: linux/
msm_audio.h: No such file or directory
In file included from hardware/msm7k/libaudio/AudioHardware.cpp:35:
hardware/msm7k/libaudio/AudioHardware.h:202: error: ISO C++ forbids
declaration of 'msm_snd_endpoint' with no type
hardware/msm7k/libaudio/AudioHardware.h:202: error: expected ';'
before '*' token
hardware/msm7k/libaudio/AudioHardware.cpp: In constructor
'android::AudioHardware::AudioHardware()':
hardware/msm7k/libaudio/AudioHardware.cpp:62: error: class
'android::AudioHardware' does not have any field named 'mSndEndpoints'
hardware/msm7k/libaudio/AudioHardware.cpp:83: error:
'SND_GET_NUM_ENDPOINTS' was not declared in this scope
hardware/msm7k/libaudio/AudioHardware.cpp:86: error: 'mSndEndpoints'
was not declared in this scope
hardware/msm7k/libaudio/AudioHardware.cpp:86: error: expected type-
specifier before 'msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:86: error: expected `;'
before 'msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:90: error: cannot increment
a pointer to incomplete type 'android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:91: error: invalid use of
incomplete type 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:89: error: forward
declaration of 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:92: error:
'SND_GET_ENDPOINT' was not declared in this scope
hardware/msm7k/libaudio/AudioHardware.cpp:95: error: invalid use of
incomplete type 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:89: error: forward
declaration of 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:95: error: invalid use of
incomplete type 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:89: error: forward
declaration of 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:96: error: invalid use of
incomplete type 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:89: error: forward
declaration of 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:96: error: invalid use of
incomplete type 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:89: error: forward
declaration of 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:97: error: invalid use of
incomplete type 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:89: error: forward
declaration of 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:97: error: invalid use of
incomplete type 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:89: error: forward
declaration of 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:98: error: invalid use of
incomplete type 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:89: error: forward
declaration of 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:98: error: invalid use of
incomplete type 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:89: error: forward
declaration of 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:99: error: invalid use of
incomplete type 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:89: error: forward
declaration of 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:99: error: invalid use of
incomplete type 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:89: error: forward
declaration of 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:100: error: invalid use of
incomplete type 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:89: error: forward
declaration of 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:100: error: invalid use of
incomplete type 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:89: error: forward
declaration of 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:101: error: invalid use of
incomplete type 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:89: error: forward
declaration of 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:101: error: invalid use of
incomplete type 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:89: error: forward
declaration of 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:108: error: invalid use of
incomplete type 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:89: error: forward
declaration of 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:109: error: invalid use of
incomplete type 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp:89: error: forward
declaration of 'struct android::msm_snd_endpoint'
hardware/msm7k/libaudio/AudioHardware.cpp: In destructor 'virtual
android::AudioHardware::~AudioHardware()':
hardware/msm7k/libaudio/AudioHardware.cpp:123: error: 'mSndEndpoints'
was not declared in this scope
hardware/msm7k/libaudio/AudioHardware.cpp: In function
'android::status_t android::set_volume_rpc(uint32_t, uint32_t,
uint32_t)':
hardware/msm7k/libaudio/AudioHardware.cpp:588: error: aggregate
'android::msm_snd_volume_config args' has incomplete type and cannot
be defined
hardware/msm7k/libaudio/AudioHardware.cpp:593: error: 'SND_SET_VOLUME'
was not declared in this scope
hardware/msm7k/libaudio/AudioHardware.cpp: In member function 'virtual
android::status_t android::AudioHardware::setVoiceVolume(float)':
hardware/msm7k/libaudio/AudioHardware.cpp:617: error:
'SND_METHOD_VOICE' was not declared in this scope
hardware/msm7k/libaudio/AudioHardware.cpp: In member function 'virtual
android::status_t android::AudioHardware::setMasterVolume(float)':
hardware/msm7k/libaudio/AudioHardware.cpp:627: error:
'SND_METHOD_VOICE' was not declared in this scope
hardware/msm7k/libaudio/AudioHardware.cpp: In function
'android::status_t android::do_route_audio_rpc(uint32_t, bool, bool)':
hardware/msm7k/libaudio/AudioHardware.cpp:663: error: aggregate
'android::msm_snd_device_config args' has incomplete type and cannot
be defined
hardware/msm7k/libaudio/AudioHardware.cpp:665: error: 'SND_MUTE_MUTED'
was not declared in this scope
hardware/msm7k/libaudio/AudioHardware.cpp:665: error:
'SND_MUTE_UNMUTED' was not declared in this scope
hardware/msm7k/libaudio/AudioHardware.cpp:668: error: 'SND_SET_DEVICE'
was not declared in this scope
make: *** [out/target/product/dream/obj/SHARED_LIBRARIES/
libaudio_intermediates/AudioHardware.o] Error 1