[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dhcpcd for 2.1.x kernels



hey.  apologies if this has been discussed a million times, i just joined
the list.

okay, i gotz debian 2.0 running at home (yes, unstable) and recently i tried
to compile dhcpcd-0.70.  works fine under 2.0.33.  under 2.1.89 it complains
about duplicate structures, etc, stuff like

/usr/include/linux/socket.h:38: warning: `SCM_RIGHTS' redefined
/usr/include/socketbits.h:211: warning: this is the location of the previous
definition

okay, well there's a patch for compiling dhcpcd under linux 2.1.x and i
applied it, but that appears not to be the problem.  rather, it appears to be
in the way debian organizes kernel include files.  under redhat, the file
/usr/include/net/if.h just includes /usr/include/linux/if.h so if you change
the simlink under /usr/src/linux when you boot a new kernel everything works.
lots of other files work this way, and this makes it easy to compile stuff for
different kernels.  on the other hand, under debian, lots of kernel include
files are duplicated under /usr/include.  they appear consistent with 2.0.33
but not with 2.1.x.

since i use road runner i am condemned to run kernel 2.0.33 in order 
to be a good kid and obey dhcp protocol :(

so, is this an intentional design feature of debian?  am i doing something
wrong?

    -- p




--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: