Updated version of Michael Labuschke's patch for 3.0.1, based on comments in the redhat bugzilla. See blfs bug 1313 for alternative methods of resolving this issue.
Ken -- das eine Mal als Trag�die, das andere Mal als Farce
Submitted By: Ken Moffat (ken at kenmoffat dot uklinux dot net) Date: 2005-04-19 Initial Package Version: 3.0.2 Upstream Status: Not Submitted (works around a gcc-3.4.3 bug) Origin: Based on Michael Labuschke's patch for version 3.0.1, "error: mode `byte' applied to inappropriate type" but modified based on a comment from Jakub Jelinek in https://bugzilla.redhat.com/beta/show_bug.cgi?id=144358 The correct fix will be to use gcc-3.4.4 when that is released, but in the meantime LFS-6.1 is using 3.4.3. See also BLFS bug 1313. diff -Naur dhcp-3.0.2.orig/includes/dhcpd.h dhcp-3.0.2/includes/dhcpd.h --- dhcp-3.0.2.orig/includes/dhcpd.h 2004-11-24 17:39:16.000000000 +0000 +++ dhcp-3.0.2/includes/dhcpd.h 2005-04-18 21:28:16.000000000 +0100 @@ -306,9 +306,9 @@ # define EPHEMERAL_FLAGS (MS_NULL_TERMINATION | \ UNICAST_BROADCAST_HACK) - binding_state_t __attribute__ ((mode (__byte__))) binding_state; - binding_state_t __attribute__ ((mode (__byte__))) next_binding_state; - binding_state_t __attribute__ ((mode (__byte__))) desired_binding_state; + uint8_t binding_state; + uint8_t next_binding_state; + uint8_t desired_binding_state; struct lease_state *state;
-- http://linuxfromscratch.org/mailman/listinfo/patches FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
