From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Thu, 30 May 2002 04:26:16 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 228 ************************************************** Wednesday 29 May 2002 Number 228 ************************************************** Subjects for today 1 db.lib : John Poltorak **= Email 1 ==========================** Date: Thu, 30 May 2002 09:44:12 +0100 From: John Poltorak Subject: db.lib While trying to build the latest PERL I get the following errors related to db.lib:- Making DB_File (dynamic) Writing Makefile for DB_File make[1]: Entering directory `/eval/perl-5.8/perl/ext/DB_File' make[1]: Leaving directory `/eval/perl-5.8/perl/ext/DB_File' make[1]: Entering directory `/eval/perl-5.8/perl/ext/DB_File' cp DB_File.pm ../../lib/DB_File.pm AutoSplitting ../../lib/DB_File.pm (../../lib/auto/DB_File) gcc -c -Zomf -Zmt -DDOSISH -DOS2=2 -DEMBED -I. -D_EMX_CRT_REV_=64 -O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -s -DVERSION=\"1.804\" -DXS_VERSION=\"1.804\" -Zdll "-I../.." -DOS2 version.c *Initialization*:1: warning: `OS2' redefined *Initialization*:1: warning: this is the location of the previous definition C:/EVAL/PERL-5.8/PERL/MINIPERL.EXE "-I../../lib" "-I../../lib" ../../lib/ExtUtils/xsubpp -noprototypes -typemap ../../lib/ExtUtils/typemap -typemap typemap DB_File.xs > DB_File.xsc && mv DB_File.xsc DB_File.c gcc -c -Zomf -Zmt -DDOSISH -DOS2=2 -DEMBED -I. -D_EMX_CRT_REV_=64 -O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -s -DVERSION=\"1.804\" -DXS_VERSION=\"1.804\" -Zdll "-I../.." -DOS2 DB_File.c *Initialization*:1: warning: `OS2' redefined *Initialization*:1: warning: this is the location of the previous definition Running Mkbootstrap for DB_File () chmod 644 DB_File.bs C:/EVAL/PERL-5.8/PERL/MINIPERL.EXE "-I../../lib" "-I../../lib" -e 'use ExtUtils::Mksymlists; \ Mksymlists("NAME" => "DB_File", "DLBASE" => "DB_FilHA", "VERSION" => "1.804", "DISTNAME" => "DB_File", "INSTALLDIRS" => "perl", "DL_FUNCS" => { }, "FUNCLIST" => [], "IMPORTS" => { }, "DL_VARS" => []);' rm -f ../../lib/auto/DB_File/DB_FilHA.dll LD_RUN_PATH="c:/emx/lib" gcc -Zdll -Zomf -Zmt -Zcrtdll -Zlinker /e:2 version.obj DB_File.obj -O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -s -o ../../lib/auto/DB_File/DB_FilHA.dll ../../libperl.lib -ldb -lsocket -lm -lbsd ../../libperl_override.lib DB_File.def c:\emx\lib\db.lib(rec_search.obj) : error L2029: 'errno' : unresolved external c:\emx\lib\db.lib(munmap.obj) : error L2029: 'errno' : unresolved external c:\emx\lib\db.lib(rec_seq.obj) : error L2029: 'errno' : unresolved external c:\emx\lib\db.lib(rec_put.obj) : error L2029: 'errno' : unresolved external c:\emx\lib\db.lib(rec_get.obj) : error L2029: 'errno' : unresolved external c:\emx\lib\db.lib(rec_delete.obj) : error L2029: 'errno' : unresolved external c:\emx\lib\db.lib(mpool.obj) : error L2029: 'errno' : unresolved external c:\emx\lib\db.lib(hash_page.obj) : error L2029: 'errno' : unresolved external c:\emx\lib\db.lib(hash_bigkey.obj) : error L2029: 'errno' : unresolved external c:\emx\lib\db.lib(bt_seq.obj) : error L2029: 'errno' : unresolved external c:\emx\lib\db.lib(bt_put.obj) : error L2029: 'errno' : unresolved external c:\emx\lib\db.lib(bt_get.obj) : error L2029: 'errno' : unresolved external c:\emx\lib\db.lib(bt_delete.obj) : error L2029: 'errno' : unresolved external c:\emx\lib\db.lib(bt_close.obj) : error L2029: 'errno' : unresolved external c:\emx\lib\db.lib(rec_open.obj) : error L2029: 'errno' : unresolved external c:\emx\lib\db.lib(hash.obj) : error L2029: 'errno' : unresolved external c:\emx\lib\db.lib(bt_open.obj) : error L2029: 'errno' : unresolved external c:\emx\lib\db.lib(db.obj) : error L2029: 'errno' : unresolved external There was 1 error detected make[1]: *** [../../lib/auto/DB_File/DB_FilHA.dll] Error 1 make[1]: Leaving directory `/eval/perl-5.8/perl/ext/DB_File' make: *** [lib/auto/DB_File/DB_File.dll] Error 2 Is this bcause I've used the wrong version of db.lib? Is there any way to distinguish the two versions? -- John