Linux MIPS Architecture development
 help / color / mirror / Atom feed
* diet-X11 fails /include/bits/types.h
@ 2006-01-05 22:28 Robert Woerle
  2006-01-06 15:06 ` Robert Woerle
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Woerle @ 2006-01-05 22:28 UTC (permalink / raw)
  To: linux-mips

Hi

i am new to mips and i am compiling a familiar gpe image for mips based
systems .
Now diet-X11 and X11 are breaking to compile on the below error.
I googled  and found various occasions of this /include/bits/types.h
causing problems

i guess that has something todo with combination on compiler and glibc
seems also glibc-2.3.5 fails on that

i am using for that build
glibc-2.3.3
gcc-cross-3.3.4

make[2]: Entering directory
`/home/bob/Handhelds/oe/stuff/mips-build/tmp/work/diet-x11-6.2.1cvs20050226-r5/X11/src/util'
| if gcc -DHAVE_CONFIG_H -I.
-I/home/bob/Handhelds/oe/stuff/mips-build/tmp/work/diet-x11-6.2.1cvs20050226-r5/X11/src/util
-I../../src  
-I/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include
-Wall -Wpointer-arith -Wstrict-prototypes        -Wmissing-prototypes
-Wmissing-declarations     -Wnested-externs -fno-strict-aliasing
-I/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include
-I/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include/X11/Xtrans  
-D_XOPEN_SOURCE=500
-I/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include  
-I/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2
-MT makekeys-makekeys.o -MD -MP -MF ".deps/makekeys-makekeys.Tpo" -c -o
makekeys-makekeys.o `test -f 'makekeys.c' || echo
'/home/bob/Handhelds/oe/stuff/mips-build/tmp/work/diet-x11-6.2.1cvs20050226-r5/X11/src/util/'`makekeys.c;
\
| then mv -f ".deps/makekeys-makekeys.Tpo" ".deps/makekeys-makekeys.Po";
else rm -f ".deps/makekeys-makekeys.Tpo"; exit 1; fi
| In file included from
/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include/sys/types.h:31,
|                  from
/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include/X11/Xos.h:59,
|                  from makekeys.c:34:
|
/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include/bits/types.h:127:3:
#error
| In file included from
/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include/sys/types.h:31,
|                  from
/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include/X11/Xos.h:59,
|                  from makekeys.c:34:
|
/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include/bits/types.h:136:
error: syntax error before "__dev_t"
|
/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include/bits/types.h:136:
warning: type defaults to `int' in declaration of `__dev_t'
|
/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include/bits/types.h:136:
warning: data definition has no type or storage class
|
/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include/bits/types.h:140:
error: syntax error before "__ino64_t"

any hint is greatly appriciated
regards

rob_w

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: diet-X11 fails /include/bits/types.h
  2006-01-05 22:28 diet-X11 fails /include/bits/types.h Robert Woerle
@ 2006-01-06 15:06 ` Robert Woerle
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Woerle @ 2006-01-06 15:06 UTC (permalink / raw)
  To: linux-mips

Ok check that types.h and to me it looks that nothing in my toolchain
provides WORDSIZE
so i used the WORDSIZE=32 values and filled them in the 3rd else statement .
now all compiles fine


Robert Woerle schrieb:
>Hi
>
>i am new to mips and i am compiling a familiar gpe image for mips based
>systems .
>Now diet-X11 and X11 are breaking to compile on the below error.
>I googled  and found various occasions of this /include/bits/types.h
>causing problems
>
>i guess that has something todo with combination on compiler and glibc
>seems also glibc-2.3.5 fails on that
>
>i am using for that build
>glibc-2.3.3
>gcc-cross-3.3.4
>
>make[2]: Entering directory
>`/home/bob/Handhelds/oe/stuff/mips-build/tmp/work/diet-x11-6.2.1cvs20050226-r5/X11/src/util'
>| if gcc -DHAVE_CONFIG_H -I.
>-I/home/bob/Handhelds/oe/stuff/mips-build/tmp/work/diet-x11-6.2.1cvs20050226-r5/X11/src/util
>-I../../src  
>-I/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include
>-Wall -Wpointer-arith -Wstrict-prototypes        -Wmissing-prototypes
>-Wmissing-declarations     -Wnested-externs -fno-strict-aliasing
>-I/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include
>-I/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include/X11/Xtrans  
>-D_XOPEN_SOURCE=500
>-I/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include  
>-I/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include
>-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2
>-MT makekeys-makekeys.o -MD -MP -MF ".deps/makekeys-makekeys.Tpo" -c -o
>makekeys-makekeys.o `test -f 'makekeys.c' || echo
>'/home/bob/Handhelds/oe/stuff/mips-build/tmp/work/diet-x11-6.2.1cvs20050226-r5/X11/src/util/'`makekeys.c;
>\
>| then mv -f ".deps/makekeys-makekeys.Tpo" ".deps/makekeys-makekeys.Po";
>else rm -f ".deps/makekeys-makekeys.Tpo"; exit 1; fi
>| In file included from
>/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include/sys/types.h:31,
>|                  from
>/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include/X11/Xos.h:59,
>|                  from makekeys.c:34:
>|
>/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include/bits/types.h:127:3:
>#error
>| In file included from
>/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include/sys/types.h:31,
>|                  from
>/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include/X11/Xos.h:59,
>|                  from makekeys.c:34:
>|
>/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include/bits/types.h:136:
>error: syntax error before "__dev_t"
>|
>/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include/bits/types.h:136:
>warning: type defaults to `int' in declaration of `__dev_t'
>|
>/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include/bits/types.h:136:
>warning: data definition has no type or storage class
>|
>/home/bob/Handhelds/oe/stuff/mips-build/tmp/staging/mipsel-linux/include/bits/types.h:140:
>error: syntax error before "__ino64_t"
>
>any hint is greatly appriciated
>regards
>
>rob_w
>
>
>  

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-06 15:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-05 22:28 diet-X11 fails /include/bits/types.h Robert Woerle
2006-01-06 15:06 ` Robert Woerle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox