[BLFS Trac] #2762: DHCP-4.1.0

BLFS Trac trac at linuxfromscratch.org
Mon Dec 29 15:38:08 PST 2008


#2762: DHCP-4.1.0
----------------------------------------+-----------------------------------
 Reporter:  randy@…                     |       Owner:  blfs-book@…                   
     Type:  task                        |      Status:  new                           
 Priority:  normal                      |   Milestone:  6.4                           
Component:  BOOK                        |     Version:  SVN                           
 Severity:  normal                      |    Keywords:                                
----------------------------------------+-----------------------------------

Comment(by ken@…):

 Doesn't build for me.

 {{{
 if gcc -DHAVE_CONFIG_H -I. -I. -I../includes  -I..
 -DLOCALSTATEDIR='"/var"'   -g -O2  -Wall -Werror -fno-strict-aliasing -MT
 socket.o -MD -MP -MF ".deps/socket.Tpo" -c -o socket.o socket.c; \
         then mv -f ".deps/socket.Tpo" ".deps/socket.Po"; else rm -f
 ".deps/socket.Tpo"; exit 1; fi
 socket.c: In function ‘send_packet6’:
 socket.c:591: error: invalid application of ‘sizeof’ to incomplete type
 ‘struct in6_pktinfo’
 socket.c:628: error: dereferencing pointer to incomplete type
 }}}

 I remember 4.0.0 would not work for me, but I've now got the whole set of
 gentoo patches for 4.0.0, will have a look to see if I can get either this
 version or 4.0.0 to build now.

 NB as of 4.0.0 it didn't need LIBDIR and INCDIR, but dhclient needed to be
 moved from /usr/sbin to /sbin - dhcpcd and dhcrelay can presumably stay in
 /usr.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2762#comment:1>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list