Opened 9 years ago

Closed 9 years ago

#3864 closed defect (invalid)

Build failure with GCC 5.2. while compile ncurses-6.0

Reported by: Oleksii Owned by: lfs-book@…
Priority: normal Milestone: 7.9
Component: Book Version: SVN
Severity: normal Keywords: ncurses, gcc
Cc:

Description

Linux From Scratch - Version 7.8 Chapter 6. Installing Basic System Software

Build failure with GCC 5.2. while compile ncurses-6.0 I am not programmer and not sure, where is root of issue.

But I have investigate error message and found patch there https://lists.gnu.org/archive/html/bug-ncurses/2015-08/msg00024.html

With patch and new source pack from site compilation completed pretty OK

Please, look over and may be need update manual.

,---- | gcc -DHAVE_CONFIG_H -I. -I/tmp/buildd/ncurses-6.0/ncurses -I../include -I/tmp/buildd/ncurses-6.0/ncurses/../include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -g -O2 -fstack-protector-strong -Wformat -Werror=format-security --param max-inline-insns-single=1200 -fPIC -c ../ncurses/lib_gen.c -o ../obj_s/lib_gen.o | In file included from /tmp/buildd/ncurses-6.0/ncurses/curses.priv.h:325:0, | from ../ncurses/lib_gen.c:19: | _6838.c:843:15: error: expected ')' before 'int' | ../include/curses.h:1631:56: note: in definition of macro 'mouse_trafo' | #define mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen) | | Makefile:1861: recipe for target '../obj_s/lib_gen.o' failed | make[2]: * obj_s/lib_gen.o Error 1 | make[2]: Leaving directory '/tmp/buildd/ncurses-6.0/obj/ncurses' | Makefile:113: recipe for target 'all' failed | make[1]: * [all] Error 2 | make[1]: Leaving directory '/tmp/buildd/ncurses-6.0/obj' | debian/rules:292: recipe for target 'build-normal' failed | make: * [build-normal] Error 2 | dpkg-buildpackage: error: debian/rules build gave error exit status 2

Thank You!

Change History (1)

comment:1 by bdubbs@…, 9 years ago

Resolution: invalid
Status: newclosed

This is not the place to ask for help when you run into a problem. Ask on the mailing list lfs-support.

I'll note here however that there should be no reference to debian or dpkg when building ncurses.

Note: See TracTickets for help on using tickets.