I am trying to install a library package called linux-conio-1.01
I think I'm having difficulty because of the processor I am using.
my computer is a Cyrix 686 processor
my ncurses.h file is in /usr/include/ncurses
my ncurses version is ncurses-1.9.9e as recommended
my conio version is 1.01 ( I got this from a Slakewre 3.2 cd
distribution) linux-conio-1.01.tgz
note: these guys are supposed to be available for help, but none of these
address's work to contact the authors for questions:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
I get the following when I try to compile:
##########################begin########################
GodSpell:/usr/src/linux-conio# make
Mental EXPlosion presents:
Linux-conio.h - the conio.h for Linux
*************************************
ATTENTION: This package needs ncurses !
If you are sure you have installed it and it is not
found - edit the Makefile and change the variable
"CURSESDIR" - It is now set to: /usr
Trying to compile...
cc -O -c -I. -I/usr/include/ncurses conio.c -o conio.o
/tmp/cca00363.s: Assembler messages:
/tmp/cca00363.s:725: Error: register does not match opcode suffix
/tmp/cca00363.s:760: Error: register does not match opcode suffix
make: *** [all] Error 1
GodSpell:/usr/src/linux-conio#
########################end############################
This bit of assembler code (there is more) for a Conio.c file than may
need to be
rewritten for a Cyrix processor:
##########################begin###################
/* This is Intel-specific ! */
static inline int inport (int port)
{
unsigned char value;
__asm__ volatile ("inb %1,%0"
: "=a" (value)
: "d" ((unsigned short) port));
return value;
}
####################end#######################
Does anyone know how to modify this to make this library compile and run
on a Cyrix 686 machine?
I would appreciate any help you can give.
Thanks
_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]