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]

urgent needed help


Hi Dan & all,
I am sorry yesterday I forgot to do the "complete
build GCC" after building the 
glibc. 
As U have suggested me to add the patch ...I have
added glibc-2.3.3-libeh-kludge.patch.

Then glibc build was successful with the following
warning.
========================================================
else /usr/bin/install -c -m 644
/root/workingppc/build-glibc/stubs.h
/opt/crossgcc/powerpc-linux/include/gnu/stubs.h; fi
stubs.h unchanged
rm -f /root/workingppc/build-glibc/stubs.h
make[1]: warning:  Clock skew detected.  Your build
may be incomplete.
make[1]: Leaving directory
`/root/workingppc/glibc-2.3.6'
==========================================================

After the that I have reconfigured gcc as given in
procedure...That is configured as follows
../glibc-2.3.6/configure
--prefix=/opt/crossgcc/powerpc-linux
--target=powerpc-linux --host=powerpc-linux
--enable-add-ons=linuxthreads
--with-headers=/usr/src/linux-2.4.20-8/include/
--with-binutils=/opt/crossgcc/powerpc-linux/powerpc-linux/bin

After make all install

I got the following error.................is it b'cos
of the patch. Please give me insight into this.
../../../gcc-3.3.6/include/xregex2.h:357: error:
syntax error before "size_t"
../../../gcc-3.3.6/include/xregex2.h:357: warning: no
semicolon at end of struct or union
../../../gcc-3.3.6/include/xregex2.h:364: error:
syntax error before ':' token
=====================================
./gcc-3.3.6/libiberty/regex.c:410: error: syntax error
before "size_t"
In file included from
../../../gcc-3.3.6/libiberty/regex.c:649:
../../../gcc-3.3.6/libiberty/regex.c: In function
`byte_regex_compile':
../../../gcc-3.3.6/libiberty/regex.c:2316: error:
syntax error before "size_t"
../../../gcc-3.3.6/libiberty/regex.c:2315: warning:
type of `size' defaults to `int'
../../../gcc-3.3.6/libiberty/regex.c:2356: error:
dereferencing pointer to incomplete type
../../../gcc-3.3.6/libiberty/regex.c:2434: error:
dereferencing pointer to incomplete type
../../../gcc-3.3.6/libiberty/regex.c:2435: error:
dereferencing pointer to inc



===================================================================

Can I change the size_t to int type in the file
xregex.h?
Any help will be appreciated.

Sanjeev


Sanjeeva Rao R
Member Research Staff
Central Research Laboratory
Bharat Electronics Limited
GHAZIABAD-201010
DELHI

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org


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