From: Eddie Roosenmaallen <silvermoon82@gmail.com>
To: ELKS mailing list <linux-8086@vger.kernel.org>
Subject: Compiling elkscmd CVS
Date: Sat, 12 Feb 2005 08:27:34 -0500 [thread overview]
Message-ID: <80459ef905021205273ff75889@mail.gmail.com> (raw)
Hi,
I recently discovered ELKS, and I'm looking to use it to network some
old machines. I'm running into trouble with elkscmd, though - when I
try to compile it, I get a bunch of failed #includes:
eddie@clotho:/usr/src/elks/elkscmd$ make
[...snip...]
make[2]: Entering directory `/home/eddie/src/elks/elkscmd/sys_utils'
bcc -0 -O -ansi "-DELKS_VERSION=\"0.1.3-pre1\"" -s ps.c -o ps
ps.c:17: error: Cannot open include file
ps.c:18: error: Cannot open include file
make[2]: *** [ps] Error 1
[...snip...]
make tinyirc CFLAGS="-0 -O -ansi -DPOSIX -DELKS" LDFLAGS= LIBS= CC=bcc
make[4]: Entering directory `/home/eddie/src/elks/elkscmd/inet/tinyirc'
bcc -0 -O -ansi -DPOSIX -DELKS -DDEFAULTSERVER=\"irc.freenode.net\"
-DDEFAULTPORT=7000 -c tinyirc.c -o tinyirc.o
/usr/lib/bcc/include/sys/socket.h:6: error: Cannot open include file
tinyirc.c:61: error: Cannot open include file
tinyirc.c:62: error: Cannot open include file
tinyirc.c:63: error: Cannot open include file
make[4]: *** [tinyirc.o] Error 1
make[4]: Leaving directory `/home/eddie/src/elks/elkscmd/inet/tinyirc'
make[3]: *** [elks] Error 2
make[3]: Leaving directory `/home/eddie/src/elks/elkscmd/inet/tinyirc'
make[3]: Entering directory `/home/eddie/src/elks/elkscmd/inet/urlget'
bcc -0 -O -ansi "-DELKS_VERSION=\"0.1.3-pre1\"" -s -o urlget net.c urlget.c
net.c:18: error: Cannot open include file
net.c:19: error: Cannot open include file
net.c:20: error: Cannot open include file
make[3]: *** [urlget] Error 1
make[3]: Leaving directory `/home/eddie/src/elks/elkscmd/inet/urlget'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/eddie/src/elks/elkscmd/inet'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/eddie/src/elks/elkscmd'
make: *** [me] Error 2
eddie@clotho:/usr/src/elks/elkscmd$
The missing includes are:
(from ps.c)
#include <linuxmt/sched.h>
#include <unistd.h>
(from tinyirc.c)
#include <linuxmt/net.h>
#include <linuxmt/time.h>
#include "../httpd/mylib.h"
(from net.c)
#include <linuxmt/net.h>
#include <linuxmt/time.h>
#include "../httpd/mylib.h"
My source directories are laid out as:
/usr/src/elks/
/usr/src/elks/elks/
/usr/src/elks/elkscmd/
/usr/src/elks/elksnet/
and dev86 is installed under /usr and /usr/lib/bcc.
In elkscmd/Makefile, I have "BASEDIR = .", and in elkscmd/Make.defs I have:
HOMEDIR=/usr/src/elks
DEV86_DIR=/usr
ELKS_DIR=$(HOMEDIR)/elks
ELKSCMD_DIR=$(HOMEDIR)/elkscmd
ELKSNET_DIR=$(HOMEDIR)/elksnet
INC_DIR=/usr/lib/bcc/include
Any help would be much appreciated. Once I get this working, I'd also
be interested in contributing to the project.
Peace,
Eddie
reply other threads:[~2005-02-12 13:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=80459ef905021205273ff75889@mail.gmail.com \
--to=silvermoon82@gmail.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