Help test softupdates journaling (SUJ)
pluknet
pluknet at gmail.com
Sun Jan 10 16:44:08 UTC 2010
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
More information about the freebsd-current
mailing list