I'm Having problems building 7.0 on Irix 6.5 with the MIPSpro Compilers:
Version 7.3.1.2m. I originally was trying to build 6.5.8 because a test
that we were running elsewhere was using that, but I got a similar error
message, however unless theres a flag somewhere that I'm missing I'm not
too sure what I've done wrong.
During the lamgrow tool on 7.0 I get this message:
/bin/sh ../../libtool --mode=link /usr/bin/cc -O -64 -v
-LANG:std -v -64 -o lamgrow lamgrow.o ../../share/liblam.la -lpthread
mkdir .libs
/usr/bin/cc -O -64 -v -LANG:std -v -64 -o lamgrow
lamgrow.o ../../share/.libs/liblam.a -lpthread
/usr/lib32/cmplrs/ld64 -call_shared -no_unresolved -transitive_link -elf
-_SYSTYPE_SVR4 -show -mips4 -64 -L/usr/lib64/mips4/r10000
-L/usr/lib64/mips4 -L/usr/lib64 /usr/lib64/mips4/crt1.o -o lamgrow
lamgrow.o ../../share/.libs/liblam.a -lpthread -dont_warn_unused -Bdynamic
-lc /usr/lib64/mips4/crtn.o -warn_unused
ld64: ERROR 33 : Unresolved text symbol "lam_ssi_boot_open" -- 1st
referenced by lamgrow.o.
Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld64: ERROR 33 : Unresolved data symbol "lam_ssi_boot" -- 1st referenced
by lamgrow.o.
Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld64: ERROR 33 : Unresolved data symbol "lam_ssi_boot_base_module" -- 1st
referenced by ../../share/.libs/liblam.a(ssi_boot_close.o).
Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld64: ERROR 33 : Unresolved data symbol "lam_ssi_boot_verbose" -- 1st
referenced by ../../share/.libs/liblam.a(ssi_boot_close.o).
Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld64: ERROR 33 : Unresolved data symbol "lam_ssi_boot_did" -- 1st
referenced by ../../share/.libs/liblam.a(ssi_boot_close.o).
Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld64: INFO 152: Output file removed because of error.
cc ERROR: /usr/lib32/cmplrs/ld64 returned non-zero status 2
*** Error code 2 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
Now unless I'm missing something, those are lam libs that this make is
supposed to be generating... Maybe I will need to set a specific
LD_LIBRARY_PATH, though it seems to know where the .libs dir is.
On 6.5.8 It would die with similar missing libs during the build of the
mpimsg tool.
On 7.0, here where the following combinations of compiler flags I've used
so far, all with the same errors, so I'm pretty sure that its not a
compiler only thing, but then again, maybe its just one of those irix
things....
##1##
export CC=/usr/bin/cc
export CXX=/usr/bin/CC
export FC=/usr/bin/f90
export CFLAGS="-64 -O2 -v"
export CXXFLAGS="-64 -O2 -v"
export FFLAGS="-64 -O2 -v"
export LDFLAGS="-v -64"
export CXXLDFLAGS="-v -64"
./configure --prefix /usr/local/lam7
make
##2##
export CC=/usr/bin/cc
export CXX=/usr/bin/CC
export FC=/usr/bin/f90
export CXXFLAGS="-64 -O2 -v -LANG:std"
export FFLAGS="-64 -O2 -v -LANG:std"
export CFLAGS="-64 -O2 -v -LANG:std"
export LDFLAGS="-v -64"
export CXXLDFLAGS="-v -64"
./configure --prefix /usr/local/lam7
make clean
##3##
export CC=/usr/bin/cc
export CXX=/usr/bin/CC
export FC=/usr/bin/f77
export CFLAGS="-64 -O2 -v -LANG:std -Bstatic"
export FFLAGS="-64 -O2 -v -LANG:std -Bstatic"
export CXXFLAGS="-64 -O2 -v -LANG:std -Bstatic"
export LDFLAGS="-v -64"
export CXXLDFLAGS="-v -64"
./configure --prefix /usr/local/lam7
make
##4##
export CC=/usr/bin/cc
export CXX=/usr/bin/CC
export FC=/usr/bin/f77
export CFLAGS="-64 -O2 -mips4 -v -LANG:std "
export FFLAGS="-64 -O2 -mips4 -v -LANG:std"
export CXXFLAGS="-64 -O2 -mips4 -v -LANG:std "
export LDFLAGS="-v -64"
export CXXLDFLAGS="-v -64"
./configure --prefix /usr/local/lam7
make
##5##
export CC=/usr/bin/cc
export CXX=/usr/bin/CC
export FC=/usr/bin/f77
export CFLAGS="-64 -O2 -v -LANG:std"
export FFLAGS="-64 -O2 -v -LANG:std"
export CXXFLAGS="-64 -O2 -v -LANG:std "
export LDFLAGS="-v -64"
export CXXLDFLAGS="-v -64"
./configure --prefix /usr/local/lam7
make
##6##
export CC=/usr/bin/cc
export CXX=/usr/bin/CC
export FC=/usr/bin/f77
export FFLAGS="-64 -v -LANG:std"
export CFLAGS="-64 -v -LANG:std"
export CXXFLAGS="-64 -v -LANG:std"
export LDFLAGS="-v -64"
export CXXLDFLAGS="-v -64"
./configure --prefix /usr/local/lam7
make
I've also attached the logs of the configure and make, I hope that someone
can lend some insight into what i've missed. My luck there will be a
--with-make-irix-work flag that I missed somewhere ;)
Thanks,
Doug
==============================
Doug Farley
Data Analysis and Imaging Branch
Systems Engineering Competency
NASA Langley Research Center
< D.L.FARLEY_at_[hidden] >
< Phone +1 757 864-8141 >
|