Thanks. I understand now. I will try it out and inform u of the outcome.
Quoting Michael Nidd <mni_at_zurich.ibm.com>:
>
> If you touch kernel/arch/arm/tools/getconstants.c, then restart the
> build, it will get recompiled. The new getconstants.o should contain
> the necessary definitions. Something in the make must have altered
> the contents of getconstants.c.
>
> I'm about to leave for the weekend, but if it still doesn't work
> on Monday, please let me know.
>
> Good luck,
> -- Mike.
>
> On Aug 24, 22:45, wyeepeng_at_dso.org.sg wrote:
> > Actually I still don't quite understand what u meant here. Can u
> explain how
> > am I supposed to use the getconstants.c to solve the problem? I am
> still not
> > very sure.
> >
> > Rgds
> > Yee Peng
> >
> > Quoting Michael Nidd <mni_at_zurich.ibm.com>:
> >
> > >
> > > Checking through the archives, I found the following from Kevin
> > > Morgan.
> > > I had been having the same problem, and this fixed me up.
> > > ------------------------------
> > > For anyone who's interested, here's a followup on this problem.
> > >
> > > Various defines that should have been in
> include/asm-arm/constants.h
> > > were
> > > missing. After touching kernel/arch/arm/tools/getconstants.c, now
> the
> > > kernel
> > > builds for me. I still don't know why this was necessary, or why
> > > constants.h
> > > was missing the necessary defines.
> > >
> > > Kevin
> > > ------------------------------
> > > On Aug 23, 14:10, wyeepeng_at_dso.org.sg wrote:
> > > > Subject: RE: [Familiar] Where can I get the .config file for a
> > > particular
> > > > Hi,
> > > > I tried some simple customisation of the h3600-devfs config
> file
> > > > (adding "nfs root at boot", "bootp", "rarp", etc). Then, I "make
> dep
> > > && make
> > > > clean && make zImage". Everything was fine til I got the
> following
> > > errors. Does
> > > > anyone know what's wrong? I used the cross-toolchain from the
> > > handhelds.org.
> > > >
> > > > ////////////////////// output listing of make process below
> > > /////////
> > > > make[1]: Entering directory `/usr/src/linux-2.4.7-rmk3-np1-
> > > > devfs/arch/arm/kernel'
> > > > arm-linux-gcc -D__ASSEMBLY__ -D__KERNEL__
> > > -I/usr/src/linux-2.4.7-rmk3-np1-
> > > > devfs/include -mapcs-32 -march=armv4 -mno-fpu -c -o
> entry-armv.o
> > > entry-armv.S
> > > > entry-armv.S: Assembler messages:
> > > > entry-armv.S:783: Error: Internal_relocation (type 185) not fixed
> up
> > > (IMMEDIATE)
> > > > entry-armv.S:830: Error: Internal_relocation (type 187) not fixed
> up
> > >
> > > > (OFFSET_IMM)
> > > > entry-armv.S:831: Error: Internal_relocation (type 187) not fixed
> up
> > >
> > > > (OFFSET_IMM)
> > > > entry-armv.S:832: Error: Internal_relocation (type 187) not fixed
> up
> > >
> > > > (OFFSET_IMM)
> > > > make[1]: *** [entry-armv.o] Error 1
> > > > make[1]: Leaving directory
> > > `/usr/src/linux-2.4.7-rmk3-np1-devfs/arch/arm/kernel'
> > > > make: *** [_dir_arch/arm/kernel] Error 2
> > >
> > > --
> > >
> -----------------------------------------------------------------------
> > > Michael Nidd
> > > IBM Zurich Research Laboratory
> > > Saumerstrasse 4
> > > CH-8803 Rueschlikon/Switzerland
> > > mni_at_zurich.ibm.com Tel: +41-1-724-89-30 Fax: +41-1-724-89-53
> > >
> > _______________________________________________
> > Familiar mailing list
> > Familiar_at_handhelds.org
> > http://handhelds.org/mailman/listinfo/familiar
> > irc://irc.openprojects.net #familiar
> >
> >-- End of excerpt from wyeepeng_at_dso.org.sg
>
>
>
> --
> -----------------------------------------------------------------------
> Michael Nidd
> IBM Zurich Research Laboratory
> Saumerstrasse 4
> CH-8803 Rueschlikon/Switzerland
> mni_at_zurich.ibm.com Tel: +41-1-724-89-30 Fax: +41-1-724-89-53
>
Received on Fri Aug 24 2001 - 19:50:58 EDT
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:12:33 EDT