public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Parse error before 'do' in chipreg.c
@ 2001-10-11 13:11 data
  2001-10-11 13:29 ` David Woodhouse
  0 siblings, 1 reply; 3+ messages in thread
From: data @ 2001-10-11 13:11 UTC (permalink / raw)
  To: linux-mtd

Dear Sir,

I got the 2.2 kernel from kernel.org recently. Can you tell me where I
can get a more update
2.2 kernel?

Furthermore, I cannot download any patch from the
ftp.infradead.org/pub/mtd/patches. Every
time I try to connect to it, I got a reply that the ftp server is down.
Could you please let me
know where I can obtain the patch to include module.h?

Thanks for your assistance.

Best regards,

Jimmy Chun

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

* Re: Parse error before 'do' in chipreg.c
  2001-10-11 13:11 Parse error before 'do' in chipreg.c data
@ 2001-10-11 13:29 ` David Woodhouse
  0 siblings, 0 replies; 3+ messages in thread
From: David Woodhouse @ 2001-10-11 13:29 UTC (permalink / raw)
  To: data; +Cc: linux-mtd


data@uniquemodem.com said:
>  Furthermore, I cannot download any patch from the ftp.infradead.org/
> pub/mtd/patches. Every time I try to connect to it, I got a reply that
> the ftp server is down.

Ah yes - I took it down when there was a wu-ftpd exploit reported, but 
forgot to start it again when the exploit turned out to be a hoax. I've 
restarted it now.

> Could you please let me know where I can obtain the patch to include 
> module.h?

ftp.??.kernel.org:/pub/linux/kernel/people/alan/linux-2.2/2.2.20pre/pre-patch-2.2.20-10.bz2

--
dwmw2

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

* Parse error before 'do' in chipreg.c
@ 2001-10-12 13:47 data
  0 siblings, 0 replies; 3+ messages in thread
From: data @ 2001-10-12 13:47 UTC (permalink / raw)
  To: linux-mtd

Dear David,

Thanks for your help. I have got the patch file for module.h and
download the up-to-date patch file from your server.

However, I apply the pre-patch-2.2.20-10 to the kernel  2.2.18, it
couldn't get through. I download the 2.2.19 from the
kernel.org and apply the patch again, it goes through ok. After apply
the mtd patch into this kernel, I re-compile the
kernel again. This time, I failed and cannot get through. I have
attached the log file below for your reference.

Do you know what has happened? Please let me know what the solution is.

Best regards,

Jimmy Chun

Build Log:

make[4]: Entering directory `/home/root/linux-2.2.19/drivers/mtd/chips'
cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
-m486 -DCPU=486   -DEXPORT_SYMTAB -c chipreg.c
In file included from chipreg.c:12:
/usr/src/linux/include/linux/mtd/compatmac.h:287: warning: static
declaration for `try_inc_mod_count' follows non-static
cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
-m486 -DCPU=486   -c -o cfi_probe.o cfi_probe.c
In file included from /usr/src/linux/include/linux/mtd/mtd.h:12,
                 from /usr/src/linux/include/linux/mtd/map.h:10,
                 from cfi_probe.c:17:
/usr/src/linux/include/linux/mtd/compatmac.h:287: warning: static
declaration for `try_inc_mod_count' follows non-static
cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
-m486 -DCPU=486   -c -o cfi_cmdset_0002.o cfi_cmdset_0002.c
In file included from /usr/src/linux/include/linux/mtd/mtd.h:12,
                 from /usr/src/linux/include/linux/mtd/map.h:10,
                 from cfi_cmdset_0002.c:26:
/usr/src/linux/include/linux/mtd/compatmac.h:287: warning: static
declaration for `try_inc_mod_count' follows non-static
cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
-m486 -DCPU=486   -c -o gen_probe.o gen_probe.c
In file included from /usr/src/linux/include/linux/mtd/mtd.h:12,
                 from gen_probe.c:9:
/usr/src/linux/include/linux/mtd/compatmac.h:287: warning: static
declaration for `try_inc_mod_count' follows non-static
gen_probe.c:48: parse error before `EXPORT_SYMTAB_not_defined'
gen_probe.c:48: warning: type defaults to `int' in declaration of
`EXPORT_SYMTAB_not_defined'
gen_probe.c:48: warning: data definition has no type or storage class
make[4]: *** [gen_probe.o] Error 1
make[4]: Leaving directory `/home/root/linux-2.2.19/drivers/mtd/chips'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/home/root/linux-2.2.19/drivers/mtd/chips'
make[2]: *** [_subdir_chips] Error 2
make[2]: Leaving directory `/home/root/linux-2.2.19/drivers/mtd'
make[1]: *** [_subdir_mtd] Error 2
make[1]: Leaving directory `/home/root/linux-2.2.19/drivers'
make: *** [_dir_drivers] Error 2

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

end of thread, other threads:[~2001-10-12 13:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-11 13:11 Parse error before 'do' in chipreg.c data
2001-10-11 13:29 ` David Woodhouse
  -- strict thread matches above, loose matches on Subject: below --
2001-10-12 13:47 data

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