[lfs-dev] udev-lfs-186

Bruce Dubbs bruce.dubbs at gmail.com
Sat Jul 14 14:35:32 PDT 2012

Armin K. wrote:
> On 07/14/2012 10:49 PM, Bruce Dubbs wrote:
>> I'll take a look.  Thanks for the suggestions.

> Here are some corrections to your work. I've defined path to usb.ids and
> pci.ids, added common library to shared libudev because there are
> undefined references later when linking against that one. Also, I've
> modified installation to install gtk-doc htmldocs that are present there.


I haven't had time to look at everything yet, but I did find out that a 
sed works too:

$ sed -i 's/off_t factor;/int64_t factor;/' src/shared/util.c

I think that's a smaller fix as far a code generation goes.  It's just a 
build issue though. The functions that use this code are not used in 
udev.  The compile options -ffunction-sections -fdata-sections and the 
link options -Wl,--as-needed -Wl,--gc-sections mean that this code never 
gets built into the executables and they are not in libudev either.

   -- Bruce

More information about the lfs-dev mailing list