On Saturday 14. Juli 2007: 00:39, Denis Vlasenko wrote: > You need to link a program againt the library only if you are actually using > something from the library. Unmodified bbox doesn't use ncurses, thus > I don't understand why you want to link it against ncurses.
> Anyway, if you are modifying bbox so that it indeed needs ncurses now, > then you can follow SELinux example in Makefile.flags: > ifeq ($(CONFIG_SELINUX),y) > LDLIBS += -lselinux -lsepol > endif > or you can modify scripts/trylink. > -- > vda Hello, thank you for your answer. I have indeed modified busybox; added an applet which needs ncurses. Makefile.flags was one file where I didn't look into. But unfortunately If I added fitting lines to it, it doesn't help either. I still get the message `undefined reference to ..' -> printw mvwprintw wborder waddch wrefresh and others LDLIBS += -ncurses or: LDLIBS += /usr/lib/libncurses.a Thank you in advance! Stefan _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
