[BusyBox] [PATCH] udhcp: dhcpc.c error: label at end of compound statement
Jan Lana
jan.lana at sun.com
Wed Oct 20 10:21:42 UTC 2004
Hi all,
I cannot compile the udhcp with gcc 3.4.2. I have got
=======================================================
uclibc-gcc -c -DSYSLOG -W -Wall -Wstrict-prototypes -DVERSION='"0.9.8"' -Os -fomit-frame-pointer dhcpc.c
dhcpc.c: In function `perform_renew':
dhcpc.c:135: error: label at end of compound statement
make[1]: *** [dhcpc.o] Error 1
=======================================================
I attached a simple patch that solves the compile error.
but maybe not in correct way ....
Regards,
- Jenda
--- dhcpc.c.orig 2004-10-20 12:11:42.000000000 +0200
+++ dhcpc.c 2004-10-20 12:20:47.000000000 +0200
@@ -131,7 +131,7 @@
change_mode(LISTEN_RAW);
state = INIT_SELECTING;
break;
- case INIT_SELECTING:
+ case INIT_SELECTING: break;
}
/* start things over */
More information about the busybox
mailing list