Opened 19 years ago

Closed 19 years ago

Last modified 16 years ago

#1313 closed defect (fixed)

Compiling of DHCP-3.0.2 does not work with gcc-3.4.3

Reported by: ms@… Owned by: blfs-book@…
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:2 by DJ Lucas, 19 years ago

Status: newassigned

comment:3 by DJ Lucas, 19 years ago

Resolution: fixed
Status: assignedclosed

comment:4 by (none), 16 years ago

Milestone: 6.1

Milestone 6.1 deleted

Note: See TracTickets for help on using tickets.