From mint-bounce@lists.fishpool.fi  Tue Aug  2 22:02:53 2005
X-Original-To: fnaumann@mail.boerde.de
Delivered-To: fnaumann@mail.boerde.de
Subject: Re: [MiNT] Trying to compile gnokii
From: Mark Duckworth <mduckworth@atari-source.com>
To: Ekkehard Flessa <Ekkehard_Flessa@wun.maus.de>
Cc: mint@fishpool.com
In-Reply-To: <200508020711.p42774@wun.maus.de>
References: <200508020711.p42774@wun.maus.de>
Content-Type: text/plain
Date: Tue, 02 Aug 2005 15:59:20 -0400
Message-Id: <1123012760.20321.5.camel@evil.atari-source.com>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.2 (2.2.2-5) 
Content-Transfer-Encoding: 7bit
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-To: mint-bounce@lists.fishpool.fi
X-original-sender: mduckworth@atari-source.com
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
X-Virus-Scanned: by amavisd-new at relay.boerde.de
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de
X-Spam-Status: No, hits=2.2 tagged_above=-50.5 required=7.0 tests=BAYES_00,
 RCVD_IN_NJABL, RCVD_IN_SORBS
X-Spam-Level: **

On Tue, 2005-08-02 at 07:11 +0200, Ekkehard Flessa wrote:
> Hi all,
> 
> 
> I'm trying to compile gnokii (http://www.gnokii.org), a software for data
> communication with cell phones, for MiNT. Configure went through, albeit it was
> obviously missing some features. Anyway, when I was trying to compile, I got
> this:
> 
> 
> /bin/sh ../../libtool --mode=compile gcc -g -O2  -I../../include   -o
> unixserial.lo -c unixserial.c
>  gcc -g -O2 -I../../include -c unixserial.c -o unixserial.o
> unixserial.c: In function `serial_opendevice':
> unixserial.c:309: `FIOASYNC' undeclared (first use in this function)
> unixserial.c:309: (Each undeclared identifier is reported only once
> unixserial.c:309: for each function it appears in.)
> unixserial.c: In function `serial_setdtrrts':
> unixserial.c:329: `TIOCMBIS' undeclared (first use in this function)
> unixserial.c:331: `TIOCMBIC' undeclared (first use in this function)
> gmake[1]: *** [unixserial.lo] Error 1
> gmake[1]: Leaving directory `/l/gnokii/gnokii-0.6.8/common/devices'
> gmake: *** [common/devices] Error 2
> 
> 
> These should be defined in /usr/include/sys/ioctl.h (or modem.h), but they're
> not there.
> 
> I could try to fake TIOCMBIS and TIOCMBIC by using the defines for TIOCLBIS and
> TIOCLBIC which sound similar. But what's FIOASYNC for and how's that one got to
> be defined?
> 
> Secondly, during configure I've got a bus error warning from XaAES saying that
> g77 has crashed.
> 
> 
> With best regards
> Ekkehard
> 
> P.S.: configure does work, but needs quite some time to determine the maximum
> commandline length. I've added the following to my local copy of it, approx. at
> line 5450:
> 
>   mint*)
>     # Even on a Milan040, this will take 15 Minutes or so.
>     # It would result in 262144 on my system.
>     # So we just punt and use a minimum line length of 65535.
>     # 2005-07-31 Ekkehard Flessa
>     lt_cv_sys_max_cmd_len=65535;
>     ;;
> 
> 
> 

I think some of this has something to do with 32 bit asynchronous
non-blocking i/o, some parts of which at least I don't think MiNT
supports yet.  Leave it to Frank, ozk, evan etc to correct me ;)

As far as the maximum commandline length, that's typical.  On my fast
060 falcon it's not unbearable so I just leave it as is.

Thanks,
Mark


