[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: rebuilding heartbeat for new upstream fails in mock
- From: Mamoru Tasaka <mtasaka ioa s u-tokyo ac jp>
- To: joost soeterbroek com, Discussion related to Fedora Extras <fedora-extras-list redhat com>
- Cc:
- Subject: Re: rebuilding heartbeat for new upstream fails in mock
- Date: Sat, 15 Jul 2006 19:39:15 +0900
Joost Soeterbroek wrote:
Hi,
I am re-building heartbeat package for upstream 2.0.6 version for FE
development. Local build on fc5 works fine, building in mock (both fc5
and devel) produces and error (see below). The fact that it builds on
local and not in mock suggests a missing BuildReq, but the error does
not give me any clues.
crm_mon.c: In function 'main':
crm_mon.c:217: warning: implicit declaration of function 'initscr'
crm_mon.c:218: warning: implicit declaration of function 'cbreak'
crm_mon.c:219: warning: implicit declaration of function 'noecho'
crm_mon.c:242: warning: implicit declaration of function 'echo'
crm_mon.c:243: warning: implicit declaration of function 'nocbreak'
crm_mon.c:244: warning: implicit declaration of function 'endwin'
crm_mon-crm_mon.o: In function `main':
/builddir/build/BUILD/heartbeat-2.0.6/crm/admin/crm_mon.c:242: undefined
reference to `echo'
/builddir/build/BUILD/heartbeat-2.0.6/crm/admin/crm_mon.c:243: undefined
reference to `nocbreak'
/builddir/build/BUILD/heartbeat-2.0.6/crm/admin/crm_mon.c:244: undefined
reference to `endwin'
/builddir/build/BUILD/heartbeat-2.0.6/crm/admin/crm_mon.c:217: undefined
reference to `initscr'
/builddir/build/BUILD/heartbeat-2.0.6/crm/admin/crm_mon.c:218: undefined
reference to `cbreak'
/builddir/build/BUILD/heartbeat-2.0.6/crm/admin/crm_mon.c:219: undefined
reference to `noecho'
collect2: ld returned 1 exit status
gmake[2]: *** [crm_mon] Error 1
gmake[2]: Leaving directory
`/builddir/build/BUILD/heartbeat-2.0.6/crm/admin'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/builddir/build/BUILD/heartbeat-2.0.6/crm'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.52013 (%build)
I have not yet checked this by mock, however, perhaps ncurses-devel is missing
for BR.
[tasaka1 localhost ~]$ grep -r nocbreak /usr/include 2>/dev/null
/usr/include/ncurses/ncurses.h:extern NCURSES_EXPORT(int) nocbreak (void);
/* implemented */
/usr/include/ncurses/ncurses.h:#define nocrmode() nocbreak()
/usr/include/ncurses/curses.h:extern NCURSES_EXPORT(int) nocbreak (void);
/* implemented */
/usr/include/ncurses/curses.h:#define nocrmode() nocbreak()
.........
[tasaka1 localhost ~]$ rpm -qf /usr/include/ncurses/ncurses.h
ncurses-devel-5.5-21
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]