cc1plus: all warnings being treated as errors

Eric Kom erickom at kom.za.net
Sat Jul 16 22:53:19 UTC 2011


Hi all,

Please I'm trying to install bind10 without success; ./configure seeming
to be well done but "Make" command gave Error.

I'm running Debian Sid as a OS.

Please, see below the Errors:


make[6]: Entering directory `/root/bind10-devel-20110705/src/bin/dhcp6'
g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../src/lib
-I../../../src/lib -I../../../src/bin -I../../../src/bin
-I../../../src/lib/dns -I../../../src/lib/dns -I../../../src/lib/cc
-I../../../src/lib/cc -I../../../src/lib/asiolink
-I../../../src/lib/asiolink  -I../../../ext/asio
-I../../../ext/coroutine -DASIO_DISABLE_THREADS=1 -Wall -Wextra
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Werror -fPIC -g
-O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cc
main.cc: In function ‘int main(int, char**)’:
main.cc:62:17: error: variable ‘uid’ set but not used
[-Werror=unused-but-set-variable]
main.cc:63:10: error: variable ‘cache’ set but not used
[-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors

make[6]: *** [main.o] Error 1
make[6]: Leaving directory `/root/bind10-devel-20110705/src/bin/dhcp6'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/root/bind10-devel-20110705/src/bin/dhcp6'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/root/bind10-devel-20110705/src/bin/dhcp6'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/bind10-devel-20110705/src/bin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/bind10-devel-20110705/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/bind10-devel-20110705'
make: *** [all] Error 2

Thanks a lot

-- 
Your Truly

Eric Kom

2 Hennie Van Till, White River, 1240
erickom at kom.za.net | erickom at namekom.co.za | erickom at erickom.co.za
www.kom.za.net | www.kom.za.org | www.erickom.co.za

Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0xA9DA1EF5.asc
Type: application/pgp-keys
Size: 2174 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/bind10-users/attachments/20110717/6effb6ad/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <https://lists.isc.org/pipermail/bind10-users/attachments/20110717/6effb6ad/attachment-0001.bin>


More information about the bind10-users mailing list