hello,
i'm trying to compile android 4.1 for my device, but i get this error and 
the compilation stops. i don't know how to fix it and i need help. That's 
what happens:

target thumb C++: audio.primary.goldfish <= 
device/generic/goldfish/audio/AudioHardwareGeneric.cpp
target thumb C++: audio.primary.omap3 <= 
device/samsung/galaxysl/libaudio/AudioHardware.cpp
target StaticLib: libaudiohw_legacy 
(out/target/product/galaxysl/obj/STATIC_LIBRARIES/libaudiohw_legacy_intermediates/libaudiohw_legacy.a)
target thumb C++: audio_policy.default <= 
hardware/libhardware_legacy/audio/AudioPolicyManagerDefault.cpp
target StaticLib: libaudiopolicy_legacy 
(out/target/product/galaxysl/obj/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/libaudiopolicy_legacy.a)
target thumb C++: audio_policy.latona <= 
device/samsung/galaxysl/libaudio/AudioPolicyManager.cpp
target thumb C++: camera.latona <= 
device/samsung/galaxysl/libcamera/CameraHal_Module.cpp
In file included from 
device/samsung/galaxysl/libcamera/CameraHal_Module.cpp:37:0:
device/samsung/galaxysl/libcamera/../include/videodev2.h:1054:0: warning: 
"V4L2_CID_LASTP1" redefined [enabled by default]
device/samsung/galaxysl/libcamera/../include/videodev2.h:928:0: note: this 
is the location of the previous definition
In file included from 
device/samsung/galaxysl/libcamera/CameraHardware.h:49:0,
                 from 
device/samsung/galaxysl/libcamera/CameraHal_Module.cpp:43:
*system/core/include/cutils/tztime.h:34:25: fatal error: bionic_time.h: No 
such file or directory*
*compilation terminated.*
make: *** 
[out/target/product/galaxysl/obj/SHARED_LIBRARIES/camera.latona_intermediates/CameraHal_Module.o]
 
Errore 1
make: *** Attesa per i processi non terminati....
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In destructor 'virtual 
android_audio_legacy::AudioHardware::~AudioHardware()':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:135:43: error: 'LOGE' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:138:44: error: 'LOGE' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'void android_audio_legacy::AudioHardware::loadRILD()':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:159:45: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:181:69: error: 'LOGE' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:188:47: error: 'LOGE' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:195:46: error: 'LOGE' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'android::status_t 
android_audio_legacy::AudioHardware::connectRILDIfRequired()':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:202:53: error: 'LOGE' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:211:36: error: 'LOGE' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'virtual void 
android_audio_legacy::AudioHardware::closeOutputStream(android_audio_legacy::AudioStreamOut*)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:262:58: error: 'LOGW' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'virtual android_audio_legacy::AudioStreamIn* 
android_audio_legacy::AudioHardware::openInputStream(uint32_t, int*, 
uint32_t*, uint32_t*, android::status_t*, 
android_audio_legacy::AudioSystem::audio_in_acoustics)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:315:56: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'virtual void 
android_audio_legacy::AudioHardware::closeInputStream(android_audio_legacy::AudioStreamIn*)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:327:57: error: 'LOGW' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:333:51: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'virtual android::status_t 
android_audio_legacy::AudioHardware::setMode(int)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:385:55: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'virtual android::status_t 
android_audio_legacy::AudioHardware::setMicMute(bool)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:469:55: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'virtual android::status_t 
android_audio_legacy::AudioHardware::setParameters(const 
android::String8&)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:521:27: error: 'LOGD' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:542:44: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'virtual android::String8 
android_audio_legacy::AudioHardware::getParameters(const 
android::String8&)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:575:45: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'virtual size_t 
android_audio_legacy::AudioHardware::getInputBufferSize(uint32_t, int, 
int)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:583:57: error: 'LOGW' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:587:70: error: 'LOGW' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:592:66: error: 'LOGW' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'void android_audio_legacy::AudioHardware::setVoiceVolume_l(float)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:610:32: error: 'LOGD' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:650:73: error: 'LOGW' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'virtual android::status_t 
android_audio_legacy::AudioHardware::setMasterVolume(float)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:661:46: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'android::status_t 
android_audio_legacy::AudioHardware::setIncallPath_l(uint32_t)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:760:46: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:767:54: error: 'LOGD' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:800:72: error: 'LOGW' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:811:81: error: 'LOGE_IF' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'pcm* android_audio_legacy::AudioHardware::openPcmOut_l()':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:992:55: error: 'LOGD' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:995:74: error: 'LOGE' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1010:9: warning: missing 
initializer for member 'pcm_config::avail_min' 
[-Wmissing-field-initializers]
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1016:88: error: 'LOGE' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'void android_audio_legacy::AudioHardware::closePcmOut_l()':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1029:56: error: 'LOGD' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1031:48: error: 'LOGE' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'mixer* android_audio_legacy::AudioHardware::openMixer_l()':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1063:58: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1066:79: error: 'LOGE' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1074:51: error: 'LOGE' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'void android_audio_legacy::AudioHardware::closeMixer_l()':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1084:59: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1086:49: error: 'LOGE' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'android::status_t 
android_audio_legacy::AudioHardware::setInputSource_l(android_audio_legacy::audio_source)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1211:41: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'echo_reference_itfe* 
android_audio_legacy::AudioHardware::getEchoReference(audio_format_t, 
uint32_t, uint32_t)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1246:62: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'void 
android_audio_legacy::AudioHardware::releaseEchoReference(echo_reference_itfe*)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1268:66: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 'int 
android_audio_legacy::AudioHardware::AudioStreamOutALSA::getPlaybackDelay(size_t,
 
echo_reference_buffer*)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1343:92: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1357:69: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'virtual ssize_t 
android_audio_legacy::AudioHardware::AudioStreamOutALSA::write(void const*, 
size_t)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1386:66: error: 'LOGD' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1400:75: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1443:38: error: 'LOGW' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1451:85: error: 'LOGE' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'void 
android_audio_legacy::AudioHardware::AudioStreamOutALSA::doStandby_l()':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1479:63: error: 'LOGD' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'android::status_t 
android_audio_legacy::AudioHardware::AudioStreamOutALSA::open_l()':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1506:31: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'virtual android::status_t 
android_audio_legacy::AudioHardware::AudioStreamOutALSA::setParameters(const 
android::String8&)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1601:74: error: 'LOGD' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'virtual android::String8 
android_audio_legacy::AudioHardware::AudioStreamOutALSA::getParameters(const 
android::String8&)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1647:77: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'void 
android_audio_legacy::AudioHardware::AudioStreamOutALSA::addEchoReference(echo_reference_itfe*)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1677:67: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'void 
android_audio_legacy::AudioHardware::AudioStreamOutALSA::removeEchoReference(echo_reference_itfe*)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1685:70: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'android::status_t 
android_audio_legacy::AudioHardware::AudioStreamInALSA::set(android_audio_legacy::AudioHardware*,
 
uint32_t, int*, uint32_t*, uint32_t*, 
android_audio_legacy::AudioSystem::audio_in_acoustics)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1730:76: error: 'LOGD' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1749:80: error: 'LOGW' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'ssize_t 
android_audio_legacy::AudioHardware::AudioStreamInALSA::processFrames(void*, 
ssize_t)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1819:44: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'int32_t 
android_audio_legacy::AudioHardware::AudioStreamInALSA::updateEchoReference(size_t)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1876:53: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'void 
android_audio_legacy::AudioHardware::AudioStreamInALSA::pushEchoReference(size_t)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1929:82: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'android::status_t 
android_audio_legacy::AudioHardware::AudioStreamInALSA::setPreProcessorEchoDelay(effect_handle_t,
 
int32_t)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1947:52: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'void 
android_audio_legacy::AudioHardware::AudioStreamInALSA::getCaptureDelay(size_t, 
echo_reference_buffer*)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:1982:60: error: 'LOGW' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:2008:91: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'virtual ssize_t 
android_audio_legacy::AudioHardware::AudioStreamInALSA::read(void*, 
ssize_t)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:2031:65: error: 'LOGD' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:2052:74: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:2059:56: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:2090:45: error: 'LOGW' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:2100:78: error: 'LOGE' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'void 
android_audio_legacy::AudioHardware::AudioStreamInALSA::doStandby_l()':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:2127:62: error: 'LOGD' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'android::status_t 
android_audio_legacy::AudioHardware::AudioStreamInALSA::open_l()':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:2189:5: warning: missing 
initializer for member 'pcm_config::avail_min' 
[-Wmissing-field-initializers]
device/samsung/galaxysl/libaudio/AudioHardware.cpp:2191:30: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp:2196:68: error: 'LOGE' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'virtual android::status_t 
android_audio_legacy::AudioHardware::AudioStreamInALSA::setParameters(const 
android::String8&)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:2281:73: error: 'LOGD' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'virtual android::String8 
android_audio_legacy::AudioHardware::AudioStreamInALSA::getParameters(const 
android::String8&)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:2335:76: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'virtual android::status_t 
android_audio_legacy::AudioHardware::AudioStreamInALSA::addAudioEffect(effect_handle_t)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:2341:58: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In member function 
'virtual android::status_t 
android_audio_legacy::AudioHardware::AudioStreamInALSA::removeAudioEffect(effect_handle_t)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:2364:61: error: 'LOGV' 
was not declared in this scope
device/samsung/galaxysl/libaudio/AudioHardware.cpp: In static member 
function 'static size_t 
android_audio_legacy::AudioHardware::AudioStreamInALSA::getBufferSize(uint32_t, 
int)':
device/samsung/galaxysl/libaudio/AudioHardware.cpp:2454:83: error: 'LOGE' 
was not declared in this scope
make: *** 
[out/target/product/galaxysl/obj/SHARED_LIBRARIES/audio.primary.omap3_intermediates/AudioHardware.o]
 
Errore 1
alessandro@alessandro-K54C:~/WORKING_DIRECTORY$ 

I get this error 1 and i don't know what means exactly, I also get this 
error: system/core/include/cutils/tztime.h:34:25: fatal error: 
bionic_time.h: No such file or directory
After this error the compilation stops
Please help me, i don't know how to proceed

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to