[BusyBox] config system doesn't compile

Robert Schwebel robert at schwebel.de
Tue Dec 10 11:37:28 UTC 2002


On Tue, Dec 10, 2002 at 07:14:08PM +0100, Steven Scholz wrote:
> Have a look at the thread "[BusyBox] conflicting types for `bool'..." started on
> Dec 5...
> 
> I updated my ncurses and everything's fine.

Ah, correct - I missed the thread. However, if ncurses is installed in
/usr/local instead of /usr the following patch has to be applied: 

----------8<----------
diff -u -b -B -w -p -u -r1.1 Makefile
--- Makefile	5 Dec 2002 08:41:06 -0000	1.1
+++ Makefile	10 Dec 2002 18:32:48 -0000
@@ -16,6 +16,12 @@ else
 ifeq (/usr/include/ncurses/curses.h, $(wildcard /usr/include/ncurses/curses.h))
 	HOSTCFLAGS += -I/usr/include/ncurses -DCURSES_LOC="<ncurses/curses.h>"
 else
+ifeq (/usr/local/include/ncurses/ncurses.h, $(wildcard /usr/local/include/ncurses/ncurses.h))
+	HOSTCFLAGS += -I/usr/local/include/ncurses -DCURSES_LOC="<ncurses.h>"
+else
+ifeq (/usr/local/include/ncurses/curses.h, $(wildcard /usr/local/include/ncurses/curses.h))
+	HOSTCFLAGS += -I/usr/local/include/ncurses -DCURSES_LOC="<ncurses/curses.h>"
+else
 ifeq (/usr/include/ncurses.h, $(wildcard /usr/include/ncurses.h))
 	HOSTCFLAGS += -DCURSES_LOC="<ncurses.h>"
 else
@@ -23,7 +29,8 @@ else
 endif
 endif
 endif
-
+endif
+endif
 
 CONF_SRC  =conf.c zconf.tab.c
 MCONF_SRC =mconf.c zconf.tab.c
----------8<----------

This is valid for BusyBox and uClibc. 

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Braunschweiger Str. 79,  31134 Hildesheim, Germany
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4



More information about the busybox mailing list