On 2016-10-31 at 21:03 ron minnich wrote:
> + cc [TESTS] tests/xmm.c
> 
> + cc [VMM_TESTS] tests/vmm/vmrunkernel.c
> 
> tests/vmm/vmrunkernel.c:9:18: fatal error: gelf.h: No such file or directory
> 
>  #include <gelf.h>
> 
> 
> this would not be a huge problem save I can no longer build a bootable
> kernel either.
> 
> 
> If anyone has any idea how to fix this let me know, I'm going to start
> digging

that looks like the same problem you had last week, where elfutils
wasn't building/installing.

the problem is probably here: (Makefile)

PHONY += xcc-upgrade
xcc-upgrade: xcc
    @$(MAKE) userclean
    @$(MAKE) install-libs
    @$(MAKE) testclean utestclean
    @$(MAKE) tests utest
    @$(call make_as_parent, apps-clean)
    @$(call make_as_parent, apps-install)
    @$(MAKE) fill-kfs
    @$(MAKE) akaros-kernel

where 'tests' is done before apps-install.  apps-install should be
doing elfutils, but tests now requires elf (based on your patch that i
lazily haven't looked at yet).

so try this:

PHONY += xcc-upgrade
xcc-upgrade: xcc
    @$(MAKE) userclean
    @$(MAKE) install-libs
    @$(MAKE) testclean utestclean
    @$(call make_as_parent, apps-clean)
    @$(call make_as_parent, apps-install)
    @$(MAKE) tests utest
    @$(MAKE) fill-kfs
    @$(MAKE) akaros-kernel

(moved tests utest down in the order).

then xcc-upgrade-from-scratch (and xcc-upgrade) should work again.  if
so, we can patch the Makefile.

barret

-- 
You received this message because you are subscribed to the Google Groups 
"Akaros" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to