Kieran Bingham wrote: > Hi Guys, > > I'm currently trying to build uClibc-0.9.30-rc1 for SH2aeb and found an > issue when building which I fixed with the attached patches. > > make[2]: Entering directory `/opt/sh/2a/build/src/test-apps-0.1' > sh2aeb-linux-uclibc-gcc -Wl,-EB test.c -o test > test.c: In function 'main': > test.c:5: warning: return type of 'main' is not 'int' > /opt/sh/2a/toolchain/usr/lib/libc.a(memcpy.o): In function `memcpy': > memcpy.c:(.text+0x60): undefined reference to `WORD_COPY_FWD' > collect2: ld returned 1 exit status > make[2]: *** [test] Error 1 > > I think its the right thing to do - i.e. follow the SH4, and define > ARCH_HAS_BWD, but then I had to copy the include from memmove to memcpy > which I don't think is a particularly nice way to do this. Why is it > currently including a .c file in this way? > > -- > Cheers > Kieran Bingham > > i, it should be already fized in rev 23572. Please try with this and let us know.
Carmelo > ------------------------------------------------------------------------ > > _______________________________________________ > uClibc mailing list > uClibc@uclibc.org > http://busybox.net/cgi-bin/mailman/listinfo/uclibc _______________________________________________ uClibc mailing list uClibc@uclibc.org http://busybox.net/cgi-bin/mailman/listinfo/uclibc