public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Need help getting JFFS2 working with kernel 2.4.19
@ 2002-08-05 20:03 Conn Clark
  2002-08-06  8:22 ` David Woodhouse
  2002-08-06 16:34 ` Conn Clark
  0 siblings, 2 replies; 8+ messages in thread
From: Conn Clark @ 2002-08-05 20:03 UTC (permalink / raw)
  To: MTD Mailing List

Hello all,

	I am new here and I am having trouble getting the JFFS2 code
working/compiling with the 2.4.19 kernel . I get multiple definition
errors when the kernel is linking.

Many thanks in advance,

	Conn
-- 

*****************************************************************
  If you live at home long enough, your parents will move out.
 (Warning they may try to sell their house out from under you.)
*****************************************************************

Conn Clark
Engineering Stooge				clark@esteem.com
Electronic Systems Technology Inc.		www.esteem.com

Stock Ticker Symbol				ELST

"clark@esteem.com" Copyright 2000 By Electronic Systems Technology
 This email address may be used to communicate to Conn Clark
 provided it is not being used for advertisement purposes, unless
 prior written consent is given. This email address may not be 
 sold under any circumstances. All other rights reserved.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Need help getting JFFS2 working with kernel 2.4.19
  2002-08-05 20:03 Need help getting JFFS2 working with kernel 2.4.19 Conn Clark
@ 2002-08-06  8:22 ` David Woodhouse
  2002-08-06 16:34 ` Conn Clark
  1 sibling, 0 replies; 8+ messages in thread
From: David Woodhouse @ 2002-08-06  8:22 UTC (permalink / raw)
  To: Conn Clark; +Cc: MTD Mailing List

clark@esteem.com said:
> 
> 	I am new here and I am having trouble getting the JFFS2 code working/
> compiling with the 2.4.19 kernel . I get multiple definition errors
> when the kernel is linking.

Might help if you showed us the errors?

--
dwmw2

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Need help getting JFFS2 working with kernel 2.4.19
  2002-08-05 20:03 Need help getting JFFS2 working with kernel 2.4.19 Conn Clark
  2002-08-06  8:22 ` David Woodhouse
@ 2002-08-06 16:34 ` Conn Clark
  2002-08-06 17:06   ` David Woodhouse
  1 sibling, 1 reply; 8+ messages in thread
From: Conn Clark @ 2002-08-06 16:34 UTC (permalink / raw)
  To: MTD Mailing List

Conn Clark wrote:
> 
> Hello all,
> 
>         I am new here and I am having trouble getting the JFFS2 code
> working/compiling with the 2.4.19 kernel . I get multiple definition
> errors when the kernel is linking.
> 
> Many thanks in advance,
> 
>         Conn

	I figured it out. The jffs2 zlib was conflicting with the zlib
used bye ppp compresion. I just had to remove zlib.o from the COMPR_OBJS
definition in the Makefile.

	Sorry for the lack of details. I figured it out yesterday but
mailed this post to myself instead of the list. Sorry again.


Thanks anyways

	Conn
-- 

*****************************************************************
  If you live at home long enough, your parents will move out.
 (Warning they may try to sell their house out from under you.)
*****************************************************************

Conn Clark
Engineering Stooge				clark@esteem.com
Electronic Systems Technology Inc.		www.esteem.com

Stock Ticker Symbol				ELST

"clark@esteem.com" Copyright 2000 By Electronic Systems Technology
 This email address may be used to communicate to Conn Clark
 provided it is not being used for advertisement purposes, unless
 prior written consent is given. This email address may not be 
 sold under any circumstances. All other rights reserved.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Need help getting JFFS2 working with kernel 2.4.19
  2002-08-06 16:34 ` Conn Clark
@ 2002-08-06 17:06   ` David Woodhouse
  2002-08-06 19:51     ` Conn Clark
  0 siblings, 1 reply; 8+ messages in thread
From: David Woodhouse @ 2002-08-06 17:06 UTC (permalink / raw)
  To: Conn Clark; +Cc: MTD Mailing List

clark@esteem.com said:
> 
> 	I figured it out. The jffs2 zlib was conflicting with the zlib used
> bye ppp compresion. I just had to remove zlib.o from the COMPR_OBJS
> definition in the Makefile.

There's a better fix in 2.4.20-pre2 and at 
ftp.kernel.org:/pub/linux/kernel/people/dwmw2/shared-zlib/

Get the latest patch (2.4.19-pre10) and it should apply to most 2.4 kernels.

--
dwmw2

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Need help getting JFFS2 working with kernel 2.4.19
  2002-08-06 17:06   ` David Woodhouse
@ 2002-08-06 19:51     ` Conn Clark
  2002-08-06 22:44       ` Conn Clark
  2002-08-07  9:50       ` David Woodhouse
  0 siblings, 2 replies; 8+ messages in thread
From: Conn Clark @ 2002-08-06 19:51 UTC (permalink / raw)
  To: David Woodhouse; +Cc: MTD Mailing List

David Woodhouse wrote:
> 
> clark@esteem.com said:
> >
> >       I figured it out. The jffs2 zlib was conflicting with the zlib used
> > bye ppp compresion. I just had to remove zlib.o from the COMPR_OBJS
> > definition in the Makefile.
> 
> There's a better fix in 2.4.20-pre2 and at
> ftp.kernel.org:/pub/linux/kernel/people/dwmw2/shared-zlib/
> 
> Get the latest patch (2.4.19-pre10) and it should apply to most 2.4 kernels.
> 
> --
> dwmw2


I take it that this patch wasn't submitted to Marcelo or Marcelo didn't get
it integrated the final 2.4.19 then?

Is there anything else I need to do or will the patch fix everything?


Thanks

	Conn	


-- 

*****************************************************************
  If you live at home long enough, your parents will move out.
 (Warning they may try to sell their house out from under you.)
*****************************************************************

Conn Clark
Engineering Stooge				clark@esteem.com
Electronic Systems Technology Inc.		www.esteem.com

Stock Ticker Symbol				ELST

"clark@esteem.com" Copyright 2000 By Electronic Systems Technology
 This email address may be used to communicate to Conn Clark
 provided it is not being used for advertisement purposes, unless
 prior written consent is given. This email address may not be 
 sold under any circumstances. All other rights reserved.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Need help getting JFFS2 working with kernel 2.4.19
  2002-08-06 19:51     ` Conn Clark
@ 2002-08-06 22:44       ` Conn Clark
  2002-08-07  9:56         ` David Woodhouse
  2002-08-07  9:50       ` David Woodhouse
  1 sibling, 1 reply; 8+ messages in thread
From: Conn Clark @ 2002-08-06 22:44 UTC (permalink / raw)
  To: David Woodhouse, MTD Mailing List

Conn Clark wrote:
> 
> David Woodhouse wrote:
> >
> > clark@esteem.com said:
> > >
> > >       I figured it out. The jffs2 zlib was conflicting with the zlib used
> > > bye ppp compresion. I just had to remove zlib.o from the COMPR_OBJS
> > > definition in the Makefile.
> >
> > There's a better fix in 2.4.20-pre2 and at
> > ftp.kernel.org:/pub/linux/kernel/people/dwmw2/shared-zlib/
> >
> > Get the latest patch (2.4.19-pre10) and it should apply to most 2.4 kernels.
> >
> > --
> > dwmw2
> 
> I take it that this patch wasn't submitted to Marcelo or Marcelo didn't get
> it integrated the final 2.4.19 then?
> 
> Is there anything else I need to do or will the patch fix everything?
> 
> Thanks
> 
>         Conn
> 

I applied the patch and now it won't compile again.


here is what the compiler pukes out.

ppc_8xx-ld -T arch/ppc/vmlinux.lds -Ttext 0xc0000000 -Bstatic
arch/ppc/kernel/head_8xx.o init/main.o init/version.o init/do_mounts.o \
	--start-group \
	arch/ppc/kernel/kernel.o arch/ppc/mm/mm.o arch/ppc/lib/lib.o kernel/kernel.o mm/mm.o
fs/fs.o ipc/ipc.o arch/ppc/math-emu/math-emu.o \
	 drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o
drivers/media/media.o drivers/mtd/mtdlink.o drivers/pcmcia/pcmcia.o
drivers/macintosh/macintosh.o arch/ppc/8xx_io/8xx_io.o \
	net/network.o \
	/192esrc/area51/linux-2.4.19/lib/lib.a \
	--end-group \
	-o vmlinux
fs/fs.o: In function `zlib_compress':
fs/fs.o(.text+0x42c30): undefined reference to `zlib_deflateInit_'
fs/fs.o(.text+0x42c30): relocation truncated to fit: R_PPC_REL24 zlib_deflateInit_
fs/fs.o(.text+0x42cd4): undefined reference to `zlib_deflate'
fs/fs.o(.text+0x42cd4): relocation truncated to fit: R_PPC_REL24 zlib_deflate
fs/fs.o(.text+0x42ce4): undefined reference to `zlib_deflateEnd'
fs/fs.o(.text+0x42ce4): relocation truncated to fit: R_PPC_REL24
zlib_deflateEndfs/fs.o(.text+0x42d4c): undefined reference to `zlib_deflate'
fs/fs.o(.text+0x42d4c): relocation truncated to fit: R_PPC_REL24 zlib_deflate
fs/fs.o(.text+0x42d58): undefined reference to `zlib_deflateEnd'
fs/fs.o(.text+0x42d58): relocation truncated to fit: R_PPC_REL24
zlib_deflateEndfs/fs.o: In function `zlib_decompress':
fs/fs.o(.text+0x42e24): undefined reference to `zlib_inflateInit_'
fs/fs.o(.text+0x42e24): relocation truncated to fit: R_PPC_REL24 zlib_inflateInit_
fs/fs.o(.text+0x42e80): undefined reference to `zlib_inflate'
fs/fs.o(.text+0x42e80): relocation truncated to fit: R_PPC_REL24 zlib_inflate
fs/fs.o(.text+0x42ea4): undefined reference to `zlib_inflateEnd'
fs/fs.o(.text+0x42ea4): relocation truncated to fit: R_PPC_REL24
zlib_inflateEndfs/fs.o: In function `jffs2_zlib_init':
fs/fs.o(.text.init+0x1868): undefined reference to `zlib_deflate_workspacesize'
fs/fs.o(.text.init+0x1868): relocation truncated to fit: R_PPC_REL24
zlib_deflate_workspacesize
fs/fs.o(.text.init+0x1890): undefined reference to `zlib_deflate_workspacesize'
fs/fs.o(.text.init+0x1890): relocation truncated to fit: R_PPC_REL24
zlib_deflate_workspacesize
fs/fs.o(.text.init+0x18a8): undefined reference to `zlib_inflate_workspacesize'
fs/fs.o

Blah Blah Blah.

I take it there are still a few more things I must do?

here is some additional info on my system.
My processor is a PPC MPC850.
My flash chip 1 intel 28F320C3B 16 bit mode

Thanks

	Conn
-- 

*****************************************************************
  If you live at home long enough, your parents will move out.
 (Warning they may try to sell their house out from under you.)
*****************************************************************

Conn Clark
Engineering Stooge				clark@esteem.com
Electronic Systems Technology Inc.		www.esteem.com

Stock Ticker Symbol				ELST

"clark@esteem.com" Copyright 2000 By Electronic Systems Technology
 This email address may be used to communicate to Conn Clark
 provided it is not being used for advertisement purposes, unless
 prior written consent is given. This email address may not be 
 sold under any circumstances. All other rights reserved.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Need help getting JFFS2 working with kernel 2.4.19
  2002-08-06 19:51     ` Conn Clark
  2002-08-06 22:44       ` Conn Clark
@ 2002-08-07  9:50       ` David Woodhouse
  1 sibling, 0 replies; 8+ messages in thread
From: David Woodhouse @ 2002-08-07  9:50 UTC (permalink / raw)
  To: Conn Clark; +Cc: MTD Mailing List

clark@esteem.com said:
>  I take it that this patch wasn't submitted to Marcelo or Marcelo
> didn't get it integrated the final 2.4.19 then?

> Is there anything else I need to do or will the patch fix everything?

It's in 2.4.20-pre2. We figured it was a little too intrusive to go into 
2.4.19.


--
dwmw2

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Need help getting JFFS2 working with kernel 2.4.19
  2002-08-06 22:44       ` Conn Clark
@ 2002-08-07  9:56         ` David Woodhouse
  0 siblings, 0 replies; 8+ messages in thread
From: David Woodhouse @ 2002-08-07  9:56 UTC (permalink / raw)
  To: Conn Clark; +Cc: MTD Mailing List

clark@esteem.com said:
> I applied the patch and now it won't compile again.

Did you run 'make oldconfig'?

--
dwmw2

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-08-07  9:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-05 20:03 Need help getting JFFS2 working with kernel 2.4.19 Conn Clark
2002-08-06  8:22 ` David Woodhouse
2002-08-06 16:34 ` Conn Clark
2002-08-06 17:06   ` David Woodhouse
2002-08-06 19:51     ` Conn Clark
2002-08-06 22:44       ` Conn Clark
2002-08-07  9:56         ` David Woodhouse
2002-08-07  9:50       ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox