Search
'개발노트'에 해당되는 글 25건
- 2013.04.02 스탑워치 프로그램 - XNote Timer 1
- 2013.03.29 Terminal v1.9b - 시리얼 메시지 터미널
- 2012.09.25 2012 연봉별 실수령액
- 2012.03.07 slang_rs_export_foreach.cpp , error : variable ‘ParamName’ set but not used
- 2012.03.07 error : undefined reference to `pthread_create'
- 2012.03.07 error : ‘ptrdiff_t’ does not name a type
- 2012.03.07 format_output.h : reference ‘counts’ cannot be declared ‘mutable’
- 2012.03.07 _FORTIFY_SOURCE redefined Error
- 2012.03.05 lib32readline5-dev 설치 중 찾지 못함
- 2010.07.14 corelibc.lib(armsecgs.obj) : fatal error LNK1103: debugging information corrupt; recompile module
slang_rs_export_foreach.cpp , error : variable ‘ParamName’ set but not used
개발노트/Android 2012. 3. 7. 16:55
frameworks/compile/slang/slang_rs_export_foreach.cpp: In static member function ‘static slang::RSExportForEach* slang::RSExportForEach::Create(slang::RSContext*, const clang::FunctionDecl*)’:
frameworks/compile/slang/slang_rs_export_foreach.cpp:249:23: error: variable ‘ParamName’ set but not used [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors
make: *** [out/host/linux-x86/obj/EXECUTABLES/llvm-rs-cc_intermediates/slang_rs_export_foreach.o] Error ...
frameworks/compile/slang/Android.mk 파일 수정
============================================================
위와 같이 -Werror 를 없애준다
frameworks/compile/slang/Android.mk 파일 수정
============================================================
- local_cflags_for_slang := -Wno-sign-promo -Wall -Wno-unused-parameter -Werror
+ local_cflags_for_slang := -Wno-sign-promo -Wall -Wno-unused-parameter
============================================================ 위와 같이 -Werror 를 없애준다
ubuntu 11.10 amd64
ICS
'pthread_create'는 물론 pthread 관련 여러개의 undefined reference error가 발생
external/llvm/lib/Support/Mutex.cpp 파일 수정
=========================================================
ICS
'pthread_create'는 물론 pthread 관련 여러개의 undefined reference error가 발생
external/llvm/lib/Support/Mutex.cpp 파일 수정
=========================================================
#include "llvm/Config/config.h"
#include "llvm/Support/Mutex.h"
+ #undef ENABLE_THREADS
+ #undef HAVE_PTHREAD_H
========================================================
+2차
위 방법으로 해결 되지 않아서 아래 방법으로 해결하였다.
external/llvm/llvm-host-build.mk 파일에 아래 내용 추가
=========================================================
========================================================
+2차
위 방법으로 해결 되지 않아서 아래 방법으로 해결하였다.
external/llvm/llvm-host-build.mk 파일에 아래 내용 추가
=========================================================
=========================================================LOCAL_LDLIBS := \ -lpthread \ -ldl
external/gtest/src/../include/gtest/internal/gtest-param-util.h:122:11: error: ‘ptrdiff_t’ does not name a type
external/gtest/src/../include/gtest/internal/gtest-param-util.h 파일 수정
======================================================
#include <vector>
+ #include <cstddef>
#include <gtest/internal/gtest-port.h>
======================================================
위와 같이 cstddef include 추가
external/gtest/src/../include/gtest/internal/gtest-param-util.h 파일 수정
======================================================
#include <vector>
+ #include <cstddef>
#include <gtest/internal/gtest-port.h>
======================================================
위와 같이 cstddef include 추가
Ubuntu 11.10 amd64
ICS
In file included from external/oprofile/libpp/arrange_profiles.cpp:24:0:
external/oprofile/libpp/format_output.h:94:22: error: reference ‘counts’ cannot be declared ‘mutable’ [-fpermissive]
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/liboprofile_pp_intermediates/arrange_profiles.o] 오류 1
external/oprofile/libpp/format_output.h 파일의 94번행
========================================================
- mutable counts_t & counts;
+ counts_t & counts;
========================================================
위와 같이 수정해주자.
ICS
In file included from external/oprofile/libpp/arrange_profiles.cpp:24:0:
external/oprofile/libpp/format_output.h:94:22: error: reference ‘counts’ cannot be declared ‘mutable’ [-fpermissive]
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/liboprofile_pp_intermediates/arrange_profiles.o] 오류 1
external/oprofile/libpp/format_output.h 파일의 94번행
========================================================
- mutable counts_t & counts;
+ counts_t & counts;
========================================================
위와 같이 수정해주자.
Ubuntu 11.10 amd64
ICS
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
/build/core/combo/HOST_linux-x86.mk 파일을 수정해주면 해결된다.
==================================================================================================
- HOST_GLOBAL_CFLAGS += -D_FORTIFY_SOURCE=0
ICS
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C: mkyaffs2image <= external/yaffs2/yaffs2/yaffs_tagsvalidity.c
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
In file included from external/yaffs2/yaffs2/yaffs_tagsvalidity.c:17:0:
external/yaffs2/yaffs2/yaffs_tagsvalidity.h:23:6: warning: redundant redeclaration of ‘yaffs_InitialiseTags’ [-Wredundant-decls]
external/yaffs2/yaffs2/yaffs_guts.h:888:6: note: previous declaration of ‘yaffs_InitialiseTags’ was here
host C++: obbtool <= frameworks/base/tools/obbtool/Main.cpp
<command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
<built-in>:0:0: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors
make: *** [out/host/linux-x86/obj/EXECUTABLES/obbtool_intermediates/Main.o] 오류 1
make: *** 끝나지 않은 작업을 기다리고 있습니다....
/build/core/combo/HOST_linux-x86.mk 파일을 수정해주면 해결된다.
==================================================================================================
- HOST_GLOBAL_CFLAGS += -D_FORTIFY_SOURCE=0
+ HOST_GLOBAL_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
==================================================================================================
위와 같이 수정
위와 같이 수정
Ubuntu 11.10 amd64
안드로이드 환경 설치 중 lib32readline5-dev 를 찾을 수 없다고 설치가 되지 않는다.
apt-get install 메시지에서 lib32readline-gplv2-dev 로 대체 가능하다고 나오기에 lib32readline-gplv2-dev 를 설치하여 해결.
안드로이드 환경 설치 중 lib32readline5-dev 를 찾을 수 없다고 설치가 되지 않는다.
apt-get install 메시지에서 lib32readline-gplv2-dev 로 대체 가능하다고 나오기에 lib32readline-gplv2-dev 를 설치하여 해결.
corelibc.lib(armsecgs.obj) : fatal error LNK1103: debugging information corrupt; recompile module
개발노트/Windows mobile, ce, compact 2010. 7. 14. 10:38
개발 환경
- Windows XP SP3
- Visual Studio 2005 Professional Edition SP1
- Windows Mobile 6.5.3 DTK
corelibc.lib(armsecgs.obj) : fatal error LNK1103: debugging information corrupt; recompile module
Build 시 위와 같은 에러 메시지가 나올 때 해결 방법
위의 HotFix를 설치한다.
Reference :
http://social.msdn.microsoft.com/Forums/en-US/vssmartdevicesnative/thread/2857d97d-f8c2-4390-97e0-a1be54348b52