Re: How do I resolve the error: munch: The input file ... is not valid in the current object mode.
From: Darrin Wolf (phreud_at_hotmail.com)
Date: Thu, 19 Jun 2003 14:59:34 -0400
"Nicholas Dronen" <email@example.com> wrote in message
> In comp.unix.aix Darrin Wolf <firstname.lastname@example.org> wrote:
> DW> Question for the gurus out there--or at least anyone that knows more
> DW> do about AIX 5.2 and Visual Age 6.0!
> DW> I have run into an error message that I cannot really identify. I
> DW> not know if it is AIX specific, or INFORMIX 64-bit specific, since the
> DW> occurs when linking my application code to the INFORMIX ESQL libs.
> DW> Here is a paste of the error from a terminal console:
> DW> Compiling "rel.vjdinf72/dbifinf72.o" done.
> DW> Creating /testinf/viaware/htool/vjd/vjd143/lib/vjdinf72.so ...
> [ snip ]
> DW> munch: The input file /informix/lib/esql/libifsql.so is not valid in
> DW> current object mode.
> DW> Creating /testinf/viaware/htool/vjd/vjd143/lib/vjdinf72.so done.
> DW> Now, of course, as a result of this 'munch' error the target,
> DW> /testinf/viaware/htool/vjd/vjd143/lib/vjdinf72.so, is never really
> DW> Another developer where I work claims that 'a quick search on google'
> DW> implies that this is related to a 32- vs. 64-bit library issue--sort
> DW> implying that either my /informix/lib/esql libraries may not be
> DW> the way that I am building our application objects is incompatible
> DW> 64-bit ESQL libs. Or perhaps I should be statically linking rather
> DW> attempting to link with shared objects in /informix/lib/esql
> DW> (However, our MAKEFILEs have not changed from previous versions of AIX
> DW> Visual Age--we have always built a shared object--not a static
> Did this break when you upgraded from AIX 4.3.3 to 5.2? If so, I suspect
> the Informix 64-bit libraries are old-style 64-bit libraries that are not
> compatible with AIX 5.x.
Confirmed: Clean install. -Darrin