MUSCLE SC on Atari (BOUNCE)

2001-03-04 Thread David Corcoran

Hi Michael,

Here is the answer to your question and your question posted to the list.


asm/ioctls.h:#define TCSETS 0x5402
asm/ioctls.h:#define TCSETSW0x5403
asm/ioctls.h:#define TCSETSF0x5404

#define TIOCMBIC   0x5417

asm/ioctls.h:#define TIOCMBIS   0x5416


From: [EMAIL PROTECTED] (=?ISO-8859-1?Q?Michael Schr=F6ter?=)
To: [EMAIL PROTECTED]
Subject: cmbs_lnx from David Corcoran
Date: Sat, 03 Mar 2001 17:10:40 +0100
X-Mailer: ASH Emailer V2.3f
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-Sender: [EMAIL PROTECTED]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by cascadia.drizzle.com
id f23GJDF25106

Hi together!

I have tried to compile your software on an Atari-ST with MiNT 1.15.9 and
gcc 2.95.2 and mintlib 0.56. I have a chipdrive from towitoko, but no
software for my Atari.

I have a little problem, when I compile the file serial.c:

The output of the compiler (sequential only serial.c):

mia:/h/usr/local/src/chipdrive# gcc -c serial.c
serial.c: In function `IO_InitializePort':
serial.c:98: `TCSETS' undeclared (first use in this function)
serial.c:98: (Each undeclared identifier is reported only once
serial.c:98: for each function it appears in.)
serial.c: In function `IO_CardManpulserts':
serial.c:124: `TIOCMBIC' undeclared (first use in this function)
serial.c:133: `TIOCMBIS' undeclared (first use in this function)

My libraries/headerfiles don't have the undeclared const or valiables. :-(

Please, can you help me? What ist the definition of: TCSETS, TIOCMBIC and
TIOCMBIS? Or can you give me a Internet-address, where I can get the latest
unix-Headerfiles?

The other c-files are compiled whitout any problems. :-) Perhaps I can use
this software to use my chipdrive, if I can compile it? (I hope)

Bye, Michael




David Corcoran  Purdue University
1008 Cherry Lane
West Lafayette, IN 47906
[EMAIL PROTECTED]
765 - 532 - 6006http://www.linuxnet.com


***
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***



Re: MUSCLE SC on Atari (BOUNCE)

2001-03-04 Thread Jim Rees

You can't just go #defining those things without understanding why they're
needed.  If they aren't in your system include files then your OS probably
doesn't support them.

You didn't say which driver you're trying to compile so I can't help trying
to track this down.  TCSETS, TIOCMBIS, etc are not standard termios things.
They might be bsd.  I don't see them in any of the towitoko drivers I looked
at.
***
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***