This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: pkgconf/hal.h missing


>>>>> "Nick" == Nick Barnes <Nick.Barnes@pobox.com> writes:

    Nick> I have just downloaded ecos 1.3.1. I have also downloaded
    Nick> and built the newest binutils, cygwin, gcc, gdb, etc.

    Nick> I removed my old build and install directories, and loaded
    Nick> my existing .ecc file (last known to work with an alpha of
    Nick> 1.3.1) into the config tool, and asked it to build the
    Nick> library.

    Nick> It does the headers and moves on to compilation but
    Nick> complains that pkgconf/hal.h is missing. See the contents of
    Nick> the output pane pasted below.

    Nick> I've browsed through the makefiles but can't see anything
    Nick> that is meant to create this header.

    Nick> Help!

    <snip>

The pkgconf header files are generated by the various configuration
tools prior to the build. In other words there should already be an
install/include/pkgconf subdirectory before the makefile is generated,
and hal.h should be present there. Doing at the command line:

  ~ 334 > mkdir pkgobj
  ~ 335 > cd pkgobj
  ~/pkgobj 336 > ecosconfig new pid
  ~/pkgobj 337 > ecosconfig tree
  ~/pkgobj 339 > ls install/include/pkgconf/
  error.h  hal.h	hal_arm.h  hal_arm_pid.h  infra.h  io.h  io_serial.h
  io_serial_arm_pid.h  kernel.h  libc.h  libm.h  system.h  wallclock.h

I cannot think of any good reason why the common hal configuration
header would not be generated, and do not remember any previous
problem reports of this nature. Possibly something is getting confused
about where the build and install trees are.

Bart Veer // eCos net maintainer

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]