Hallo,
ich komme nicht auf das Rätsels Lösung. Bei Eingabe des Befehls "make
gcc elf2flt gdb-host" kommt eine Fehlermeldung
michael@linux-8k6s:~/nios2-linux> which gcc
/usr/bin/gcc
michael@linux-8k6s:~/nios2-linux> gcc --version
gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
michael@linux-8k6s:~/nios2-linux> which cc
/usr/bin/cc
michael@linux-8k6s:~/nios2-linux> cc --version
cc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
michael@linux-8k6s:~/nios2-linux> cd toolchain-build
michael@linux-8k6s:~/nios2-linux/toolchain-build> ls
config gdb.mk Makefile release_top u-boot.mk
michael@linux-8k6s:~/nios2-linux/toolchain-build> gcc --version
gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
michael@linux-8k6s:~/nios2-linux/toolchain-build> git clean -f -x -d
michael@linux-8k6s:~/nios2-linux/toolchain-build> make gcc elf2flt
gdb-host
/home/michael/nios2-linux/toolchain-build/u-boot.mk:11: Board not
defined! Using EP1S10 as default.
mkdir -p /home/michael/nios2-linux/toolchain-build/build/linux
make -C /home/michael/nios2-linux/toolchain-build/../linux-2.6
ARCH=nios2 CC=gcc
INSTALL_HDR_PATH=/home/michael/nios2-linux/toolchain-build/build/linux
headers_install
make[1]: Entering directory `/home/michael/nios2-linux/linux-2.6'
CHK include/linux/version.h
HOSTCC scripts/basic/fixdep
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:145,
from
/usr/lib/gcc/i586-suse-linux/4.3/include-fixed/limits.h:122,
from
/usr/lib/gcc/i586-suse-linux/4.3/include-fixed/syslimits.h:7,
from
/usr/lib/gcc/i586-suse-linux/4.3/include-fixed/limits.h:11,
from scripts/basic/fixdep.c:115:
/usr/include/bits/local_lim.h:39:26: error: linux/limits.h: Datei oder
Verzeichnis nicht gefunden
In file included from /usr/include/sys/socket.h:40,
from /usr/include/netinet/in.h:25,
from /usr/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:117:
/usr/include/bits/socket.h:334:24: error: asm/socket.h: Datei oder
Verzeichnis nicht gefunden
scripts/basic/fixdep.c: In function ‘use_config’:
scripts/basic/fixdep.c:206: error: ‘PATH_MAX’ undeclared (first use in
this function)
scripts/basic/fixdep.c:206: error: (Each undeclared identifier is
reported only once
scripts/basic/fixdep.c:206: error: for each function it appears in.)
scripts/basic/fixdep.c:206: warning: unused variable ‘s’
scripts/basic/fixdep.c: In function ‘parse_dep_file’:
scripts/basic/fixdep.c:306: error: ‘PATH_MAX’ undeclared (first use in
this function)
scripts/basic/fixdep.c:306: warning: unused variable ‘s’
make[2]: *** [scripts/basic/fixdep] Fehler 1
make[1]: *** [scripts_basic] Fehler 2
make[1]: Leaving directory `/home/michael/nios2-linux/linux-2.6'
make: ***
[/home/michael/nios2-linux/toolchain-build/build/linux/.configured]
Fehler 2
michael@linux-8k6s:~/nios2-linux/toolchain-build>
Ich nutze openSuse 11.1 (VitualBox) und gehe nach der Anleitung unter:
http://www.nioswiki.com/InstallNios2Linux vor.
Habe schon ein paar Anläufe versucht, aber es geht nicht.
Kann mir einer eine Hilfestellung geben?
Danke
Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.