delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/05/02:46:50

From: aurelio rodriguez <aurelior AT geocities DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: problems with djgpp&rsxnt&gdbm
Date: Thu, 05 Feb 1998 08:16:53 +0100
Organization: Unisource Espana NEWS SERVER
Lines: 28
Message-ID: <34D96764.32C35528@geocities.com>
NNTP-Posting-Host: www.medusa.es
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

As Eli told me , i'm posting here the problems i've got while using
gdbm.
I'll try to reflect here my exact situation :

1) I have the binary distribution of djgpp installed in WIN95. (
compilation is done in a win95 system , but execution in a NT ).
2) I have the library gdbm and the include file ( from djgpp2 mirror )
3) I try both plain djgpp and djgpp with rsxnt.
4) I execute the programs via CGI  under IIS 2.0 in a winnt.

I compile this program :
<blablabla#include "gdbm.h">
main(void){GDBM_FILE pw_file =
gdbm_open("ERASEME",0,GDBM_NEWDB,0777,NULL);
if(!pw_file) { .. error . } }
1) With plain dgjpp and no ERASEME file in current dir , it exits with a
errno ==2 && gdbm_errno==3 (file cant be opened).All permissions. Same
in win95. Same in local drive C. If I create a zero_length ERASEME file
, it gives a sigsev violation.
2) With rsxnt , it gives a sigdev violation under any circumstances.
When trying to recompile gdbm to understand what's going on , it appears
to me that the sources at dgjpp (contrib/gdbm ...) are the unix ones
untouched ( ms-dos neither windows appear in config files , no bats no
exes ) and if i try to makeall , lotsa gcc compilation errors appear.
Sure i'm doing something wrong! But what ? Anyone has been in a similar
situation ?
Thanks in advance.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019