[lfs-support] FYI: LFS-7.2

Baho Utot baho-utot at columbus.rr.com
Thu Sep 6 17:08:49 PDT 2012


On 09/06/2012 04:38 PM, Bruce Dubbs wrote:
> Baho Utot wrote:
>> On 09/06/2012 03:10 PM, Bruce Dubbs wrote:
>>> Baho Utot wrote:
>>>
>>>> I only thing I had a problem on was udev in which I had to add
>>>> -ludev-local.a to LDFLAGS.
>>> Can you go into detail about why you found this needed.
>>> build/udev-local.a is supposed to be included in executables directly as
>>> an archive, not searched as a library.
>> What happened is that gcc failed to link as it did not find the static
>> lib so I added that to the LDFLAGS and it then compiled and linked.
>> That is all the info I have on this at this time. It is as I remember
>> it...Sorry
>>
>> Since I am going to rebuild using my scripts to test them before
>> commiting them to github I will remove the LDFLAGS
>> and if it fails I can then forward the build.log for it so you can
>> examine it.
> Yes, I'd appreciate that.  Remember that udev-local.a is not supposed to
> be linked against.  It is specified explicitly.  For example:
>
> COMMON_LIB = udev-local.a
>
> build/udevd: ...
>     gcc build/udevd.o $(UDEVD_OBJS) -o $@ $(LDFLAGS2) \
>         build/udev-local.a build/$(COMMON_LIB)
>
> Oops. That's repetitive, but it shouldn't make any difference.
>
>     -- Bruce
>

The error comes from using -j4 in the MAKEFLAGS variable
when I used make -j1 -f udev-lfs-188/Makefile.lfs all is well

Attached is the log file but I don't think you'll find anything in there


-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: text/x-log
Size: 3043 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20120906/abf477fc/attachment.bin>


More information about the lfs-support mailing list