Error during make libiscsi step

8 views
Skip to first unread message

Ankit Malik

unread,
Feb 24, 2016, 7:06:29 PM2/24/16
to libiscsi
Hello,

During libiscsi make step, it throws below error as a result it fails in make install. 
This started happening from today. Iam not sure but there was a commit to tool today, could that be the reason for failure?

Thanks
Ankit
\
testlibiscsi/libiscsi# make
map_simple.o -MD -MP -MF $depbase.Tpo -c -o test_unmap_simple.o test_unmap_simple.c &&\
mv -f $depbase.Tpo $depbase.Po
test_unmap_simple.c: In function ‘test_unmap_simple’:
test_unmap_simple.c:80:9: error: ‘ret’ may be used uninitialized in this function [-Werror=uninitialized]
cc1: all warnings being treated as errors
make[2]: *** [test_unmap_simple.o] Error 1
make[2]: Leaving directory `/testlibiscsi/libiscsi/test-tool'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/testlibiscsi/libiscsi'
make: *** [all] Error 2

ronnie sahlberg

unread,
Feb 24, 2016, 9:17:19 PM2/24/16
to libiscsi
Thanks!

Fixed in current master.
I will need to see why I don't get this warning and why it does not
fail my builds (with -Wall).
> --
> You received this message because you are subscribed to the Google Groups
> "libiscsi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to libiscsi+u...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages