Compiler errors

3 views
Skip to first unread message

Bob M

unread,
Oct 31, 2008, 2:46:37 PM10/31/08
to zfs-fuse
Trying to compile zfs-fuse on the new Ubuntu Intrepid Ibex (gcc-4.3)

cc1: warnings being treated as errors
cmd/zdb/zdb.c: In function 'zdb_dump_block_raw':
cmd/zdb/zdb.c:2007: error: ignoring return value of 'write', declared
with attribute warn_unused_result

I suspect there are a lot more of those. Anyway, some work needed for
gcc 4.3...

Roland

unread,
Oct 31, 2008, 3:43:12 PM10/31/08
to zfs-fuse, bob.mc...@gmail.com
Hello,

maybe you could try removing -Werror from the CCFLAGS in the appropriate
SConstruct file.

also see
http://groups.google.com/group/zfs-fuse/browse_thread/thread/9dedf105b301ea06

hth
roland

Michael C

unread,
Nov 11, 2008, 8:56:03 PM11/11/08
to zfs-fuse
Bob M,

Prior to reading Roland's advice I performed the same steps and it
worked.

Michael

On Oct 31, 11:43 am, "Roland" <devz...@web.de> wrote:
> Hello,
>
> maybe you could try removing -Werror from the CCFLAGS in the appropriate
> SConstruct file.
>
> also seehttp://groups.google.com/group/zfs-fuse/browse_thread/thread/9dedf105...
Reply all
Reply to author
Forward
0 new messages