Re: Problem in using libisam.a
Posted in 1998
SANDEEPVSAVLA wrote:, > I am trying to compile a C program which has C-ISAM function calls. > > Steps that I followed are > Copied isam.h to /usr/include > Copied libisam.a to /usr/lib/ > Compiled at Unix prompt using > cc filename -lisam -o outputfile > > I am using AIX version of Unix. > > On compilation the following error is coming : > ld: 0711-715 ERROR: File /usr/lib/libisam.a cannot be processed. > The file must be an object file, an import file, or an archive. > > Can anyone tell me the solution to this problem. > On the face of it, thr file you copied to /usr/lib was not a library. What does 'file /usr/lib/libisam.a' say, and how does it compare with what it says for any other library in /usr/lib? You may need to get a new tape of the C-ISAM software. -- Jonathan Leffler (jleffler@informix.com, jleffler@earthlink.net) Guardian of DBD::Informix v0.60 -- see http://www.perl.com/CPAN #include <disclaimer.h>