#45: Building Linux requires ncurses. -----------------------+---------------------------------------------------- Reporter: parasytic | Owner: Type: defect | Status: new Priority: major | Milestone: 4.9 Component: bootdisk | Version: 4.8 Keywords: | -----------------------+---------------------------------------------------- This is most obvious when building linuxboot on a non-x86 host. For example, I use Linux x86_64.
Building the Linux kernel requires libncurses. Since ncurses is downloaded and built by the makefile anyway, it should be used as a build dependency for Linux. Currently, the Makefile attempts to build Linux first, with the mrproper target: {{{ make CC="gcc -m32" HOSTCC="gcc -m32" -C linux-2.6.35.8 mrproper make[1]: Entering directory `unattended/trunk/linuxboot/linux-2.6.35.8' make[1]: Leaving directory `unattended/trunk/linuxboot/linux-2.6.35.8' cp -f misc/linux-config linux-2.6.35.8/.config make CC="gcc -m32" HOSTCC="gcc -m32" -C linux-2.6.35.8 ARCH=i386 oldconfig make[1]: Entering directory `unattended/trunk/linuxboot/linux-2.6.35.8' HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/docproc HOSTCC scripts/basic/hash HOSTCC scripts/kconfig/conf.o scripts/kconfig/conf.c: In function ‘conf_askvalue’: scripts/kconfig/conf.c:105: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result scripts/kconfig/conf.c: In function ‘conf_choice’: scripts/kconfig/conf.c:307: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result HOSTCC scripts/kconfig/kxgettext.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/lex.zconf.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux- gnu/4.4.3/../../../libncurses.so when searching for -lncurses /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux- gnu/4.4.3/../../../libncurses.a when searching for -lncurses /usr/bin/ld: skipping incompatible /usr/lib/libncurses.so when searching for -lncurses /usr/bin/ld: skipping incompatible /usr/lib/libncurses.a when searching for -lncurses /usr/bin/ld: cannot find -lncurses collect2: ld returned 1 exit status make[2]: *** [scripts/kconfig/conf] Error 1 make[1]: *** [oldconfig] Error 2 make[1]: Leaving directory `unattended/trunk/linuxboot/linux-2.6.35.8' make: *** [linux-2.6.35.8/.config] Error 2 }}} I can install the ncurses 32-bit development package from my distro (Ubuntu) to workaround the issue: {{{ $ sudo apt-get install lib32ncurses5-dev }}} -- Ticket URL: <http://sourceforge.net/apps/trac/unattended/ticket/45> Unattended <https://apps.sourceforge.net/trac/unattended/> This is a system for fully automating the installation of Windows 2000 Professional and Server, Windows XP, and Windows Server 2003. ------------------------------------------------------------------------------ Achieve Improved Network Security with IP and DNS Reputation. Defend against bad network traffic, including botnets, malware, phishing sites, and compromised hosts - saving your company time, money, and embarrassment. Learn More! http://p.sf.net/sfu/hpdev2dev-nov _______________________________________________ unattended-devel mailing list unattended-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-devel