>Willy Calderon's bits of Tue, 5 Mar 2002 translated to: > > >-I../htlib -I../htcommon -I../db/dist -I../include -g Accents.cc > > CC -o htfuzzy -L../htlib -L../htcommon -L../db/dist -L/usr/lib > >Endings.o EndingsDB.o Exact.o Fuzzy.o Metaphone.o Soundex.o >SuffixEntry.o > >Synonym.o htfuzzy.o Substring.o Prefix.o Accents.o >../htcommon/libcommon.a > >.../htlib/libht.a ../db/dist/libdb.a -lz -lnsl -lsocket > >ld32: FATAL 12 : Expecting n32 objects: /usr/lib/crt1.o is o32. > >*** Error code 2 (bu21) > >*** Error code 1 (bu21) > > > >================ > > > > > >Any ideas? > >If I recall correctly, there are a couple 32-bit addressing >schemes used under IRIX. The older is referred to as o32 and the >newer as n32. It appears that your objects are being built as n32 >(by default), but an attempt is being made to link with an o32 >system object. > >You either need to build htdig using -o32 or link against an n32 >version of crt1.o. Do you have another copy of crt1.o somewhere? >Perhaps in /usr/lib32? If so, you should be able to check if it >is n32 with the 'file' command. If you can find the n32 version, >I believe you can set an LDFLAGS environment variable before >running configure in order to make the build process look in the >alternate location. For example > > > setenv LDFLAGS -L/usr/lib32 > > ./configure > >The other option would be to leave LDFLAGS as is and pass >everything a -o32. > >Sorry if this is a bit vague in places. My IRIX experience is >quite limited. > >Jim
OK, I setenv LDFLAGS –L/usr/lib32 and the ./configure and it ran. Again, during the make process, I get another error except this time previous warnings in /usr/lib32/ ===================== CC -c -DDEFAULT_CONFIG_FILE=\"/opt/www/htdig/conf/htdig.conf\" -I../htlib -I../htcommon -I../db/dist -I../include -g htfuzzy.cc CC -o htfuzzy -L/usr/lib32 -L../htlib -L../htcommon -L../db/dist -L/usr/lib Endings.o EndingsDB.o Exact.o Fuzzy.o Metaphone.o Soundex.o SuffixEntry.o Synonym.o htfuzzy.o Substring.o Prefix.o Accents.o ../htcommon/libcommon.a ../htlib/libht.a ../db/dist/libdb.a -lz -lnsl -lsocket ld32: WARNING 84 : /usr/lib32/libz.so is not used for resolving any symbol. ld32: WARNING 84 : /usr/lib32/libnsl.so is not used for resolving any symbol. ld32: WARNING 84 : /usr/lib32/libsocket.so is not used for resolving any symbol. ld32: ERROR 33 : Unresolved text symbol "alloca" -- 1st referenced by ../htlib/libht.a(regex.o). Use linker option -v to see when and which objects, archives and dsos are loaded. ld32: INFO 152: Output file removed because of error. *** Error code 2 (bu21) *** Error code 1 (bu21) ===================== _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx _______________________________________________ htdig-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/htdig-dev