----- Original Message -----
From: "friend Hsu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 23, 2002 12:05 PM
Subject: compile BLOB


> Hi, how are you,
>    Thank for Russ's and Erik's advice.
>    But I still fail to compile BLOB.
>    I doubt that I am so stupid.
>    My problem is that it always stops when I compile
> (make) BLOB.
>    After displaying the following error messages:
>        ..........
>        linux.c:83:'tag_core' undeclared.
>        linux.c:100:'tag_mem32' undeclared.
>        linux.c:140:'tag_initrd' undeclared.
>        linux.c:155:'tag_ramdisk' undeclared.
>        linux.c:161:warning:assignment makes pointer
> from integer without a cast
>        make[1]:***[linux.o] Error 1
>        make[1]:Leaving directory
> '/home/ff/blob205/blob-2.0.5-pre2/src'
>        make: *** [all-recursive]] Error 1
>    the compiling process stop and quit.
>
>    The following files are the tools and source code
> that I used.
>    arm-linux-binutils-2.10-1.i386.rpm
>    arm-linux-glibc-2.1.3-2.i386.rpm
>    arm-linux-gcc-2.95.2-2.i386.rpm
>    linux-2.4.1.tar.gz
>    patch-2.4.1-rmk1.gz
>    diff-2.4.1-rmk1-np2.gz
>
>    What mesns "unconfigured kernel tree"?
>    The kernel that I used is "configured" or
> "unconfigured" kernel tree?
>    How can I configure it?
>
>    I am sorry for asking such a besic question.
>    Could you please tell me what can I do?
>
> Thank you very much.
>
>
> ******************************************
> ******************************************
> WROTE BY:Russ
> > #./configure
> --with-linux-refix=/home/ff/arm/src/linux
> >   --with-board=assabet arm-unknown-linux-gnu
> > #export FOO=bar
> > #make
>
> when someone uses the words "foo" and "bar", they mean
> for you to
> replace them with what you would like to do. in this
> case, I think they
> probably asked you to set CC to the name of your cross
> compiler (which
> you want to do before ./configure anyway)
>
> *************************************
> WROTE BY:Erik
> >    When I compile BLOB, there are some error
> message.
> >    It looks like that some veriable undeclared.
> >    They are all in the file "linux.c".
> >    for example:
> >       linux.c:83:'tag_core' undeclared.
> >       linux.c:100:'tag_mem32' undeclared.
> >       linux.c:140:'tag_initrd' undeclared.
> >       linux.c:155:'tag_ramdisk' undeclared.
>
> Either an ancient kernel, or an unconfigured kernel
> tree (though
> blob-2.0.5-pre2 should warn about this).
>
> >    I still have some problem in compiling the "BLOB"
> > source code. I have read the README file but can not
> > do this successfully. Maybe I can not understand
> what
> > the description mesns exactly. I will write down
> what
> > I have done step by step. Could you please point a
> > finger at my fault.
> >
> > (1)My platform is Assabet.
> > (2)I use the "bash shell".
> > (3)The kernel source code is in
> /home/ff/arm/src/linux
> >    There are the following files:
> >      COPYING, CREDITS, MAINTAINERS, Makefile,
> README,
> >      REPORTING-BUGS, Rules.make, System.map,
> helloarm
>
> A file called "helloarm"? What kernel version is this
> and where did you
> get the source?
>
> >    And there are the following sub-directory:
> >      Documentation, arch, drivers, fs, include,
> init,
> >      ipc, kernel, lib, mm, net, scripts
> >    This is a complete kernel source code. It can be
> >     compiled successfully.
>
> No doubt about that, but I get the impression this is
> NOT the kernel
> tree everybody else uses. For Assabet you should
> compile blob against
> linux-2.4.17-rmk5.
>
> > (4)I downloaded blob-2.0.5-pre2.tar.gz and copied it
> > into /home/ff/blob205.
> > #cd blob205
> > #tar -xzvf blob-2.0.5-pre2.tar.gz
> > #cd blob-2.0.5-pre2
> > #./configure
> --with-linux-refix=/home/ff/arm/src/linux
>                             ^^^^^
> Mind the "p", it's --with-linux-prefix.
>
> >   --with-board=assabet arm-unknown-linux-gnu
> > #export FOO=bar
>
> That was an example. The README file says:
>
>   If you use the bash shell, use "export FOO=bar"
> instead of
>   "setenv FOO bar".
>
> That doesn't mean that you should take it literally,
> it means "whenever
> you see this tcsh syntax to set environment variables,
> here is the way
> to change it into bash syntax".
>
>
>
>
>
>
>
>
>
> -----------------------------------------------------------------
> < �C�ѳ� Yahoo!�_�� >  www.yahoo.com.tw
>
> _______________________________________________
> http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
> http://www.arm.linux.org.uk/armlinux/mailinglists.php
> Please visit the above addresses for information on this list.
>



_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
http://www.arm.linux.org.uk/armlinux/mailinglists.php
Please visit the above addresses for information on this list.

Reply via email to