Problems building contents of snapshot 3-9-2003
Hello from Gregg C Levine
Well, I am now closer to my working problem's solution. But now a new problem, or problems has surfaced. And here's a C&P of the problems:
Script started on Tue Mar 11 23:06:53 2003
root at drwho4:/usr/src/mtd# make
make -C /usr/src/linux-2.4.20 SUBDIRS=3D/usr/src/mtd/kernel modules
make[1]: Entering directory `/usr/src/linux-2.4.20'
make -C /usr/src/mtd/kernel CFLAGS=3D"-D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=3D2 -march=3Di586 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20/include/linux/modversions.h" MAKING_MODULES=3D1 modules
make[2]: Entering directory `/usr/src/mtd/kernel'
make[2]: *** No rule to make target `modules'. Stop.
make[2]: Leaving directory `/usr/src/mtd/kernel'
make[1]: *** [_mod_/usr/src/mtd/kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20'
make: *** [all] Error 2
root at drwho4:/usr/src/mtd# exit
Script done on Tue Mar 11 23:07:14 2003
Script started on Tue Mar 11 23:09:35 2003
root at drwho4:/usr/src/mtd/util# make
gcc -I../include -O2 -Wall -Wstrict-prototypes -Wshadow -c -o
crc32.o crc32.c
In file included from crc32.c:42:
crc32.h:8: parse error before `crc32_table'
crc32.h:8: warning: type defaults to int' in declaration of crc32_table'
crc32.h:8: warning: data definition has no type or storage class
crc32.h:13: parse error before `crc32'
crc32.h:13: parse error before `val'
crc32.h:14: warning: return-type defaults to `int'
crc32.h:14: warning: function declaration isn't a prototype
crc32.h: In function `crc32':
crc32.h:15: `ss' undeclared (first use in this function)
crc32.h:15: (Each undeclared identifier is reported only once
crc32.h:15: for each function it appears in.)
crc32.h:16: `len' undeclared (first use in this function)
crc32.h:17: `val' undeclared (first use in this function)
crc32.h:19: warning: control reaches end of non-void function
crc32.c: At top level:
crc32.c:44: parse error before `crc32_table'
crc32.c:44: warning: type defaults to int' in declaration of crc32_table'
crc32.c:97: warning: data definition has no type or storage class
make: *** [crc32.o] Error 1
root at drwho4:/usr/src/mtd/util# exit
Script done on Tue Mar 11 23:09:42 2003
That was captured as a script file, as is. I have no real idea what they are talking about. Can any of you, advise?
-------------------
Gregg C Levine hansolofalcon at worldnet.att.net
------------------------------------------------------------
"The Force will be with you...Always." Obi-Wan Kenobi "Use the Force, Luke."=A0 Obi-Wan Kenobi
(This company dedicates this E-Mail to General Obi-Wan Kenobi ) (This company dedicates this E-Mail to Master Yoda )
Quoted 3 lines · Gregg C Levine
Hello from Gregg C Levine
Well, I am now closer to my working problem's solution. But now a newproblem, or problems has surfaced. And here's a C&P of the problems:
Script started on Tue Mar 11 23:06:53 2003
before you go through all this trouble, what is in CVS that you need that isn't in 2.4.20 stock?
Quoted 5 lines
Script done on Tue Mar 11 23:07:14 2003
Script started on Tue Mar 11 23:09:35 2003
root at drwho4:/usr/src/mtd/util# make
Quoted 7 lines
gcc -I../include -O2 -Wall -Wstrict-prototypes -Wshadow -c -o
crc32.ocrc32.cIn file included from crc32.c:42:
crc32.h:8: parse error before `crc32_table'
I only use the stock kernel stuff and tools from the debian packages, so I don't know what the problem would be here, but since you are traking CVS, you can expect some problems, you just need to solve them.
Quoted 5 lines · Gregg C Levine
Hello from Gregg C Levine
Well, I am now closer to my working problem's solution. But now a new problem, or problems has surfaced. And here's a C&P of the problems:
Script started on Tue Mar 11 23:06:53 2003
root at drwho4:/usr/src/mtd# make
I'm not sure, if the out of kernel build is really up to date.
Could you try to use patchin.sh from patches directory and do make xImage, make modules from your kernel directory ? That works for sure. Please use latest CVS code, as we have fixed some leakes yesterday.
Signature · 5 lines
Thomas ________________________________________________________________________ linutronix - competence in embedded & realtime linux http://www.linutronix.de mail: tglx at linutronix.de
(Reply below original.)
Quoted 10 lines
-----Original Message-----
From: linux-mtd-admin at lists.infradead.org [mailto:linux-mtd- admin at lists.infradead.org] On Behalf Of Thomas Gleixner
Sent: Wednesday, March 12, 2003 5:07 AM
To: Gregg C Levine; linux-mtd at lists.infradead.org
Subject: Re: Problems building contents of snapshot 3-9-2003 =20Quoted 2 lines · Gregg C Levine
Hello from Gregg C Levine
Well, I am now closer to my working problem's solution. But now a
new
Quoted 1 line
Quoted 1 line
problem, or problems has surfaced. And here's a C&P of the
problems:
Quoted 5 lines
Quoted 2 lines
Script started on Tue Mar 11 23:06:53 2003
root at drwho4:/usr/src/mtd# makeI'm not sure, if the out of kernel build is really up to date. =20
Could you try to usepatchin.shfrom patches directory and do make
xImage,
Quoted 7 lines
make modules from your kernel directory ? That works for sure. Please use latest CVS code, as we have fixed some leakes yesterday. =20
--
Thomas
____________________________________________________________________
____
Quoted 8 lines
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx at linutronix.de
=20
=20
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
Hello again from Gregg C Levine
Um, no it does not. It breaks in two specific places. The filesystems for jff, and jff2. So, then what now? I'll keep trying. Indeed, when I bring up my Linux box, I'll even update the former snapshot to the current contents of CVS, today. However, this is beginning to feel old and annoying. When I started with this, I did think everything was fixed.
-------------------
Gregg C Levine hansolofalcon at worldnet.att.net
------------------------------------------------------------
"The Force will be with you...Always." Obi-Wan Kenobi "Use the Force, Luke." Obi-Wan Kenobi
(This company dedicates this E-Mail to General Obi-Wan Kenobi ) (This company dedicates this E-Mail to Master Yoda )
Quoted 7 lines · Gregg C Levine
Hello again from Gregg C Levine
Um, no it does not. It breaks in two specific places. The filesystems for jff, and jff2. So, then what now? I'll keep trying. Indeed, when I bring up my Linux box, I'll even update the former snapshot to the current contents of CVS, today. However, this is beginning to feel old and annoying. When I started with this, I did think everything was fixed.
I just got a pristine 2.4.20 kernel and applied from current CVS ./patchin.sh -j /home/thomas/work/linux-2.4.20
Then I configured mtd, jffs, jffs2 and built the kernel. Works as exspected
Signature · 5 lines
Thomas ________________________________________________________________________ linutronix - competence in embedded & realtime linux http://www.linutronix.de mail: tglx at linutronix.de