From: Tommy McCabe <rocketjet314@yahoo.com>
To: linux-8086@vger.kernel.org
Subject: Riddles in the dark
Date: Mon, 12 Jul 2004 17:49:57 -0700 (PDT) [thread overview]
Message-ID: <20040713004957.54461.qmail@web51309.mail.yahoo.com> (raw)
ps.c can't compile because of these errors:
/usr/lib/bcc/include/linuxmt/sc:25.29: error: need ';'
/usr/lib/bcc/include/linuxmt/sc:36.16: error: need ';'
/usr/lib/bcc/include/linuxmt/sc:37.16: error: seg_t
already declared
/usr/lib/bcc/include/linuxmt/sc:37.16: error: need ';'
/usr/lib/bcc/include/linuxmt/sc:50.24: error: need ';'
/usr/lib/bcc/include/linuxmt/sc:51.22: error: need ';'
/usr/lib/bcc/include/linuxmt/sc:52.23: error: __pptr
already declared
/usr/lib/bcc/include/linuxmt/sc:52.23: error: need ';'
/usr/lib/bcc/include/linuxmt/sc:53.21: error: __pptr
already declared
/usr/lib/bcc/include/linuxmt/sc:53.21: error: need ';'
/usr/lib/bcc/include/linuxmt/sc:54.21: error: __pptr
already declared
/usr/lib/bcc/include/linuxmt/sc:54.21: error: need ';'
/usr/lib/bcc/include/linuxmt/sc:92.25: error: need ';'
/usr/lib/bcc/include/linuxmt/sc:131.21: error: need
';'
Note that the file linuxmt/sc doesn't exist- I assume
it to be linxumt/sched.h. The compiler thinks seg_t is
a variable name but it's a variable type. Is ps.c
itself, I see this: int read_task(fd, off, ds,
task_table). What the heck is this? A function
declaration? An array? It looked as if it should have
a semicolon put after it, but then ps.c returned these
errors:
ps.c:30.1: error: need variable name
ps.c:31.9: error: need ';'
ps.c:34.7: error: addr already declared
ps.c:34.40: error: initializer too complicated
ps.c:35.3: error: need variable name
ps.c:35.5: error: need ';'
ps.c:35.6: error: need ')'
ps.c:35.6: error: need variable name
ps.c:35.7: error: need ';'
ps.c:35.14: error: need ')'
ps.c:35.14: error: need ';'
ps.c:35.14: error: need variable name
ps.c:35.20: error: need ';'
ps.c:35.30: error: need ')'
ps.c:35.30: error: lseek already declared
ps.c:35.30: error: need '{'
ps.c:35.32: error: need ';'
ps.c:35.32: error: bad expression
ps.c:35.33: error: need ';'
ps.c:35.33: error: bad expression
ps.c:35.34: error: need ';'
ps.c:35.34: error: bad expression
ps.c:35.36: error: need ';'
And back at linuxmt/sched.h, it ends with a #endif
which isn't preceded by a #indef! What gives?
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
next reply other threads:[~2004-07-13 0:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-13 0:49 Tommy McCabe [this message]
2004-07-14 14:38 ` Riddles in the dark Eduardo Pereira Habkost
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=20040713004957.54461.qmail@web51309.mail.yahoo.com \
--to=rocketjet314@yahoo.com \
--cc=linux-8086@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox