Menu

#403 Compiling a2ps: relocate.h missing

A2Ps
closed
GnuWin
Sources (36)
5
2012-07-26
2007-12-28
GnuWin
No

I'm trying to compile a2ps, following the instructions at:
http://gnuwin32.sourceforge.net/compile.html

I've gotten over a few bumps so far, but I'm getting stuck when make hits lib/confg.c, which includes the following at line 52:

---begin code---

ifdef ENABLE_RELOCATABLE

include <relocate.h>

else

define relocatex (dir,path) (path)

endif

---end code---

This is not part of the lib/confg.c file for a2ps-4.13b when downloaded from gnu.org, so AFAICT, it's GnuWin32-specific.

The problem is that neither the compiler nor I can find relocate.h. It's not part of the a2ps source package at gnuwin32.sourceforge.net, it's not part of the LibGW32 package, it's not part of the LibTool package, and it's not included with any of the CygWin or MinGW packages I downloaded to do the build.

Modifying the Makefile to remove the -DENABLE_RELOCATBLE flag generates an error when it tries to compile the relocatex function at line 450.

Anyone know where I can find relocate.h (and, presumably, the library file it goes with)?

Many thanks!

--Bryan

Discussion

  • GnuWin

    GnuWin - 2007-12-28

    Logged In: YES
    user_id=217802
    Originator: YES

    This bug has been fixed. A new release is available through
    http://gnuwin32.sourceforge.net/

     
  • GnuWin

    GnuWin - 2008-02-17

    Logged In: YES
    user_id=217802
    Originator: YES

    This bug has been fixed. A new release is available through
    http://gnuwin32.sourceforge.net/