From: data <data@uniquemodem.com>
To: linux-mtd@lists.infradead.org
Subject: Parse error before 'do' in chipreg.c
Date: Fri, 12 Oct 2001 21:47:50 +0800 [thread overview]
Message-ID: <3BC6F486.8E307E2F@uniquemodem.com> (raw)
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
next reply other threads:[~2001-10-12 13:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-12 13:47 data [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-10-11 13:11 Parse error before 'do' in chipreg.c data
2001-10-11 13:29 ` David Woodhouse
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3BC6F486.8E307E2F@uniquemodem.com \
--to=data@uniquemodem.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.