A Kind of Magic | unifdef.c : conflicting types for getline function 해결
A Kind of Magic 위치로그  |  태그  |  미디어로그  |  방명록
icon unifdef.c : conflicting types for getline function 해결
QnA | 2010/10/02 01:07
From: Kyle McMartin <kyle@redhat.com>

Rawhide builds are currently failing to build unifdef.c, as the next
version of glibc changes the default _POSIX_C_SOURCE level, which
exposes getline() from <stdio.h>

scripts/unifdef.c:209: error: conflicting types for 'getline'
/usr/include/stdio.h:653: note: previous declaration of 'getline' was
here
make[2]: *** [scripts/unifdef] Error 1
make[1]: *** [__headers] Error 2
make: *** [vmlinux] Error 2

Rename the symbol in unifdef.c to parseline to avoid this conflicting
declaration.

Otherwise Jakub says we could add a -D_POSIX_C_SOURCE=200112L as a
workaround to unifdef CFLAGS, but this seems like it would be less
desirable in the long term.

Signed-off-by: Kyle McMartin <kyle@redhat.com>



arrow 트랙백0 | 댓글0
이 글의 관련글(트랙백) 주소 :: http://rootfriend.tistory.com/trackback/261 관련글 쓰기

아이디 :
비밀번호 :
홈페이지 :
  비밀글로 등록
내용 :
 



[PREV] [1] ... [115][116][117][118][119][120][121][122][123] ... [324] [NEXT]
관리자  |   글쓰기
BLOG main image
개인적으로... 나쁜 기억력에 도움되라고 만들게되었습니다.
be the Geek! (324)
Linux (56)
Qplus (1)
Network (13)
Device Driver (7)
QT (5)
회의록 (4)
생각.. (16)
Miscellaneous (7)
Memo (6)
News (6)
Embedded (46)
QnA (62)
내가 갖추어야 할것들. (0)
Englinsh (5)
Terminology (1)
man (3)
Mathematics (4)
Virtualization (1)
Linker & Loader (5)
SKKU (3)
연구 (9)
Assembly (1)
OpenSource Project (2)
Samsung Software Membership (4)
GRE (1)
Mac (2)
linux kernel interflow (0)
Total : 39,974
Today : 18
Yesterday : 85
__init
초보 프로그래머의 세계
guenstig uebernachten in ham..
guenstig uebernachten in ham..
uebernachtung guenstig in wi..
uebernachtung guenstig in wi..
preiswert hotel
preiswert hotel
rss
위치로그 : 태그 : 방명록 : 관리자
RootFriend's Blog is powered by Daum / Designed by plyfly.net