Re: Help test softupdates journaling (SUJ)

From: pluknet <pluknet_at_gmail.com>
Date: Sun, 10 Jan 2010 19:44:00 +0300
2010/1/10 Dmitriy Demidov <dima_bsd_at_inbox.lv>:
> On Sunday 10 January 2010, pluknet wrote:
>> After looking on line numbers I'd suggest you to check
>> if you've applied the patch two times (so suj.c "duplicates" itself).
>>
[...]
> cc -O0 -pipe -I/usr/src/sbin/fsck_ffs -I/usr/src/sbin/fsck_ffs/../mount -g -DRESCUE -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/sbin/fsck_ffs/suj.c
> cc1: warnings being treated as errors
> /usr/src/sbin/fsck_ffs/suj.c:397: warning: 'ino_isfree' defined but not used
> *** Error code 1
>

You've patched correctly. The problem is in source itself:
the ino_isfree() function was used in an earlier patch but
#if 0'defed out in the current one. You should comment out
ino_isfree() body to silent the compiler and try again.

-- 
wbr,
pluknet
Received on Sun Jan 10 2010 - 15:44:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:59 UTC