From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Mon, 3 Jun 2002 04:27:22 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 232 ************************************************** Sunday 02 June 2002 Number 232 ************************************************** Subjects for today 1 Re: db.lib : Henry Sobotka 2 Re: db.lib : Henry Sobotka 3 Hi there, : Edwin =?iso-8859-1?Q?G=FCnthner?= 4 Re: Hi there, : Edwin Guenthner 5 Re: db.lib : John Poltorak 6 Re: db.lib : John Poltorak **= Email 1 ==========================** Date: Mon, 03 Jun 2002 00:13:31 -0400 From: Henry Sobotka Subject: Re: db.lib John Poltorak wrote: > > Can anyone tell me what is causing this problem when I try linking with > db.lib? :- [snip] > DB_File.obj(DB_File.obj) : error L2029: 'dbopen' : unresolved external Something of the order of a neutrino storm, or butterfly in Tahiti flapping its wings. dbopen has probably been in db.c since version 0.01 and the compilation/linkage commands leading to the error look okay. Unless you have an oddly flawed db.lib, doing a clean and rebuild should make it go away. If it doesn't, ask yourself what's different since you successfully built Perl a few days ago. h~ **= Email 2 ==========================** Date: Mon, 03 Jun 2002 13:22:53 -0400 From: Henry Sobotka Subject: Re: db.lib John Poltorak wrote: > > I get a lot of errors like this in POPUPLOG.OS2:- > > 06-03-2002 17:31:16 SYS2070 PID 90c6 TID 0001 Slot 00bf > C:\EVAL\PERL-5.8\PERL-5.8.0-RC1\T\PERL.EXE > DB_FILHA->PERLB12E.malloc > 127 Those generally mean a wrong version of the DLL is being loaded because it comes first in LIBPATH or whatever. h~ **= Email 3 ==========================** Date: Mon, 03 Jun 2002 14:26:06 +0200 From: Edwin =?iso-8859-1?Q?G=FCnthner?= Subject: Hi there, Hello Henry, I guess you were offline for a while; and it seems that you are back ... just wondering: do you have any opinion on the problem that I described in my mail " Deja vu: perl_, xs module and coredump" going to the UnixOs2 mailing list last week? regards, eg **= Email 4 ==========================** Date: Mon, 03 Jun 2002 15:10:48 +0200 From: Edwin Guenthner Subject: Re: Hi there, Sorry for that, I wanted to sent this mail directly to Henry ... instead of that I sent it to the mailing list. Again, sorry for that. eg **= Email 5 ==========================** Date: Mon, 3 Jun 2002 16:34:00 +0100 From: John Poltorak Subject: Re: db.lib On Mon, Jun 03, 2002 at 12:13:31AM -0400, Henry Sobotka wrote: > John Poltorak wrote: > > > > Can anyone tell me what is causing this problem when I try linking with > > db.lib? :- > > [snip] > > > DB_File.obj(DB_File.obj) : error L2029: 'dbopen' : unresolved external > > Something of the order of a neutrino storm, or butterfly in Tahiti > flapping its wings. dbopen has probably been in db.c since version 0.01 > and the compilation/linkage commands leading to the error look okay. > Unless you have an oddly flawed db.lib, doing a clean and rebuild should > make it go away. If it doesn't, ask yourself what's different since you > successfully built Perl a few days ago. Hmm... This prompted a look through various logs, and I found I got the same error when building 5.6.0 many months ago. Then doing a search on db.lib I didn't find any dbopen, although it did exist in Ilyaz's db.a, so whatever I did in creating db.lib from it must not have worked fully. I'm trying another Perl 5.8.0 build with a new db.lib and hope that particular error gets eliminated now. We'll see... I guess this underlines the need for a standard uptodate set of librabries and headers for use with gcc which obviates the need for people to roll their own. This is something I wanted to establish with LIBEMX, but never managed to produce a satisfactory package from scratch. > h~ -- John **= Email 6 ==========================** Date: Mon, 3 Jun 2002 17:59:51 +0100 From: John Poltorak Subject: Re: db.lib On Mon, Jun 03, 2002 at 04:34:00PM +0100, John Poltorak wrote: > On Mon, Jun 03, 2002 at 12:13:31AM -0400, Henry Sobotka wrote: > > John Poltorak wrote: > > > > > > Can anyone tell me what is causing this problem when I try linking with > > > db.lib? :- > > > > [snip] > > > > > DB_File.obj(DB_File.obj) : error L2029: 'dbopen' : unresolved external > > > > Something of the order of a neutrino storm, or butterfly in Tahiti > > flapping its wings. dbopen has probably been in db.c since version 0.01 > > and the compilation/linkage commands leading to the error look okay. > > Unless you have an oddly flawed db.lib, doing a clean and rebuild should > > make it go away. If it doesn't, ask yourself what's different since you > > successfully built Perl a few days ago. > > Hmm... This prompted a look through various logs, and I found I got the > same error when building 5.6.0 many months ago. Then doing a search on > db.lib I didn't find any dbopen, although it did exist in Ilyaz's db.a, so > whatever I did in creating db.lib from it must not have worked fully. > > I'm trying another Perl 5.8.0 build with a new db.lib and hope that > particular error gets eliminated now. We'll see... A couple of hours later, folowing another build, I've started seeing new errors which didn't occur previously. I get a lot of errors like this in POPUPLOG.OS2:- 06-03-2002 17:31:16 SYS2070 PID 90c6 TID 0001 Slot 00bf C:\EVAL\PERL-5.8\PERL-5.8.0-RC1\T\PERL.EXE DB_FILHA->PERLB12E.malloc 127 I guess I need someone to give me a db.lib which is known to work properly. I must be doing something wrong when I create db.lib from Ilyaz's db_mt.zip... > > h~ -- John