android froyo 编译时alsa出现错误
下面是编译时出现的错误:
Aidl: Phone <= packages/apps/Phone/src/com/android/phone/INetworkQueryService.aidl
Aidl: Phone <= packages/apps/Phone/src/com/android/phone/INetworkQueryServiceCallback.aidl
Install: out/target/product/smdkv210/system/bin/gdbserver
make: *** 没有规则可以创建“out/target/product/smdkv210/obj/SHARED_LIBRARIES/libaudio_intermediates/LINKED/libaudio.so”需要的目标“out/target/product/smdkv210/obj/lib/libresampler.so”。 停止。
make: *** 正在等待未完成的任务....
target arm C++: libaudio <= external/libaudio/AudioHardwareALSA.cpp
external/libaudio/AudioHardwareALSA.cpp:39:32: error: resamplerInterface.h: No such file or directory
external/libaudio/AudioHardwareALSA.cpp: In member function 'virtual void android::AudioHardwareALSA::closeInputStream(android::AudioStreamIn*)':
external/libaudio/AudioHardwareALSA.cpp:354: error: 'resamplerDeinit' was not declared in this scope
external/libaudio/AudioHardwareALSA.cpp: In member function 'android::status_t android::ALSAStreamOps::set(int*, uint32_t*, uint32_t*)':
external/libaudio/AudioHardwareALSA.cpp:449: warning: comparison between signed and unsigned integer expressions
external/libaudio/AudioHardwareALSA.cpp:450: warning: comparison between signed and unsigned integer expressions
external/libaudio/AudioHardwareALSA.cpp: In member function 'virtual size_t android::ALSAStreamOps::bufferSize() const':
external/libaudio/AudioHardwareALSA.cpp:557: error: 'PLATFORM_BUFFER_SIZE' was not declared in this scope
external/libaudio/AudioHardwareALSA.cpp:557: error: 'resamplerGetBufferSize' was not declared in this scope
external/libaudio/AudioHardwareALSA.cpp: In member function 'virtual android::status_t android::ALSAStreamOps::setDevice(int, uint32_t, uint)':
external/libaudio/AudioHardwareALSA.cpp:953: error: 'DEFAULT_INPUT_SAMPLE_RATE' was not declared in this scope
external/libaudio/AudioHardwareALSA.cpp:954: error: 'resamplerInit' was not declared in this scope
external/libaudio/AudioHardwareALSA.cpp:978: error: 'KERNEL_BUFFER_SIZE' was not declared in this scope
external/libaudio/AudioHardwareALSA.cpp:978: error: 'resamplerGetBufferSize' was not declared in this scope
external/libaudio/AudioHardwareALSA.cpp:1063: error: 'PLATFORM_BUFFER_SIZE' was not declared in this scope
external/libaudio/AudioHardwareALSA.cpp:1063: error: 'resamplerGetBufferSize' was not declared in this scope
external/libaudio/AudioHardwareALSA.cpp: In member function 'virtual ssize_t android::AudioStreamInALSA::read(void*, ssize_t)':
external/libaudio/AudioHardwareALSA.cpp:1366: error: 'KERNEL_BUFFER_SIZE' was not declared in this scope
external/libaudio/AudioHardwareALSA.cpp:1366: error: 'resamplerGetBufferSize' was not declared in this scope
external/libaudio/AudioHardwareALSA.cpp:1385: error: 'resamplerConvert' was not declared in this scope
make: *** [out/target/product/smdkv210/obj/SHARED_LIBRARIES/libaudio_intermediates/AudioHardwareALSA.o] 错误 1
---------------------------------------
这个问题困扰小弟许久,这问题是属于kernel里面的问题,还是文件系统的问题,希望兄弟们指点一下,给个解决的方法,能不能解决没关系,我会试着去做,小弟感激不尽