[lfs-support] FYI: LFS-7.2
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
>> 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...
Size: 3043 bytes
Desc: not available
More information about the lfs-support