Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753471Ab3ISWfL (ORCPT ); Thu, 19 Sep 2013 18:35:11 -0400 Received: from nm19-vm1.access.bullet.mail.gq1.yahoo.com ([216.39.63.17]:34480 "EHLO nm19-vm1.access.bullet.mail.gq1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753881Ab3ISWfJ (ORCPT ); Thu, 19 Sep 2013 18:35:09 -0400 X-Yahoo-Newman-Id: 652807.45778.bm@smtp119.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: Iu7Kt_wVM1njoeoKzh7IxP8UwrPto1m9UQv5vNwQeWL41JR HOrkL.k6BCpZJNXr5zZYi0WI.yNdYy2olcQvXpmHfLR5avD8lhs5QHcfShQh GXO9EOlf9UuRKeInJ61tgIkAeWNCIUMhA22msLlKmBHFqZKH1Rry3HnY7aUl EWzJQ5il4H6w_1.oCZr9qgcVLSU3_LPynzHrEeaVaznaZc7mYXT2fR6KSnTz L4Q6eLtWURR_4lrudntIYbnE6YbUUUVZff.A2qT17fgNpzVk2G9jDSQ0ZpJc Ew7FT5TrghZj.ZquzmdPdaBuxOb0BwU3qygJEUfQGWjRi6_NVE8OAB0r3S0r M7Qj5r14d4m1jGXqiq9NZCKHgguxnFXHx5WZZYYn6WMSUpZUHYYEHw2f5bM_ oQ_9aBc1K9E5zjE9wsJYh7ZjrhCcjfSuQemAI6CobBZ_ZcFmssQzo_JLoFCW J6oacTX3jjdjzmjIYK7RUp9t4RXUJ9IBxMtROgLifhGPeVpvN5xy3Hzpgy9h wG2mjKVd1pjxBAd.IkgtuLal_xkMQ7UzcTjGElQpiUMTXASE.uk3WwTkPARC .0Ubdr8kmxXCP2mq2XZx36cfkWnutK0agjT0fgsCZJYDkS30MQcwuz1P63RY yGXrJYXrlXH0- X-Yahoo-SMTP: xXkkXk6swBBAi.5wfkIWFW3ugxbrqyhyk_b4Z25Sfu.XGQ-- X-Rocket-Received: from [192.168.1.4] (danielfsantos@99.70.244.137 with ) by smtp119.sbc.mail.gq1.yahoo.com with SMTP; 19 Sep 2013 22:35:08 +0000 UTC Message-ID: <523B7C38.8050609@att.net> Date: Thu, 19 Sep 2013 17:35:36 -0500 From: Daniel Santos Reply-To: Daniel Santos User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130730 Thunderbird/17.0.7 MIME-Version: 1.0 To: David Howells , linux-kbuild CC: Daniel Santos , LKML , Michal Marek , Andrew Morton , "Paul E. McKenney" , Thomas Gleixner , Michael Kerrisk , Dave Hansen , George Spelvin Subject: Re: [PATCH 1/5] scripts: Add mkstrerror.sh References: <1379459317-13046-2-git-send-email-daniel.santos@pobox.com> <1379459317-13046-1-git-send-email-daniel.santos@pobox.com> <29168.1379504300@warthog.procyon.org.uk> In-Reply-To: <29168.1379504300@warthog.procyon.org.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2463 Lines: 65 On 09/18/2013 06:38 AM, David Howells wrote: > danielfsantos@att.net wrote: > >> This is a simple bash script that parses our errno*.h files and formats >> them into the error_strings.h header that our strerror and strerror_name >> functions will use later. > I presume you haven't tried building with a "make O=foo" build directory? I > see: > > /bin/sh: /data/fs/linux-2.6-fscache/include/generated/error_strings.h: No such file or directory > > when I try it. Hmm, I cannot reproduce the error. :( I'm using next-20130919 currently (x86_64), and if I try to just "make O=lib" it fails w/o my patches. The only file that should depend upon error_strings.h is lib/string.c. /home/daniel/proj/kernel/git (daniel@loudmouth)$ make mrproper -j4 /home/daniel/proj/kernel/git (daniel@loudmouth)$ make defconfig -j4 HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.lex.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf *** Default configuration is based on 'x86_64_defconfig' # # configuration written to .config # /home/daniel/proj/kernel/git (daniel@loudmouth)$ make O=lib -j4 HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --silentoldconfig Kconfig *** *** Configuration file ".config" not found! *** *** Please run some configurator (e.g. "make oldconfig" or *** "make menuconfig" or "make xconfig"). *** make[3]: *** [silentoldconfig] Error 1 make[2]: *** [silentoldconfig] Error 2 make[2]: Nothing to be done for `all'. make[1]: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop. make[1]: *** Waiting for unfinished jobs.... make: *** [sub-make] Error 2 Is this some other subtle bug currently in -next or are you just supposed to run "make prepare" first? I injected the generation of error_names.h as a dependency of prepare1 (rightly or wrongly). I'm still studying the kbuild process to try to find a better place for it or to at least clean up the way it's generated. Daniel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/