http://bugs.linuxfromscratch.org/show_bug.cgi?id=1589

           Summary: binutils won't compile
           Product: Linux From Scratch
           Version: 6.0
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P5
         Component: Book
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]


I'm just at the beginning of the Linux From Scratch process where I'm compiling
binutils-2.15.91.0.2 (pass 1) in section 5.4.

The "host" OS is Fedora Core 4 (kernel 2.6.12, gcc 4.0.0).

When I type in make LDFLAGS="-all-static" and during the compile of gas, when it
was compiling app.c, I get

gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -I. -I. -I../bfd -I./config
-I./../include -I./.. -I./../bfd -I./../intl -I../intl
-DLOCALEDIR="\"/tools/share/locale\""   -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -g -O2 -c app.c
In file included from ./targ-cpu.h:1,
                 from ./config/obj-elf.h:42,
                 from ./obj-format.h:1,
                 from ./config/te-linux.h:4,
                 from targ-env.h:1,
                 from as.h:629,
                 from app.c:30:
./config/tc-i386.h:457: error: array type has incomplete element type

I've looked at tc-i386.h and there is an array defined there of struct
relax_type but what I should do to get this to compile is beyond me at this
point.  Suggestions welcome.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to