Re: mozilla setup for framebuffer device (no X)
"Albrecht Ellinger" <[email protected]> 31 Aug 2005 07:55:53 -0700
| Newsgroups | gmane.comp.mozilla.devel.unix |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
Hello Newsgroup,
I have a mips processor, that is why my batch-call looks
a little bit different (I made symlinks to provide the mipsel-
linux-gcc/ld/cpp/cc )(btw: I do not really know, what Bootstrapcflags
means
but the build script complains when I do not set):
(cd build && make World BOOTSTRAPCFLAGS=-DMips
CROSSCOMPILEDIR=/opt/toolchain/arm-linux/bin)
I get the Error:
.....
cc -I../.. -I../../exports/include -I../../include
-I../../exports/include/X11 -DMips -DCROSSCOMPILE
-DCROSSCOMPILEDIR=\"/opt/toolchain/arm-linux/bin\" -c -o imake.o
imake.c
imake.c: In function `doit':
imake.c:813: error: union has no member named `w_T'
imake.c:814: error: union has no member named `w_T'
imake.c:815: error: union has no member named `w_T'
.....
I understand that there a 2 compilers involved:
One for the host , to build imake.c (and ccmake)
and one to cross compile.
In the source code: of line 813ff:
...
if (pid) { /* parent... simply wait */
while (wait(&status) > 0) {
errno = 0;
if (WIFSIGNALED(status))
LogFatalI("Signal %d.", waitSig(status)); // << line 813
if (WIFEXITED(status) && waitCode(status))
LogFatalI("Exit code %d.", waitCode(status));
}
}
else { /* child... dup and exec cmd */
if (verbose)
showargs(argv);
if (outfd)
dup2(fileno(outfd), 1);
execvp(cmd, argv);
LogFatal("Cannot exec %s.", cmd);
}
...
Why does this error occure?
Bye
Albrecht