Hi,
I am still getting same problem.
path of arm-linux-gcc is
/usr/local/arm/2.95.3/bin/arm-linux-gcc
I set CROSS_COMPILE variable to
CROSS_COMPILE=/usr/local/arm/2.95.3/bin/arm-linux-
source code I have downloaded in
/mnt/lin/home/linux24
(lin is another linux partion)
I have not downloaded source tar for module. I am not sure
where to untar it
steps I fallowed are
make distclean
make ts7250_config
make oldconfig
make dep
make zImage
(with all I am passing
CROSS_COMPILE=/usr/local/arm/2.95.3/bin/arm-linux-
I have not done any correction in Makefile
)
Error I get is
make[3]: ***[ep93xx_eth.o] Error 1
make[3]: Leaving directory '/mnt/lin/home/linux24/drivers/net'
make[2]: ***[first_rule] Error 2
make[2]: Leaving directory '/mnt/lin/home/linux24/drivers/net'
make[1]: ***[sub_dir_net] Error 2
make[1]: leaving directory '/mnt/lin/home/linux24/drivers'
make: ***[dir_drivers] Error 2
I have got source from embeddedarm.com/linux/ARM.htm
machine I am using is i686
host operating system is redhat7.2
I downloaded crosstool chain from
www.arm.linux.org.uk/developer/toolchain/
from there I downloaded "cross-2.95.3.tar.bz2"
( since I am using redhat7.2 as host system .toolchain given in
embeddedarm.com is not compatible with my host system.
)
now I think I have provided all the informations .please help
me soon.
Sumit Shrivastava
********************************************************************
--- In "Eddie Dawydiuk" <> wrote:
>
> Hello,
>
> > I am in India i am trying to compile kernel for TS7250 . and here
I
> > am getting problem even if I try it for default ( as Dave told me
). (
> > I mean if I do nothing )
> >
> > IF i configure kernel .
> > the problem I am facing are
>
> Before you change the kernel configuration ensure you can build a
stock
> kernel as described in message #1934...
>
> You mentioned when you try to build a default kernel you are having
> problems. What error messages are you getting? Did you untar the
> crosstools tarball? What is the path to arm-linux-gcc? Did you edit
the
> Makefile in the root directory of the kernel source? What is your
> CROSS_COMPILE environment variable set to?
>
> > 1. in manual I read it has EP9302 Ethernet LAN controler card .
but If
> > I choose EP93xx it gives error in compilation.
>
> When you load the ts7250 config file(ie make ts7250_config; make
oldconfig).
> The "EP93XX EThernet Support" option should be enabled in the
kernel.
>
> > 2. ( if i dont select previous one) It gives error.
> >
> > Generating arch/arm/vmlinux.lds
> > /usr/local/arm/2.95.3/bin/arm.linux-ld -p -X -T arch/arm/vmlinux.
lds
> > arch/arm/kernel/head-armv.o arch/arm/kernel/init_task.o init/main.
o
> > init/version.o init/do_mounts.o \
> > --start-group \
> > arch/arm/kernel/kernel.o arch/arm/mm/mm.o
> > arch/arm/mach-ep93xx/mach-ep93xx.o kernel/kernel.o mm/mm.o fs/fs.o
> > ipc/ipc.o drivers/serial/serial.o drivers/char/char.o
> > drivers/block/block.o drivers/misc/misc.o drivers/net/net.o
> > drivers/media/media.o net/network.o arch/arm/nwfpe/math-emu.o
> > arch/arm/lib/lib.a \
> > --end-group \
> > -o vmlinux
> > drivers/char/char.o: In function 'console_init':
> > drivers/char/char.o(.text.init+0xdc): undefined reference to
> > 'uart_console_init'
> >
> > make: *** [vmlinux] error 1
> >
> > 3. ( I am not sure whether I should select or not ) If I select
AMBA
> > then
> > It complains for undeclared variable "name" .
> >
> > could you solve my problem.
>
> It sounds like you are not loading the ts7250 config file. Ensure
you
> are running the following commands to compile your kernel.
>
> make distclean
> make ts7250_config
> make oldconfig
> make dep
> make zImage
> make modules
>
> //Eddie
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|