QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3277|回复: 2

problem in building crossglibc

[复制链接]
发表于 2007-6-14 22:09:47 | 显示全部楼层 |阅读模式
arm-linux-gcc ../ports/sysdeps/unix/sysv/linux/arm/sysdep.S -c  -I../include -I/usr/arm9/build/glibc-2.6/csu -I/usr/arm9/build/glibc-2.6 -I../ports/sysdeps/arm/elf -I../ports/sysdeps/unix/sysv/linux/arm/nptl -I../ports/sysdeps/unix/sysv/linux/arm -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../ports/sysdeps/unix/arm -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../ports/sysdeps/arm/fpu -I../ports/sysdeps/arm/nptl -I../ports/sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports  -I.. -I../libio -I. -nostdinc -isystem /usr/arm9/bin/../lib/gcc/arm-linux/4.2.0/include -isystem /usr/arm9/sysroot/usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -DHAVE_INITFINI -DASSEMBLER  -I/usr/arm9/build/glibc-2.6/csu/.    -o /usr/arm9/build/glibc-2.6/csu/sysdep.o -MD -MP -MF /usr/arm9/build/glibc-2.6/csu/sysdep.o.dt -MT /usr/arm9/build/glibc-2.6/csu/sysdep.o
../ports/sysdeps/unix/arm/sysdep.S: Assembler messages:
../ports/sysdeps/unix/arm/sysdep.S:59: Error: junk at end of line, first unrecognized character is `('


各位大虾指导指导一下啊,这个错误如何搞定?
pc system: fedora
gcc-4.2.0
glibc-2.6
binutils-2.17
核心arm-linux-gcc已经生成了,glibc:make install-headers也没有出错,编译交叉glibc的时候就这个错误了

../../src/glibc-2.6/configure --prefix=/usr --libexecdir=/usr/arm9/arm-linux/glibc --host=arm-linux --build=i686-cross-linux-gnu --disable-profile --enable-add-ons  --enable-kernel=2.6.20 --with-headers=/usr/arm9/sysroot/usr/include --cache-file=config.cache 2>&1 |tee ../../usr/doc/glib2cconf.log

附件是make.log和config.log
发表于 2007-11-1 17:22:05 | 显示全部楼层
楼主解决这个问题没有啊
我也遇到这样的麻烦了,能指教一下吗?
回复

使用道具 举报

发表于 2008-4-4 22:01:50 | 显示全部楼层

遇见同样的问题

交叉编译, 到编译glibc时候

。。。。。。。。。。。。
arm-linux-gcc localealias.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g      -I../include -I. -I/home/ray/download/build/glibc/intl -I.. -I../libio  -I/home/ray/download/build/glibc -I../sysdeps/arm/elf -I../linuxthreads/sysdeps/unix/sysv/linux/arm -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/arm -I../sysdeps/unix/sysv/linux/arm -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/arm -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/arm/fpu -I../sysdeps/arm -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 /home/cross-tools/lib/gcc-lib/arm-linux/3.3.6/include -isystem /home/cross-tools/arm-linux/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -D'LOCALEDIR="/home/cross-tools/share/locale"' -D'LOCALE_ALIAS_PATH="/home/cross-tools/share/locale"' -o /home/ray/download/build/glibc/intl/localealias.o
/tmp/ccGWVoOc.s: Assembler messages:
/tmp/ccGWVoOc.s:71: Error: junk at end of line, first unrecognized character is `,'
/tmp/ccGWVoOc.s:73: Error: junk at end of line, first unrecognized character is `,'
make[2]: *** [/home/ray/download/build/glibc/intl/localealias.o] Error 1
make[2]: Leaving directory `/home/ray/download/glibc-2.3.2/intl'
make[1]: *** [intl/subdir_lib] Error 2
make[1]: Leaving directory `/home/ray/download/glibc-2.3.2'
make: *** [all] Error 2

救命阿!!!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-21 19:32 , Processed in 0.093948 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表