bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

host-ncurses 5.9 compiling fails on fedora 22 x86_64 distribution


From: FengHaibo
Subject: host-ncurses 5.9 compiling fails on fedora 22 x86_64 distribution
Date: Mon, 8 Jun 2015 09:54:11 +0000

In fact I reported this issue to fedora release team and have no answer
there, so looking help from ncurses, all other open source packages
used are compiled well, only ncurses has the problem. Attached the
generated lib_gen.c

Description of problem:
I used buildroot to do cross compiling, one package is to compile the
ncurses 5.9 for host PC, the compiling ran well on Fedora 21, but after
I just upgraded to Fedora 22, the compiling will fail, and I got the
following error:
host-ncurses 5.9 Building
_19107.c:835:22: error: expected ‘)’ before ‘int’
Makefile:795: recipe for target '../obj_s/lib_gen.o' failed
make[3]: *** [../obj_s/lib_gen.o] Error 1
make[3]: *** Waiting for unfinished jobs....
_19107.c:835:22: error: expected ‘)’ before ‘int’
Makefile:1653: recipe for target '../objects/lib_gen.o' failed
make[3]: *** [../objects/lib_gen.o] Error 1
Makefile:307: recipe for target '../lib/libncurses.so' failed
make[2]: *** [../lib/libncurses.so] Error 2
package/pkg-generic.mk:164: recipe for target
'/home/haibo/dev/perforce/lnx_wks/OTV_OS/Opentv5/DEVELOP/tbc_phase1/otvtarg/hc7583_uclibc_bc/sdk_tbc_dta_phase1/build/host-
ncurses-5.9/.stamp_built' failed
make[1]: ***
[/home/haibo/dev/perforce/lnx_wks/OTV_OS/Opentv5/DEVELOP/tbc_phase1/otvtarg/hc7583_uclibc_bc/sdk_tbc_dta_phase1/build/host-
ncurses-5.9/.stamp_built] Error 2
Makefile:19: recipe for target 'all' failed
make: *** [all] Error 2

As I checked, the error seems to be because automatically generated
lib_gen.c has some syntax error like:
NCURSES_EXPORT(int) (attroff) (int z)
{
        T((T_CALLED("attroff(%s)"), _traceattr2(0,(chtype)z)));
returnCode(wattr_off(stdscr, (attr_t)(z),
# 39 "_19107.c" 3 4
 ((void *)0)
# 39 "_19107.c"
));
}

But in an old fedora version compiling, the line "# 39 "_19107.c""
doesn't exist. This file is generated by a shell in ncurses, named
MKlib_gen.sh

Please kindly help to check this issue as it breaks my daily coding

Version-Release number of selected component (if applicable):


How reproducible:
On fedora 22 host, tried to compile host-ncurses from buildroot

Attachment: lib_gen.c
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]