forloRn_
Legacy Member
Goeiedag,
Ik probeer een cross-compiler voor een powerpc in elkaar te flansen. binutils en gcc heb ik ondertussen gecompileerd gekregen, maar glibc doet wat ambetant:
Configure:
Output van make all install:
Inhoud van misc/stub-syscall.c:
Iemand een idee?
Ik probeer een cross-compiler voor een powerpc in elkaar te flansen. binutils en gcc heb ik ondertussen gecompileerd gekregen, maar glibc doet wat ambetant:
Configure:
Code:
forlorn@nebiros:~/Siemens/cross-compiler/source/build-glibc$ ../glibc-2.5/configure --prefix=$prefix --target=$target --enable-add-ons=linuxthreads --with-headers=$prefix/include --with-binutils=$prefix/bin --disable-sanity-checks
Output van make all install:
Code:
...
/home/forlorn/Siemens/cross-compiler/source/build-glibc/misc/stub-syscalls.c:2:13: warning: ISO C99 requires whitespace after the macro name
/home/forlorn/Siemens/cross-compiler/source/build-glibc/misc/stub-syscalls.c:5:12: warning: extra tokens at end of #undef directive
/home/forlorn/Siemens/cross-compiler/source/build-glibc/misc/stub-syscalls.c:12: error: stray ‘@’ in program
/home/forlorn/Siemens/cross-compiler/source/build-glibc/misc/stub-syscalls.c:12: error: syntax error before ‘GLIBC_2’
/home/forlorn/Siemens/cross-compiler/source/build-glibc/misc/stub-syscalls.c:13: error: stray ‘@’ in program
/home/forlorn/Siemens/cross-compiler/source/build-glibc/misc/stub-syscalls.c:13: error: syntax error before ‘GLIBC_2’
/home/forlorn/Siemens/cross-compiler/source/build-glibc/misc/stub-syscalls.c:14: error: stray ‘@’ in program
/home/forlorn/Siemens/cross-compiler/source/build-glibc/misc/stub-syscalls.c:14: error: syntax error before ‘GLIBC_2’
make[2]: *** [/home/forlorn/Siemens/cross-compiler/source/build-glibc/misc/stub-syscalls.o] Error 1
make[2]: Leaving directory `/home/forlorn/Siemens/cross-compiler/source/glibc-2.5/misc'
make[1]: *** [misc/subdir_lib] Error 2
make[1]: Leaving directory `/home/forlorn/Siemens/cross-compiler/source/glibc-2.5'
make: *** [all] Error 2
Inhoud van misc/stub-syscall.c:
Code:
#define __vm86old RENAMED___vm86old
#define vm86@GLIBC_2.0 RENAMED_vm86@GLIBC_2.0
#include <errno.h>
#undef __vm86old
#undef vm86@GLIBC_2.0
long int _no_syscall (void)
{ __set_errno (ENOSYS); return -1L; }
weak_alias (_no_syscall, __vm86old)
stub_warning (__vm86old)
weak_alias (_no_syscall, __GI___vm86old)
#include <stub-tag.h>
weak_alias (_no_syscall, vm86@GLIBC_2.0)
stub_warning (vm86@GLIBC_2.0)
weak_alias (_no_syscall, __GI_vm86@GLIBC_2.0)
#include <stub-tag.h>
Iemand een idee?

) heb je je crosscompiler.