+++ This bug was initially created as a clone of Bug #224149 +++ Description of problem: make[3]: Entering directory `/home/build/rebuild/build/brltty-3.7.2-1.fc6.src.rpm/brltty-3.7.2/Programs' gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -I. -I.. -I. -I.. -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -DHAVE_CONFIG_H -fPIC -c ./api_client.c ./api_client.c: In function 'brlapi_waitForPacket': ./api_client.c:167: warning: dereferencing type-punned pointer will break strict-aliasing rules ./api_client.c: In function 'getControllingTty': ./api_client.c:669: error: 'MAX_NR_CONSOLES' undeclared (first use in this function) ./api_client.c:669: error: (Each undeclared identifier is reported only once ./api_client.c:669: error: for each function it appears in.) make[3]: *** [api_client.o] Error 1
Solution: add "#include <linux/vt.h> after "#include <linux/tty.h>" in the file Programs/api_client.c.
Oops, I just saw this fix was already mentioned in bug #224149.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Since this bugzilla is in a component that is not approved for the current release, it has been closed with resolution deferred. You may reopen this bugzilla for consideration in the next release.