delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/22/13:51:24

Date: Tue, 22 Oct 1996 17:41:59 -0300
Message-Id: <1.5.4.16.19961022153902.348f5ab2@dmeasc.rc.ipt.br>
Mime-Version: 1.0
To: Toshiro Viera <toyo AT geocities DOT com>, djgpp AT delorie DOT com
From: Cesar Scarpini Rabak <csrabak AT dce03 DOT ipt DOT br>
Subject: Re: Help! Porting ctree to DJGPP

At 05:09 13/10/96 -0700, Toshiro Viera wrote:
>Does anybody use Faircom's ctree with DJGPP?
>
>I've built the library using DJGPP v2 without errors, but when I try to 
>run a very simple program (that compiles OK), it doesn't work.
>
>The program try to create a database, but fails. It returns a DCRAT_ERR 
>and sets 'errno' to 22. The same program compiled with Borland C++ 4.5 
>(16 bit) runs without errors.

The errno 22 is the "Not such a file or directory error".

Look in the docs of ctree what DCRAT_ERR means (I'm bet it is the same thing
or a variation of "could not creat") and go to the probably culprit source.

Also try to build the smallest app that brings this unexpected behaviour,
that should help people here to enlight you.

>
>I suppose I've made a mistake when I built the library with DJGPP, but I 
>can't imagine where is the mistake. If you wish, I can post the source 
>code of the test program, or the makefile I use to build the library.
>
>Please help me. Thank you.
>
>Best wishes,
>Toshiro. 
>
>------------------------------------------------------------------------ 
> Toshiro Viera Stalker * email: toyo AT geocities DOT com 
> Visit my SF Web page: http://www.geocities.com/Area51/2209
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cesar Scarpini Rabak                      E-mail: csrabak AT ipt DOT br
DME/ASC                                   Phone: 55-11-268-35221Ext.350
IPT - Instituto de Pesquisas Tecnologicas Fax:   55-11-268-5996
Av. Prof. Almeida Prado, 532.  Sao Paulo - SP 05508-901 BRAZIL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- Raw text -


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