From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LtWAM-0006Km-Jm for mharc-grub-devel@gnu.org; Mon, 13 Apr 2009 20:06:18 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LtWAK-0006JC-Js for grub-devel@gnu.org; Mon, 13 Apr 2009 20:06:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LtWAF-0006DA-Qw for grub-devel@gnu.org; Mon, 13 Apr 2009 20:06:15 -0400 Received: from [199.232.76.173] (port=48997 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LtWAF-0006Cs-I6 for grub-devel@gnu.org; Mon, 13 Apr 2009 20:06:11 -0400 Received: from smtp101.vzn.mail.re1.yahoo.com ([69.147.103.188]:37447) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LtWAF-0007H7-2r for grub-devel@gnu.org; Mon, 13 Apr 2009 20:06:11 -0400 Received: (qmail 7270 invoked from network); 14 Apr 2009 00:06:10 -0000 Received: from unknown (HELO ?192.168.2.5?) (jpsinthemix@68.239.115.78 with plain) by smtp101.vzn.mail.re1.yahoo.com with SMTP; 14 Apr 2009 00:06:10 -0000 X-YMail-OSG: BnJ_s5IVM1nwRWKiebf15d.czOJebING38z1rBPzBo3ZFzr11mw6oKYUbG7wXVNs2S9jCSVLwYLnJhP8snoO9X5OJeR.e7kSrInKzAeFELY2eavya5luOqouVBLwHXvfG007A8ZVRdH3FX0YouolwCzlYTUwMR7jw_LBW3iHKm3CU8QeUUKOMgHfIYfiPBSyeu_FvOddVi1hhhwAF3Yb4zlmgrMh1GESGVhqzE_pdpNtE8dwA.yEBWpZG6szewQoqrcsCWXNEx_FoqU- X-Yahoo-Newman-Property: ymail-3 Message-ID: <49E3E185.3040609@verizon.net> Date: Mon, 13 Apr 2009 21:06:13 -0400 From: John Stanley User-Agent: Thunderbird 2.0.0.21 (X11/20090302) MIME-Version: 1.0 To: grub-devel@gnu.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) Subject: grub-fstest build issue in grub2-r2071 + X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Apr 2009 00:06:16 -0000 Hi all, I have built grub2-r2065 and it works nicely for me so far for linux boots (love the graphics!!). However, beginning with r2071, I am unable to build it with the "--enable-grub-fstest" option due to several undefined refs: # --------------------------------------------------------------------------------------------------------- # Fix grub_fstest-normal_misc.o unresolve ref error: # In function `grub_normal_print_device_info': # /build/grub2-r2077-jps_src/grub2-r2077/normal/misc.c:74: undefined reference to `grub_unixtime2datetime' # /build/grub2-r2077-jps_src/grub2-r2077/normal/misc.c:75: undefined reference to `grub_get_weekday_name' # grub_fstest-commands_ls.o: In function `print_files_long': # /build/grub2-r2077-jps_src/grub2-r2077/commands/ls.c:149: undefined reference to `grub_unixtime2datetime' # /build/grub2-r2077-jps_src/grub2-r2077/commands/ls.c:151: undefined reference to `grub_get_weekday_name' # collect2: ld returned 1 exit status # make: *** [grub-fstest] Error 1 # ---------------------------------------------------------------------------------------------------------- # conf/common.rmk is used by configure to generate conf/common.mk, so modify the former. To handle this (I'm now building r2101), I add normal/datetime to the grub-fstest build specs, as follows: # ----------------------------------------------------------------------------------------------------------------- # Only add normal/datetime.c if not present: sed '/grub-fstest.c_DEPENDENCIES/,/For /{s:normal/datetime.c:jps:}' \ conf/common.rmk |grep -q jps || sed -i 's:^grub_fstest_SOURCES =:& normal/datetime.c:' conf/common.rmk # ------------------------------------------------------------------------------------------------------------------ Has anyone come across this ? Actually, I'm not even sure what fstest is used for, so I could simply remove the option when I do configure... John