From: "Gao, Yunpeng" <yunpeng.gao@intel.com>
To: "linux-ia64@vger.kernel.org" <linux-ia64@vger.kernel.org>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject:
Date: Mon, 19 Jan 2009 10:54:02 +0800 [thread overview]
Message-ID: <38D9F46DFF92C54980D2F2C1E8EE31301FC5E7FB@pdsmsx503.ccr.corp.intel.com> (raw)
Hi all,
I have to use 64bit variable in my 2.6.27 kernel NAND driver as below:
---------------------------------------------------------------------------
u64 NAND_capacity;
unsigned int block_num, block_size;
...
block_num = NAND_capacity / block_size;
---------------------------------------------------------------------------
but it failed when compiling and reports 'undefined reference to `__udivdi3'.
Does any idea about this? I need to include some special head file or change something in Kconfig?
BTW, the environment is Fedora Core 9, gcc 4.3.0.
Thanks a lot.
Rgds,
Yunpeng Gao
next reply other threads:[~2009-01-19 2:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-19 2:54 Gao, Yunpeng [this message]
2009-01-19 3:07 ` your mail Matthew Wilcox
2009-01-19 4:25 ` how to fix nand driver build breakage KOSAKI Motohiro
2009-01-19 4:25 ` KOSAKI Motohiro
2009-01-19 11:46 ` Simon Holm Thøgersen
2009-01-19 11:46 ` Simon Holm Thøgersen
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=38D9F46DFF92C54980D2F2C1E8EE31301FC5E7FB@pdsmsx503.ccr.corp.intel.com \
--to=yunpeng.gao@intel.com \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.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.