SV: Error when compiling DHCP 4.1.2

Nils.Magnusson at teliasonera.com Nils.Magnusson at teliasonera.com
Mon Jan 10 10:07:44 UTC 2011


I also had the same problem under Fedora 14. I only edited the file dhcpctl/Makefile and removed the option -Werror from the CFLAGS. It is only a warning but becomes an error due to the -Werror flag. The best thing would be to remove the warning in the first place. I have not had any problems due to this warning.

Rgds
Nisse


Från: dhcp-users-bounces+nils.magnusson=teliasonera.com at lists.isc.org [mailto:dhcp-users-bounces+nils.magnusson=teliasonera.com at lists.isc.org] För arun.sasi1 at wipro.com
Skickat: den 10 januari 2011 05:19
Till: dhcp-users at lists.isc.org
Ämne: RE: Error when compiling DHCP 4.1.2

Hi,

What is your OS.. Have you installed correct GCC and make, automake version.... Check DHCP Install manual and confirm the version compatibility

Check the installed path permission too

Thanks
-Arun

From: dhcp-users-bounces+arun.sasi1=wipro.com at lists.isc.org [mailto:dhcp-users-bounces+arun.sasi1=wipro.com at lists.isc.org] On Behalf Of THOMAS
Sent: Monday, January 10, 2011 8:24 AM
To: dhcp-users
Subject: Error when compiling DHCP 4.1.2

Hi,
When I was compiling DHCP 4.1.2, it printed the following errors and stopped:

gcc -DHAVE_CONFIG_H -I. -I../includes     -g -O2  -Wall -Werror -fno-strict-aliasing -MT omshell.o -MD -MP -MF .deps/omshell.Tpo -c -o omshell.o omshell.c
cc1: warnings being treated as errors
omshell.c: In function 'main':
omshell.c:193:5: error: case value '10' not in enumerated type 'enum dhcp_token'
omshell.c:197:5: error: case value '63' not in enumerated type 'enum dhcp_token'
make[1]: *** [omshell.o] Error 1

Could you do me a favor and help solve the problem?

Please do not print this email unless it is absolutely necessary.

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20110110/5b973d80/attachment.html>


More information about the dhcp-users mailing list