problems building for cris architecture

Peter Barada PeterB at logicpd.com
Fri Feb 23 19:52:00 UTC 2007


On Fri, 2007-02-23 at 13:46 -0600, Jesse Kipp wrote:
> hi, I'm trying to use buildroot to compile a uClibc tool chain for the
> cris architecture, and I'm getting an error in in the dl-syscall.h
> header. I've looked at the file and don't see what the syntax error
> could be, and I've searched the mailing list, but can't find anything
> relevant.
> 
> I'm using gcc-3.4 for the host system, trying to build for
> uClibc-0.9.28.1 and kernel version 2.4.31.
> 
> Does anyone have any advice?

Run the file through the preprocessor (use -E -dD instead of -c) and
look at the output. From there you should be able to figure out the
syntax that is causing the error, and backtrack to why it occurs.


> thanks,
> jesse kipp
> 
> /home/jtkipp/buildroot/build_cris/staging_dir/bin/cris-linux-uclibc-strip
> -x -R .note -R .comment cris/resolve.o
> /home/jtkipp/buildroot/build_cris/staging_dir/bin/cris-linux-uclibc-gcc
>  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing   -Os
> -funit-at-a-time -DUCLIBC_LDSO=\"ld-uClibc.so.0\"    -mlinux -fpic
> -DUCLIBC_RUNTIME_PREFIX=\"/\" -fno-builtin -nostdinc -D_LIBC
> -DLDSO_ELFINTERP=\"cris/elfinterp.c\" -I../../ldso/ldso/cris
> -I../../ldso/include -I../../ldso/ldso -I../../include -D_GNU_SOURCE
> -isystem /home/jtkipp/buildroot/build_cris/staging_dir/lib/gcc/cris-linux-uclibc/3.4.6/include
> -c ldso.c -o ldso.o
> In file included from ../../ldso/include/ldso.h:37,
>                  from ldso.c:33:
> ../../ldso/include/dl-syscall.h:144: error: syntax error before
> "__syscall_mmap2"
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20070223/c8f29905/attachment.htm 


More information about the uClibc mailing list