#1313 closed defect (fixed)
Compiling of DHCP-3.0.2 does not work with gcc-3.4.3
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | |
Component: | BOOK | Version: | c-6.0 |
Severity: | trivial | Keywords: | |
Cc: |
Description ¶
As the summary says, compiling of DHCP-3.0.2 does not work with gcc-3.4.3: ---8<--- make[2]: Entering directory `/usr/src/packages/SOURCES/dhcp/3/0/2/work.linux-2.2/common' cc -g -I/usr/src/packages/SOURCES/dhcp/3/0/2 -I/usr/src/packages/SOURCES/dhcp/3/0/2/includes -DLINUX_MAJOR=2 -DLINUX_MINOR=6
-c -o raw.o raw.c
In file included from raw.c:53: /usr/src/packages/SOURCES/dhcp/3/0/2/includes/dhcpd.h:309: error: mode `byte' applied to inappropriate type /usr/src/packages/SOURCES/dhcp/3/0/2/includes/dhcpd.h:310: error: mode `byte' applied to inappropriate type /usr/src/packages/SOURCES/dhcp/3/0/2/includes/dhcpd.h:311: error: mode `byte' applied to inappropriate type make[2]: * [raw.o] Error 1 ---8<--- It seems to be a known problem as described in https://bugzilla.redhat.com/beta/show_bug.cgi?id=144358 and other places, and as suggested there, I installed a newer version of gcc (3.4.4 20050415-prerelease) and dhcp-3.0.2 compiled fine then.
I know, that BLFS advises to install gcc-3.4.1 and then gcc-3.3.4, so that this problem meight not occour then. But perhaps you can give a hint on the html-page of dhcp.
regards and lot of thanks for (b)lfs - it is really helpful, Matthias
Change History (4)
comment:1 by , 20 years ago
Milestone: | future → 6.1 |
---|
comment:2 by , 20 years ago
Status: | new → assigned |
---|
comment:3 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
http://www.linuxfromscratch.org/patches/downloads/dhcp/dhcp-3.0.1-fix_gcc_3.4.3_compile_error-1.patch