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]

regex.c error


I am getting the following error while building the PPC-linux
cross-compiler. (I have done this before a week back and then I was able to
complete the build successfully... but now it doesn't). I am using
gcc-3.4.0, binutils-2.14 and glibc-2.3.2 and glibc-linuxthreads-2.3.2.

Any comments ? I am building as per Dan Kegel's build procedure at
www.pages.drexel.edu/~sg64/stuff/cross-compile.htm


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

make[1]: Entering directory `/root/ppc_gcc-3.4.0/build-gcc/libiberty'
if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-3.4.0/libiberty/../include
-W -Wall -Wtraditional -pedantic -fpic ../../gcc-3.4.0/libiberty/regex.c -o
pic/regex.o; \
else true; fi
In file included from ../../gcc-3.4.0/include/xregex.h:26,
                 from ../../gcc-3.4.0/libiberty/regex.c:195:
../../gcc-3.4.0/include/xregex2.h:551: warning: ISO C89 does not support
`static' or type qualifiers in parameter array declarators
In file included from ../../gcc-3.4.0/libiberty/regex.c:649:
../../gcc-3.4.0/libiberty/regex.c: In function `byte_compile_range':
../../gcc-3.4.0/libiberty/regex.c:4548: warning: signed and unsigned type
in conditional expression
../../gcc-3.4.0/libiberty/regex.c:4558: warning: signed and unsigned type
in conditional expression
../../gcc-3.4.0/libiberty/regex.c:4558: warning: signed and unsigned type
in conditional expression
../../gcc-3.4.0/libiberty/regex.c: In function `xregcomp':
../../gcc-3.4.0/libiberty/regex.c:8043: warning: signed and unsigned type
in conditional expression
../../gcc-3.4.0/libiberty/regex.c: In function `xregerror':
../../gcc-3.4.0/libiberty/regex.c:8178: warning: unused parameter `preg'
Assembler messages:
FATAL: can't create pic/regex.o: No such file or directory
make[1]: *** [regex.o] Error 1
make[1]: Leaving directory `/root/ppc_gcc-3.4.0/build-gcc/libiberty'
make: *** [all-libiberty] Error 2

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

Rgds,
Ganesh




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


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