From: "ismail donmez" <kde@smtp-send.myrealbox.com>
To: storri@sbcglobal.net
Cc: bug-glibc@gnu.org, linux-kernel@vger.kernel.org
Subject: Re: Compile error including asm/uaccess.h
Date: Wed, 14 May 2003 07:34:57 -0600 [thread overview]
Message-ID: <1052919297.aaa917c0kde@smtp-send.myrealbox.com> (raw)
<snip>
====== Errors (C++) ==========
In file included from /usr/include/linux/sched.h:14,
from /usr/include/asm/uaccess.h:8,
from test.cpp:1:
/usr/include/linux/timex.h:173: field `time' has incomplete type
In file included from /usr/include/linux/sched.h:17,
from /usr/include/asm/uaccess.h:8,
from test.cpp:1:
/usr/include/asm/system.h:238: parse error before `new'
/usr/include/asm/system.h: In function `long unsigned int
__cmpxchg(...)':
/usr/include/asm/system.h:241: `size' undeclared (first use this
function)
/usr/include/asm/system.h:241: (Each undeclared identifier is reported
only
</snip>
Well rule of thumb says "Do not include kernel headers in userspace" second rule of thumb says "if you have to do so take care of variables that is need to be defined..."
next reply other threads:[~2003-05-14 13:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-14 13:34 ismail donmez [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-05-14 13:37 ismail donmez
2003-05-14 14:19 ` Stephen Torri
2003-05-15 5:57 ` ismail (cartman) donmez
2003-05-14 0:10 Stephen Torri
2003-05-14 14:35 ` Ahmed Masud
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=1052919297.aaa917c0kde@smtp-send.myrealbox.com \
--to=kde@smtp-send.myrealbox.com \
--cc=bug-glibc@gnu.org \
--cc=linux-kernel@vger.kernel.org \
--cc=storri@sbcglobal.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome