[BRLTTY] Building brltty in ppc64le architecture

Dave Mielke dave at mielke.cc
Thu May 8 10:20:08 EDT 2014


[quoted lines by sim at linux.vnet.ibm.com on 2014/05/08 at 07:42 -0400]

>./config.c: In function ?constructBrailleDriver?:
>./config.c:1060:71: error: ?KEY_TABLE_EXTENSION? undeclared (first
>use in this function)

This must mean that config.h isn't being included. The only way I can think of 
that would cause config.h not to be included is the configure script not having 
been run. Could you please describe the steps you took to try to build brltty?

If you're building from a released tarball, then, before you do the make, you 
need to change to the top-level directory in brltty's source tree and run 
./configure.

If you're building from brltty's source repository, then you still need to run 
./configure, but, even before that, you need to run ./autogen.

There are some notes on all of this in the Source Repository section of the 
Download page on brltty's web site (brltty.com). Please let us know if any of 
those notes are unclear, or if any instructions are missing.

>This is because the KEY_TABLE_EXTENSION macro is not defined in the
>config.h file in ppc64le architecture, while on other architectures,
>this is defined properly.

The definition of KEY_TGABLE_EXTGENSION in config.h isn't protected by any 
conditional compilation tests. Each source file (in your case, config.c) 
includes the prologue.h header right up at the top. Then, prologue.h only 
includes the config.h header if the configure script has been run. That's why 
I'm suspecting that you didn't execute the configure script.

>can someone clarify if the package supports for little endian architecture.

Yes, it does. It was initially designed for Linux running on Intel x86 
platforms, which are little endian. Since then, it's been generalized to run 
also on big endian platforms.

-- 
Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
EMail: dave at mielke.cc | Canada  K2A 1H7   | http://FamilyRadio.com/


More information about the BRLTTY mailing list