I was trying to compile unixODBC (www.unixODBC.org) for HP-UX

I used following options to configure

../configure --prefix=/home/madhu/unixODBC --enable-gui=no --enable-
drivers=no

I am getting following error while doing make. Has anyone tried
successfully compiling unixODBC for HP-UX

mkdir .libs/libinilc.lax/libodbcextraslc.a
(cd .libs/libinilc.lax/libodbcextraslc.a && ar x /home/madhu/
unixODBC-2.2.12/ini
/../extras/.libs/libodbcextraslc.a)
ar cru .libs/libinilc.a .libs/iniAllTrim.o .libs/iniAppend.o .libs/
iniDelete.o .
libs/iniClose.o .libs/iniCommit.o .libs/iniObject.o .libs/
iniObjectFirst.o .libs
/iniObjectLast.o .libs/iniObjectNext.o .libs/iniObjectSeek.o .libs/
iniObjectSeek
Sure.o .libs/iniObjectUpdate.o .libs/iniObjectInsert.o .libs/
iniObjectDelete.o .
libs/iniObjectEOL.o .libs/iniOpen.o .libs/iniProperty.o .libs/
iniPropertyFirst.o
.libs/iniPropertyLast.o .libs/iniPropertyNext.o .libs/
iniPropertySeek.o .libs/i
niPropertySeekSure.o .libs/iniPropertyUpdate.o .libs/
iniPropertyInsert.o .libs/i
niPropertyDelete.o .libs/iniPropertyEOL.o .libs/
iniPropertyValue.o .libs/iniValu
e.o .libs/iniToUpper.o .libs/iniElement.o .libs/
iniElementCount.o .libs/iniGetBo
okmark.o .libs/iniGotoBookmark.o .libs/iniCursor.o .libs/
_iniObjectRead.o .libs/
_iniPropertyRead.o .libs/_iniDump.o .libs/_iniScanUntilObject.o .libs/
libinilc.
lax/libodbcextraslc.a/strcasecmp.o .libs/libinilc.lax/
libodbcextraslc.a/snprintf
..o
ranlib .libs/libinilc.a
rm -fr .libs/libinilc.lax
creating libinilc.la
(cd .libs && rm -f libinilc.la && ln -s ../libinilc.la libinilc.la)
Making all in libltdl
cd . && /bin/sh /home/madhu/unixODBC-2.2.12/libltdl/missing --
run autohe
ader
autoheader: WARNING: Using auxiliary files such as `acconfig.h',
`config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for
`config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a
template withou
t
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be
produced, see the
autoheader: WARNING: documentation.
/usr/local/bin/m4: unrecognized option `--debugfile=autom4te.cache/
traces.0t'
Try `/usr/local/bin/m4 --help' for more information.
autom4te: /usr/local/bin/m4 failed with exit status: 1
autoheader: '/usr/local/bin/autom4te' failed with exit status: 1
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.