[prev in list] [next in list] [prev in thread] [next in thread]
List: eros-port
Subject: Compilation problem
From: Jonathan S. Shapiro shap () eros-os ! org
Date: 2000-05-12 10:18:53
[Download RAW message or body]
I'm forwarding this on behalf of Brian Denheyer. It bounced due to excessive
Majordomo cleverness (which I have fixed).
> > I used the latest unstable Debian distribution (called woody) and my
> > gcc/g++ version is 2.95.2 20000313
>
> I'm sort of "in-between" distributions but it looks like I have gcc 2.95.2
>
> > 1. Untar eros-base.tgz, eros-build.tgz and eros-xenv.tgz
> OK
> > 2. Set the following environment variables:
> OK
> > 3. make update
> OK
> > 3. I had to change awk to point to gawk (Gnu Awk), because Debian
> > uses mawk as the default and this caused problems.
> OK
> > 4. I changed the following lines in
> I didn't do that. I noticed that the xenv tools weren't in the expected
directory, so I did :
>
> cd src/xenv
> make install
>
> It appears that "make install" from src doesn't build the xenv tools.
> Should I have maybe started with make clean before make install (at
> the top level) ??
>
> After "building" the xenv tools, the changes from item 4 were not
> necessary. The build then started, but unfortunately stopped with an
> error message.
>
> > 5. Compilation next stopped with an error in
>
>
/usr/local/src/eros/eros/xenv/bin/i386-unknown-linux-g++ -fdefault-inline -f
no-implicit-templates -g -O2 -m486 -malign-functions=4 -fno-rtti -fno-excep
tions -I../../include -I../../../../../../base/sys -I. -D__KERNEL__ -DTRACE=
-DFAST_IPC_ARG_VALIDATE -DCONFIG_ISA=1 -DCONFIG_PCI=1 -DCONFIG_BASE=1 -DI
NET=1 -DKERN_TIMING_STATS=1 -DALLOW_USER_RDTSC=1 -DSCSI=1 -DDDB=1 -DFAST_IPC
_STATS=1 -DKERN_STATS=1 -DSMALL_SPACES=1 -DKERN_PROFILE=1 -DOB_MOD_CHECK=1 -
DKEYREGS_IN_CONTEXT=1 -DCPU_I386=1 -DCPU_I486=1 -DCPU_PENTIUM=1 -DCPU_PPRO=1
-DARCH_X86=1 -DMACHINE_PC=1 -Wall -Winline -Werror -Wno-format -c
../../../../../../base/sys/kernel/kern_main.cxx
> ../../../../../../base/sys/eros/machine/SaveArea.h: In function `bool
sa_IsProcess(const struct fixregs_t *)':
> In file included from ../../../../../../base/sys/kerninc/Process.hxx:36,
> from ../../../../../../base/sys/kerninc/Thread.hxx:33,
> from ../../../../../../base/sys/kernel/kern_main.cxx:41:
> ../../../../../../base/sys/eros/machine/SaveArea.h:29: `struct fixregs_t'
has no member named `CS'
>
> I'm not sure what to make of it, but it certainly doesn't happen at
> the same place.
>
> Since it happens in something called "kern_main" I probably need to be
> sure and fix it properly before proceeding.
>
> Any suggestions ?
>
> Brian
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic