|
|
|
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>
|
|
|
이 글의 관련글(트랙백) 주소 :: http://rootfriend.tistory.com/trackback/261
|
|
|
|
|
| 개인적으로...
나쁜 기억력에 도움되라고 만들게되었습니다. |
|
  |
Wireless Sensor Networking (2) |
|
 |
Samsung Software Membership (4) |
|
 |
linux kernel interflow (0) |
|
|
|
Total : 39,974
Today : 18
Yesterday : 85 |
«
2012/05
»
| 일 |
월 |
화 |
수 |
목 |
금 |
토 |
| |
|
1 |
2 |
3 |
4 |
5 |
| 6 |
7 |
8 |
9 |
10 |
11 |
12 |
| 13 |
14 |
15 |
16 |
17 |
18 |
19 |
| 20 |
21 |
22 |
23 |
24 |
25 |
26 |
| 27 |
28 |
29 |
30 |
31 |
|
|
|
|
|
|