![]() |
Blitz Support : |
From: Patrik (patrik_at_[hidden])
Date: 2003-08-03 21:00:43
(I apologize for the previous message that Eudora decided to send before I
had even started typing it... ;-)
I managed to get one step further in building my cvs snapshot, by making
the following change to the configure.in:
diff -r1.29 configure.in
248a249
> LDFLAGS="-XCClinker -q64"
The output now looks like this:
/bin/sh ../libtool --mode=link KCC -q64 --restrict --longlong
--strict_warnings -XCClinker -q64 -o libblitz.la -rpath
/u7/patrik/lib64 globals.lo -lm
rm -fr .libs/libblitz.exp .libs/libblitz.so.0
generating symbol list for `libblitz.la'
/usr/common/usg/gnu/bin/nm -B -Bpg .libs/globals.o | awk '{ if ((($2 ==
"T") || ($2 == "D") || ($2 == "B")) && (substr($3,1,1) != ".")) { print $3
} }' | sort -u > .libs/libblitz.exp
/usr/common/usg/gnu/bin/nm: .libs/globals.o: File format not recognized
KCC -Wl,-bM:SRE -o .libs/libblitz.so.0 .libs/globals.o -lm -lc -q64
-Wl,-bE:.libs/libblitz.exp -Wl,-bnoentry ${wl}-berok
$(CXX) -q64 -o .libs/libblitz.a .libs/libblitz.so.0
../libtool[4137]: CXX: not found
../libtool[4137]: -q64: not found
make[1]: *** [libblitz.la] Error 127
I don't know what's going on now. CXX is certainly set to KCC in the
Makefile. It looks like libtool is actually trying to invoke "$(cxx)"
literally? Moreover, if I try to help libtool out with this step by doing
what I assume it wants to, the following happens:
[37] patrik_at_s00605% KCC -q64 -o .libs/libblitz.a .libs/libblitz.so.0
KCC: Option .libs/libblitz.so.0 not recognized.
Apparently, the ".0" suffix on the file confuses KCC.
Anyone have any idea what the @<#@& problem is?? I'm getting pretty
frustrated with this "portable" way of building the library, when a simple
"KCC -o libblitz.a globals.o" would do it and I would have had time to type
that many thousands of times in the time I've spent trying to get this to
work... :-(
Regards,
/Patrik
At 10:43 PM 8/1/2003 -0700, you wrote:
>Thanks to Julian and Frank who helped me with the autoreconf problem! Now
>I have another one. I'm doing
>
>./configure --with-cxx=KCC --enable-64bit --libdir=/u7/patrik/lib64
>--includedir=/u7/patrik/include
>
>and the making fails with:
>
>/usr/common/usg/gnu/bin/nm: .libs/globals.o: File format not recognized
>KCC -bM:SRE -o .libs/libblitz.so.0 .libs/globals.o -lm
>-lc -bE:.libs/libblitz.exp -bnoentry ${wl}-berok
>dump: .libs/globals.o: 0654-108 file is not valid in the current object
>file mode.
> Use the -X option to specify the desired object mode.
>ld: 0711-736 ERROR: Input file .libs/globals.o:
> XCOFF64 object files are not allowed in 32-bit mode.
>
>This is what happens when the "-q64" flag is not specified for the linking
>invocation of KCC. Can anyone tell me what the problem is this time? (I
>believe what I did before was just create libblitz.a from globals.o by
>hand, but it's sort of defies the entire idea of this super fancy build
>system... ;-)
>
>Thanks,
>
>/Patrik
>
>At 01:47 PM 8/1/2003 +0200, you wrote:
>>It seems to me that aclocal does not find libtool.
>>Do you have libtool installed?
>>
>>If you do, aclocal does not find the file `libtool.m4' which defines
>>`AC_PROG_LIBTOOL' in its m4 directory. Try `aclocal --print-ac-dir'
>>and symlink or copy `libtool.m4' there or use the -I option of aclocal.
>>
>>-Frank
>>_______________________________________________
>>Blitz-support mailing list
>>Blitz-support_at_[hidden]
>>http://www.oonumerics.org/mailman/listinfo.cgi/blitz-support
>
>
>_______________________________________________
>Blitz-support mailing list
>Blitz-support_at_[hidden]
>http://www.oonumerics.org/mailman/listinfo.cgi/blitz-support