From: Rekha D. <Re...@kp...> - 2002-10-17 06:18:59
|
Hi all!=20 I am trying to build the linuxsh for sh3 target with the following = sources.=20 binutils-2.13 gcc-3.0.3-5 glibc-2.2.5-3 Binutils, gcc were successfully built for the target. But while doing make in glibc I am getting the following error- sh3-linux-gcc -ml syslog.c -c -O2 -Wall -Winline -Wstrict-prototypes = -Wwrite-strings -I../include -I. = -I/home/kpit/linuxsh-2.5.9/build-glibc-2.2.5-3/misc -I.. -I../libio = -I/home/kpit/linuxsh-2.5.9/build-glibc-2.2.5-3 -I../sysdeps/sh/elf = -I../sysdeps/unix/sysv/linux/sh/sh3 -I../sysdeps/unix/sysv/linux/sh = -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common = -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv = -I../sysdeps/unix/sh -I../sysdeps/unix -I../sysdeps/posix = -I../sysdeps/sh/sh3 -I../sysdeps/sh -I../sysdeps/wordsize-32 = -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 = -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic = -nostdinc -isystem = /usr/linuxsh-2.5.9/bin/../lib/gcc-lib/sh3-linux/3.0.3/include -isystem = /usr/linuxsh-2.5.9/sh3-linux/include -include ../include/libc-symbols.h = -o /home/kpit/linuxsh-2.5.9/build-glibc-2.2.5-3/misc/syslog.o syslog.c: In function `vsyslog': syslog.c:219: `cancel_handler' undeclared (first use in this function) syslog.c:219: (Each undeclared identifier is reported only once syslog.c:219: for each function it appears in.) syslog.c:219: warning: type defaults to `int' in declaration of = `__save_FCT' syslog.c:272: called object is not a function syslog.c: In function `openlog': syslog.c:330: parse error before ')' token syslog.c:330: `__save_FCT' undeclared (first use in this function) syslog.c:330: parse error before ')' token syslog.c:338: `__save_ARG' undeclared (first use in this function) syslog.c: In function `closelog': syslog.c:362: parse error before ')' token syslog.c:362: `__save_FCT' undeclared (first use in this function) syslog.c:362: parse error before ')' token syslog.c:372: `__save_ARG' undeclared (first use in this function) make[2]: *** = [/home/kpit/linuxsh-2.5.9/build-glibc-2.2.5-3/misc/syslog.o] Error 1 make[2]: Leaving directory = `/home/kpit/fsfsrc/glibc-2.2.5-3-linuxsh/glibc-2.2.5/misc' make[1]: *** [misc/subdir_lib] Error 2 make[1]: Leaving directory = `/home/kpit/fsfsrc/glibc-2.2.5-3-linuxsh/glibc-2.2.5' make: *** [all] Error 2 Please guide me on this.=20 Thanks in advance. Rekha Bhintade KPIT Infosystems Ltd. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Free download of GNUSH and GNUH8 tool-chains for Hitachi's SH and H8 = Series. The following site also offers free support to European customers. Read more at http://www.kpit.com. Latest versions of GNUSH and GNUH8 are released on October 1, 2002. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |