loading
본문 바로가기 메뉴 바로가기
unknown field ‘open’ specified in initializer

/nfsroot/RootFS-S5PC100/a_test/device/kstory_dd.c:17: error: variable ‘kstory_fops’ has initializer but incomplete type /nfsroot/RootFS-S5PC100/a_test/device/kstory_dd.c:18: error: unknown field ‘open’ specified in initializer /nfsroot/RootFS-S5PC100/a_test/device/kstory_dd.c:18: warning: excess elements in struct initializer /nfsroot/RootFS-S5PC100/a_test/device/kstory_dd.c:18: warning: (near i..

과거 콘텐츠/Error 메세지 2011. 11. 1. 15:45
undefined reference to `pthread_join' 에러 발생 시.

undefined reference to `pthread_join' undefined reference to `pthread_join' undefined reference to `pthread_create' undefined reference to `pthread_create' 컴파일 할 때 끝에 -lpthread 붙여주면 된다. [ i가 아닌 l ]

과거 콘텐츠/Error 메세지 2011. 10. 10. 11:52
'gets' function is dangerous and should not be used.

'gets' function is dangerous and should not be used. gets는 버퍼에 얼마나 값을 저장할지 지정하지 않기 때문에 버퍼오버플로우 기법에 노출된다. 때문에 fgets를 이용해 크기를 지정해서 사용하는 방법을 채택한다. fgets(char *, int, FILE *) (저장할 버퍼, 저장할 크기, 읽어들일 대상) 읽어들일 대상에 주로 stdin 을 사용한다. 즉 키보드에서 입력한 값을 읽는다는 의미이다. 키보드에서 읽어서 크기만큼 버퍼에 저장하게 된다. gets의 경우 과정은 동일하지만 키보드가 기본이자 고정이다. 다른 곳으로부터 읽을 수 없으며. 읽는 크기에 대한 제약이 없다.

과거 콘텐츠/Error 메세지 2011. 10. 6. 15:18
이전 1 다음
이전 다음

티스토리툴바

운영자 : 케이
제작 : 아로스
Copyrights © 2022 All Rights Reserved by (주)아백.

※ 해당 웹사이트는 정보 전달을 목적으로 운영하고 있으며, 금융 상품 판매 및 중개의 목적이 아닌 정보만 전달합니다. 또한, 어떠한 지적재산권 또한 침해하지 않고 있음을 명시합니다. 조회, 신청 및 다운로드와 같은 편의 서비스에 관한 내용은 관련 처리기관 홈페이지를 참고하시기 바랍니다.