Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enum ascii8 is also defined in liblouisutdml #91

Closed
egli opened this issue May 26, 2015 · 1 comment
Closed

enum ascii8 is also defined in liblouisutdml #91

egli opened this issue May 26, 2015 · 1 comment
Labels
bug Bug in the code (not in a table)
Milestone

Comments

@egli
Copy link
Member

egli commented May 26, 2015

git head of liblouis and liblouisutdml aren't compatible because of redeclaration of enumerator ascii8, that was introduced with 111e702. Maybe we could just rename ascii8 to ascii.

make[2]: Entering directory '/usr/local/src/liblouisutdml/liblouisutdml'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -I.. -DLBU_PATH=\"/usr/local/share/liblouisutdml/lbu_files/\" -DLIBLOUIS_TABLES_PATH=\"/usr/local/share/liblouis/tables/\" -DLBULIB -I/usr/lib/jvm/java-7-openjdk-i386/include -I/usr/lib/jvm/java-7-openjdk-i386/include/linux -I/usr/local/include/liblouis -I/usr/include/libxml2  -g -O2 -MT liblouisutdml_la-change_table.lo -MD -MP -MF .deps/liblouisutdml_la-change_table.Tpo -c -o liblouisutdml_la-change_table.lo `test -f 'change_table.c' || echo './'`change_table.c
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DLBU_PATH=\"/usr/local/share/liblouisutdml/lbu_files/\" -DLIBLOUIS_TABLES_PATH=\"/usr/local/share/liblouis/tables/\" -DLBULIB -I/usr/lib/jvm/java-7-openjdk-i386/include -I/usr/lib/jvm/java-7-openjdk-i386/include/linux -I/usr/local/include/liblouis -I/usr/include/libxml2 -g -O2 -MT liblouisutdml_la-change_table.lo -MD -MP -MF .deps/liblouisutdml_la-change_table.Tpo -c change_table.c  -fPIC -DPIC -o .libs/liblouisutdml_la-change_table.o
In file included from change_table.c:34:0:
louisutdml.h:120:3: error: redeclaration of enumerator 'ascii8'
   ascii8
   ^
In file included from louisutdml.h:36:0,
                 from change_table.c:34:
/usr/local/include/liblouis/louis.h:480:42: note: previous definition of 'ascii8' was here
   { noEncoding, bigEndian, littleEndian, ascii8 } EncodingType;
                                          ^
Makefile:789: recipe for target 'liblouisutdml_la-change_table.lo' failed
make[2]: *** [liblouisutdml_la-change_table.lo] Error 1
make[2]: Leaving directory '/usr/local/src/liblouisutdml/liblouisutdml'
Makefile:647: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/local/src/liblouisutdml/liblouisutdml'
Makefile:691: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
@egli egli added the bug Bug in the code (not in a table) label May 26, 2015
@egli egli added this to the 2.6.3 milestone May 26, 2015
@egli egli closed this as completed in b167786 May 29, 2015
@bertfrees
Copy link
Member

The real solution is liblouis/liblouisutdml#16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug in the code (not in a table)
Projects
None yet
Development

No branches or pull requests

2 participants