[BRLTTY] Compiling brltty on Mac OS X

Leo Abken abken at covad.net
Fri Apr 21 00:27:13 EDT 2006


Yep, changing the name of setErrno in usb_darwin.c did the trick. 
Brltty now compiles.  However, it does not install.  Make install 
fails part way through the install phase.  The failure happens when 
the drivers are being stripped.  Here is the output:

/usr/bin/install -c -s ../lib/*.bundle /usr/local/lib/brltty
strip: symbols referenced by indirect symbol table entries that can't 
be stripped in: /usr/local/lib/brltty/libbrlttybal.bundle
_millisecondsBetween
_free
_unsupportedDevice
_isUsbDevice
_isSerialDevice
_makeOutputTable
_gettimeofday
_realloc
_usbWriteEndpoint
___error
_usbReapInput
_usbAwaitInput
_usbCloseChannel
_usbBeginInput
_usbFindChannel
_serialWriteData
_LogError
_serialReadData
_serialAwaitInput
_serialCloseDevice
_serialRestartDevice
_serialOpenDevice
_LogPrint
_memcpy
_memcmp
_LogBytes
make[1]: *** [install-drivers] Error 70
make: *** [install] Error 2

I suspect this failure has to do with these drivers being built with 
-flat_namespace -undefined suppress.

BTW this is on 10.4.  OSX 10.3 and later introduced two-level 
namespace so don't know if there's a good reason these are being 
built with flat namespace.

Leo

At 6:04 PM -0400 4/20/2006, Dave Mielke wrote:
>[quoted lines by Leo Abken on 2006/04/19 at 19:03 -0700]
>
>>Has anyone here successfully compiled brltty on Mac OS X? 
>
>Yes, a couple of years ago when we developed Darwin USB support. It 
>hasn't been
>revalidated since then.
>
>>When I try
>>to compile I get compilation errors.  I am receiving errors when
>>usb_darwin.c is being compiled.  It complains about setErrno
>>expecting one parameter but being called with two. 
>
>Please try again with at least revision 2222.
>
>--
>Dave Mielke           | 2213 Fox Crescent | I believe that the Bible is the
>Phone: 1-613-726-0014 | Ottawa, Ontario   | Word of God. Please contact me
>EMail: dave at mielke.cc | Canada  K2A 1H7   | if you're concerned about Hell.
>http://FamilyRadio.com/                   | http://Mielke.cc/bible/
>_______________________________________________
>This message was sent via the BRLTTY mailing list.
>To post a message, send an e-mail to: BRLTTY at mielke.cc
>For general information, go to: http://mielke.cc/mailman/listinfo/brltty



More information about the BRLTTY mailing list