Ed Burns <[EMAIL PROTECTED]> writes:

> Hello,
> 
> I can't for the life of me get a trunk build on Solaris 8 with Forte to
> complete.  When the build descends into mozilla/security/nss/lib/freebl,
> I get these undefined symbols:
> 
> Undefined                       first referenced
>  symbol                             in file
> s_mpv_mul_d                         SunOS5.8_DBG.OBJ/mpmontg.o
> conv_i32_to_d32_and_d16             SunOS5.8_DBG.OBJ/mpmontg.o
> s_mpv_mul_d_add                     SunOS5.8_DBG.OBJ/mpi.o
> mont_mulf_noconv                    SunOS5.8_DBG.OBJ/mpmontg.o
> s_mpv_mul_d_add_prop                SunOS5.8_DBG.OBJ/mpmontg.o
> conv_i32_to_d32                     SunOS5.8_DBG.OBJ/mpmontg.o
> conv_i32_to_d16                     SunOS5.8_DBG.OBJ/mpmontg.o
> 
> Here are the linker args:
> 
> ld -G -h libfreebl_pure32_3.so -B symbolic -z defs -z now -z text -M mapfile.Solaris 
>-o SunOS5.8_DBG.OBJ/libfreebl_pure32_3.so SunOS5.8_DBG.OBJ/ldvector.o 
>SunOS5.8_DBG.OBJ/prng_fips1861.o SunOS5.8_DBG.OBJ/sha_fast.o SunOS5.8_DBG.OBJ/md2.o 
>SunOS5.8_DBG.OBJ/md5.o SunOS5.8_DBG.OBJ/alg2268.o SunOS5.8_DBG.OBJ/arcfour.o 
>SunOS5.8_DBG.OBJ/arcfive.o SunOS5.8_DBG.OBJ/desblapi.o SunOS5.8_DBG.OBJ/des.o 
>SunOS5.8_DBG.OBJ/rijndael.o SunOS5.8_DBG.OBJ/dh.o SunOS5.8_DBG.OBJ/pqg.o 
>SunOS5.8_DBG.OBJ/dsa.o SunOS5.8_DBG.OBJ/rsa.o SunOS5.8_DBG.OBJ/mpprime.o 
>SunOS5.8_DBG.OBJ/mpmontg.o SunOS5.8_DBG.OBJ/mplogic.o SunOS5.8_DBG.OBJ/mpi.o   
>/multipak/disk3/edburns/Projects/trunk/mozilla/dist/lib/libsecutil.a  
>-L/multipak/disk3/edburns/Projects/trunk/mozilla/dist/lib/ -lplc4 -lplds4 -lnspr4 -lc
> 
> Can someone please please help me?

After an overwhelmingly resounding chorus of help, I have figured out
the problem.  For some reason, my
mozilla/security/nss/lib/freebl/Makefile (which for some other reason is
not generated from a Makefile.in) did not put the following .o's in the
link line, and these are where the undefined symbols were defined:

SunOS5.8_DBG.OBJ/mpi_sparc.o SunOS5.8_DBG.OBJ/mpv_sparcv8.o 
SunOS5.8_DBG.OBJ/montmulfv8.o

Can someone please fix this Makefile?

Ed

-- 
Remove REMOVE_THIS from email address before replying.
These are my views, and may not be the same as Sun Microsystems Inc.

Reply via email to