Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jan 2010 19:44:00 +0300
From:      pluknet <pluknet@gmail.com>
To:        Dmitriy Demidov <dima_bsd@inbox.lv>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Help test softupdates journaling (SUJ)
Message-ID:  <a31046fc1001100844s112b770bx7835d38b3fe72fd6@mail.gmail.com>
In-Reply-To: <201001101827.09631.dima_bsd@inbox.lv>
References:  <201001101526.49411.dima_bsd@inbox.lv> <a31046fc1001100549w3b680a7bq4efa19401257c799@mail.gmail.com> <201001101827.09631.dima_bsd@inbox.lv>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/1/10 Dmitriy Demidov <dima_bsd@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a31046fc1001100844s112b770bx7835d38b3fe72fd6>