|
Title: libm.a: not a COFF file Post by: multi-RAT on November 20, 2006, 04:54:58 PM HI!
I have some app what I want to compile on my aix machine, one of them THC hydra. I installed: bos.adt gnu.gcc-2.95.3.0.exe gnu.gcc.info-2.95.3.0.exe gnu.readline-4.1.0.1.exe openssl-0.9.8d.tar.gz .. bos.adt.data gnu.gcc.g++-2.95.3.0.exe gnu.grep-2.3.0.0.exe openssl-0.9.6.7.exe but I still got this error: collect2: /lib/libm.a: not a COFF file I can't find useful info with google, any idea why got this message? Title: Re: libm.a: not a COFF file Post by: Michael on November 20, 2006, 06:44:16 PM Hi. Not sure what version of AIX you are using, but gcc 2.95 falls in the category ancient.
COFF is a Windows NT fileformat. .a files on most UNIX systems are "archives", or libraries. It is a very traditional file format on UNIX systems. Some versions of UNIX, among them AIX, support dynamic linking with libraries, similiar to COFF (as I understand COFF). For more recent versions of the software installed try the following two sites: http://pdslib4aix.seas.ucla.edu/aixpdslib.html and http://www.bullfreeware.com/ And we cant forget IBM's AIX Toolbox for Linux Applications site either: http://www-03.ibm.com/servers/aix/products/aixos/linux/download.html And lastly, cant really say or guess why you are getting the message without knowing when it occurs. Title: Re: libm.a: not a COFF file Post by: multi-RAT on November 20, 2006, 10:50:22 PM Hi!
Thanks for the help, I can go a little bit far with this but there is an error again. This time: ld: 0711-317 ERROR: Undefined symbol: .MD5_Init So maybe instead of solving errors one by one, I want to ask something else: Is there a same free shell account portal for aix like the hp testdrive (www.testdrive.hp.com) where I can compile programs? I really don't want to waste 2 day to collect the necessary programs until I can compile this but those who familiar with the testdrive project, know this can be much easier when you can use a well configured system. Sorry I forget, my aix version 5.1 but the resources limited in this machine, only 4Gb hdd so I can't install a tons of dependencies to compile this program. Title: Re: libm.a: not a COFF file Post by: Michael on November 21, 2006, 10:59:32 PM There is a program that I have heard of running out of France (Montpilier, spelling is probably wrong), but not sure how you apply for that.
Please send a link to the package you are working on. I'll see if I have time to do a port. And I have done things like this with 5.1 with two 2G disks, so it can be done. MD5_init sounds like a RPM package that needs to be installed. |