LCDproc development and user support list

Text archives Help


[Lcdproc] some drivers will only compile on i386


Chronological Thread 
  • From: noel AT koethe.net (Noel Koethe)
  • Subject: [Lcdproc] some drivers will only compile on i386
  • Date: Fri Mar 1 20:23:01 2002

Hello,

I build the latest Debian package with the configure Option
--enable-drivers=all

This result in the following drivers:
Currently available drivers:
lcdm001, LCDM001, MtxOrb, MatrixOrbital, CFontz, CrystalFontz,
HD44780, Hitachi,
LB216, text, curses, ncurses, joy, joystick, BayRAD, glk,
glc, sed1330, sed1520, stv5730, t6963, Toshiba

If compiled without --enable-drivers=all it results in these drivers:
Currently available drivers:
lcdm001, LCDM001, MtxOrb, MatrixOrbital, CFontz, CrystalFontz, LB216,
text,
curses, ncurses, BayRAD, glk, glc

The problem is that some drivers uses port.h which contains i386 ASM code
only for Intel plattforms.:(

(compile on sparc:)
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I../.. -Wall -O3 -c
curses_drv.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I../.. -Wall -O3 -c text.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I../.. -Wall -O3 -c lb216.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I../.. -Wall -O3 -c hd44780.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I../.. -Wall -O3 -c
hd44780-4bit.c
hd44780-4bit.c: In function `hd_init_4bit':
port.h:144: inconsistent operand constraints in an `asm'
port.h:144: inconsistent operand constraints in an `asm'
port.h:144: inconsistent operand constraints in an `asm'
port.h:144: inconsistent operand constraints in an `asm'
port.h:144: inconsistent operand constraints in an `asm'
port.h:144: inconsistent operand constraints in an `asm'
port.h:144: inconsistent operand constraints in an `asm'
port.h:144: inconsistent operand constraints in an `asm'
...

I will remove the --enable-drivers=all option in the package.
Maybe you will find time to remove the architecture dependant
parts in the drivers.

(see another bugreport
https://sf.net/tracker/index.php?func=detail&aid=472899&group_id=119&atid=100119)

--
Noèl Köthe




Archive powered by MHonArc 2.6.18.

Top of page