This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Build toolchain failed


Hi J

I'm copying my reply to the list as it is a problem several people have had

M

---J wrote:---
I use you patchs for build a toolchain, but failed
when crosstool build glibc header. Can you help me to
solve this issue? The build log is in attachment.

[...]


mawk: scripts/gen-sorted.awk: line 19: regular expression compile failed (bad class -- [], [^] or [)
/[^
mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ]
mawk: scripts/gen-sorted.awk: line 19: runaway regular expression /, "", subd

[...]


/usr/bin/install: cannot stat ".../crosstool-0.42/build/arm-unknown-linux-gnueabi/gcc-4.1.0-glibc-2.4/build-glibc-headers/gnu/lib-names.h": No such file or directory
make[1]: *** [.../opt/gcc-4.1.0-glibc-2.4/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/include/gnu/lib-names.h]
error 1
make[1]: Leaving directory
`.../crosstool-0.42/build/arm-unknown-linux-gnueabi/gcc-4.1.0-glibc-2.4/glibc-2.4'
make: *** [install-headers] error 2

Having "mawk" installed is the cause - you need to install and use
"gawk", not mawk for crosstool.

Bless

M

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]