LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2004-06-02 13:32:40


That's odd -- we have specific tests in configure for snprintf. Can you
send your configure output and config.log (please compress!).

FYI -- the kenyad is part of the lamd, so if the keynad fails to compile,
you won't have a lamd, so "make -i" won't do you any good. :-)

On Wed, 2 Jun 2004, Richard Hadsell wrote:

> I configured the build with this:
>
> 102% echo $CC
> cc
> 103% echo $CXX
> cxx
> 104% echo $CFLAGS
> -arch ev6 -assume trusted_short_alignment
> 105% echo $CXXFLAGS
> -arch ev6 -assume trusted_short_alignment -std ansi -nousing_std
> -D__USE_STD_IOSTREAM
> 106% configure --prefix=/netDISKS/master/netmt/$OSV/lam-7.0.6
> --with-exceptions --without-fc --with-signal=SIGURG --with-trillium
>
>
> The build fails when it can't find snprintf:
>
> Making all in kenyad
> gmake[3]: Entering directory
> `/tmp_mnt/netDISKS/master/netmt/DIGITAL6/rnd/lam/lam-7.0.6/otb/sys/kenyad'
> ...
> ar cru liblamdkenya.a kenyad.o pqcreate.o pqdetach.o pqdoom.o pqstate.o
> ranlib liblamdkenya.a
> source='kenyad.ext.c' object='kenyad.ext.o' libtool=no \
> depfile='.deps/kenyad.ext.Po' tmpdepfile='.deps/kenyad.ext.TPo' \
> depmode=tru64 /bin/ksh ../../.././config/depcomp \
> cc -std1 -DHAVE_CONFIG_H -I. -I. -I../../../share/include
> -I../../../share/include -DLAM_BUILDING=1 -O -arch ev6 -assume
> trusted_short_alignment -pthread -c kenyad.ext.c
> source='p_main.c' object='p_main.o' libtool=no \
> depfile='.deps/p_main.Po' tmpdepfile='.deps/p_main.TPo' \
> depmode=tru64 /bin/ksh ../../.././config/depcomp \
> cc -std1 -DHAVE_CONFIG_H -I. -I. -I../../../share/include
> -I../../../share/include -DLAM_BUILDING=1 -O -arch ev6 -assume
> trusted_short_alignment -pthread -c p_main.c
> /bin/ksh ../../../libtool --mode=link cc -std1 -O -arch ev6 -assume
> trusted_short_alignment -pthread -o lamd_kenyad kenyad.o pqcreate.o
> pqdetach.o pqdoom.o pqstate.o kenyad.ext.o p_main.o ../../../share/liblam.la
> -lutil mkdir .libs
> cc -std1 -O -arch ev6 -assume trusted_short_alignment -pthread -o lamd_kenyad
> kenyad.o pqcreate.o pqdetach.o pqdoom.o pqstate.o kenyad.ext.o p_main.o
> ../../../share/.libs/liblam.a -lutil
> ld:
> Unresolved:
> snprintf
> gmake[3]: *** [lamd_kenyad] Error 1
>
>
> It's probably not so important for me to have kenyad, but the build stops
> before making lamboot, which is rather essential. I know I could use 'make
> -i' to get past this, but ignoring all errors is a bit scary.
>
>

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/