[greenstone-users] Problem: wrong ELF machine type: EM_386

From rain Hanks
DateThu, 19 Feb 2004 17:35:21 +0000
Subject [greenstone-users] Problem: wrong ELF machine type: EM_386
Hello,

I encountered a problem when I try to do " make all" to complile the
gsdl-2.41 files. When the "make all" reaches the directory src/recpt, the
following problems occur:

making all in src/recpt

make[1]: Entering directory
`/export/home/yzhu/greenstone/gsdl-2.41-src/gsdl/src/recpt'
g++ -o library receptionist.o cgiwrapper.o cgiargs.o action.o
browserclass.o converter.o recptconfig.o cgiutils.o OIDtools.o browsetools.o
statusaction.o pageaction.o comtypes.o recptproto.o pingaction.o
queryaction.o documentaction.o extlinkaction.o browseaction.o htmlutils.o
querytools.o browseactiontools.o formattools.o tipaction.o authenaction.o
argdb.o infodbclass.o userdb.o usersaction.o vlistbrowserclass.o
hlistbrowserclass.o datelistbrowserclass.o invbrowserclass.o
pagedbrowserclass.o htmlbrowserclass.o phindbrowserclass.o historydb.o
collectoraction.o phindaction.o summarise.o highlighttext.o nullproto.o
librarymain.o ../colservr/mgq.o ../colservr/search.o ../colservr/mgsearch.o
../colservr/querycache.o ../colservr/queryinfo.o ../colservr/collectserver.o
../colservr/colservrconfig.o ../colservr/maptools.o ../colservr/filter.o
../colservr/source.o ../colservr/browsefilter.o ../colservr/queryfilter.o
../colservr/mggdbmsource.o ../colservr/phrasesearch.o
../colservr/phrasequeryfilter.o ../colservr/mgqueryfilter.o
../colservr/mgppsearch.o ../colservr/mgppqueryfilter.o
../colservr/collectset.o ../../lib/gsdllib.a
../../packages/mg/src/text/libtextin.a ../../packages/mg/lib/libmg.a
../mgpp/text/libtextin.a ../mgpp/lib/libmg.a
-L/export/home/yzhu/greenstone/gdbm/lib -lgdbm -lcrypt -lstdc++ -lm

ld: warning: file
/export/home/yzhu/greenstone/gdbm/lib/libgdbm.a(gdbmopen.o): wrong ELF
machine type: EM_386
Undefined first referenced
symbol in file
gdbm_delete infodbclass.o
gdbm_firstkey infodbclass.o
gdbm_nextkey infodbclass.o
gdbm_close infodbclass.o
gdbm_store infodbclass.o
gdbm_errno infodbclass.o
gdbm_fetch infodbclass.o
gdbm_open infodbclass.o
ld: fatal: Symbol referencing errors. No output written to library
collect2: ld returned 1 exit status
make[1]: *** [library] Error 1
make[1]: Leaving directory
`/export/home/yzhu/greenstone/gsdl-2.41-src/gsdl/src/recpt'
make: *** [all] Error 1

Could anyone help me figure out what is wrong with it? What does "wrong ELF
machine type: EM_386" mean? something wrong with the compiler?


I appreciate for your help and time!

Best regards,
Rain

_________________________________________________________________
Say □good-bye□ to spam, viruses and pop-ups with MSN Premium -- free trial
offer! http://click.atdmt.com/AVE/go/onm00200359ave/direct/01/