cancel
Showing results for 
Search instead for 
Did you mean: 

help with stpc evaluvation board

sind
Associate II
Posted on August 29, 2005 at 08:41

help with stpc evaluvation board

3 REPLIES 3
sind
Associate II
Posted on April 08, 2005 at 07:29

I tried to compile a new loader for my stpc evaluvation kit as per the instruction in the .pdf file provided.

The platform was Red hat linux 9.0

The compiler was gcc version 2.6

But iam getting the following error message

[root@sar10 stpckit.v.2.1]# ./build linux

gcc -c -I./include -I./src/libosal/loader -I/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include -D__KERNEL__ -Di486 -O2 -nostdinc -nostdlib -fno-builtin -Wall -o src/loader/linux/linux.o src/loader/linux/linux.c

In file included from src/loader/linux/linux.c:9:

include/sdram.h:76:1: warning: ''/*'' within comment

gcc -x assembler-with-cpp -DASSEMBLY -E startup.S > tmp.s

gcc -o startup.o -c tmp.s

rm tmp.s

gcc -nostdlib -r -o linux.o startup.o ./src/loader/linux/linux.o lib/loader.a /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/libgcc.a

gcc -nostdlib -nostartfiles -static -o linux.bin -T script.ld linux.o

/usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 00080000

linux.o(.text+0x4d88): In function `HWIDE_IDETimings':

: undefined reference to `getchar'

linux.o(.text+0x4de0): In function `HWIDE_IDETimings':

: undefined reference to `getchar'

linux.o(.text+0x4e38): In function `HWIDE_IDETimings':

: undefined reference to `getchar'

linux.o(.text+0x4e90): In function `HWIDE_IDETimings':

: undefined reference to `getchar'

linux.o(.text+0x4ee6): In function `HWIDE_IDETimings':

: undefined reference to `getchar'

linux.o(.text+0x4f34): more undefined references to `getchar' follow

collect2: ld returned 1 exit status

make: *** [linux.bin] Error 1

[root@sar10 stpckit.v.2.1]#

please help me with this

twitwity
Associate II
Posted on April 19, 2005 at 11:27

the tool chain should be examined.

binutils and gcc should be checked.. for it.

i think both or wither one of binutils and gcc is the problem.

do not eager to upgrade a single tool. the toolset in harmony is a 'blessing'.

sind
Associate II
Posted on August 29, 2005 at 08:41

Thanks for your reply