Re: problems in compile.. Jonathan S. Shapiro (shap@eros-os.org)
Fri, 23 Jun 2000 06:52:16 -0400

If you have accurately captured the output of the build, the first problem is that you need to be using the cross compiler and you aren't. I just rebuilt the DEFAULT configuration from nothing with no difficulty.

Try it with the cross compiler and see if the problem persists.

Jonathan



From: "Brian Russo" <brusso@phys.hawaii.edu> To: <eros-port@eros-os.org>
Sent: Friday, June 23, 2000 1:30 AM
Subject: problems in compile..

> hi, i was previously able to compile eros ok (After a few fixes), after a
recevnt cvs update...
>
> Now I get..
> make[4]: Entering directory
`/usr/src/eros/src/base/sys/arch/i486/build/DEFAULT'g++ -fdefault-inline -fn o-implicit-templates -g -O2 -m486 -malign-functions=4 -fno-rtti -fno-except ions -I../../include -I../../../../../../base/sys -I. -D__KERNEL__ -DTRACE= -DFAST_IPC_ARG_VALIDATE -DCONFIG_ISA=1 -DCONFIG_PCI=1 -DCONFIG_BASE=1 -DIN ET=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 -D KEYREGS_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_CpuReserve.cxx
> ../../../../../../base/sys/kernel/kern_CpuReserve.cxx: In method `void
CpuReserve::Replenish()':
> ../../../../../../base/sys/kernel/kern_CpuReserve.cxx:137: assuming & on
overloaded member function
> make[4]: *** [kern_CpuReserve.o] Error 1
> ..
> and then of course it drops back down the hierarchy complaining about the
error.
>
> Someone tried to explain the error message to me as..
> "it means that you have a function of class A declared somewhere. and the
function name of this class A is the same as a function of Class B of which A inherited from | however, function A accepts different args as Function B"
>
> anyway..
> don't believe this particular file (kern_CpuReserve.cxx) has been changed
lately.. I think the problem lies elsewhere, based on how I understand the explanation given to me of the error - that seems likely.
>
> but really.. i have no idea :)
> thanks
> sincerely
> - brian
>
> --
> +---------------------------------------------------------------+
> | Brian Russo: Professional Slacker <brusso@phys.hawaii.edu>
> | University of Hawai'i at Manoa, Physics Dept.
> +------------------------+
>