From: David C. <cl...@au...> - 2004-01-07 22:18:37
|
libm.a is a system library which contains XCOFF files. You'll need to look at the compile or link command being executed which is producing this error to see how it is arriving at this error. Typical simple usage would be: $ gcc myprog.c -lm -o myprog where the "-lm" says to link with the "libm.a" library. Somehow you are using incorrect link option(s) in some way to give you that message. So find the 'gcc' or the 'ld' command line which produced the error, and look at how it is trying to use libm.a. On Wed, Jan 07, 2004 at 12:08:34PM -0600, mic...@ds... wrote: > Hi there again. > > Now I've run into another problem that I couldn't really find the answer > to in the archives (I looked there first this time!). > > Basically, when I try to link a program, it fails on the libm.a archive: > > collect2: /usr/ccs/lib/libm.a: not a COFF file > ... > # file /usr/ccs/lib/libm.a > /usr/ccs/lib/libm.a: archive (big format) > > Anyone run into this issue before, and know how to fix it? > > Thankee-sai! > -- > [ Mick Ohrberg | DST Output | (816) 435-2004 ] > _______________________________________________ > aixtoolbox-list mailing list > aix...@ww... > http://www-124.ibm.com/developerworks/oss/mailman/listinfo/aixtoolbox-list -- David Clissold cl...@au... |