Randy McMurchy wrote:
> William Immendorf wrote these words on 02/19/10 16:24 CST:
>> Trying the instructions in the book (with a LFS 6.6-rc1 base system),
>> using make -f unix/Makefile linux, on a 64bit Core 2 Duo 2.4ghz
>> system, I get stopped at the near beginning with these errors:
> 
> Bruce, if you can confirm this (I know you said something about this
> before), it would be appreciated. What does linux-noasm stand for?

Yes, I can confirm it.  The targets for linux are:

linux:      unix_make
   @echo 'NOTE:  use linux_noasm target for non-Intel Linux compiles.'
   $(MAKE) unzips CC=gcc LD=gcc AS=gcc\
   CFLAGS="-O3 -Wall -DASM_CRC"\
   AF="-Di386 $(AF)" CRCA_O=crc_gcc$O

linux_noasm:   unix_make
    $(MAKE) unzips CC=gcc LD=gcc CFLAGS="-O -Wall"

If you use the wrong one on a pure 64 system, then you need to remove 
the directory and re-extract or run

   make -f unix/Makefile clean

There is also:

unix_.o: In function `set_symlnk_attribs':
unix.c:(.text+0x3ad): warning: warning: lchmod is not implemented and 
will always fail

But unzip is built and seems to work.

I get a cleaner build if I change the noasm line to:

   $(MAKE) unzips CC=gcc LD=gcc CFLAGS="-O3 -Wall -DNO_LCHMOD"

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to