ynezz/librs232 — Issue #6: Failed to compile on OS X Lion, B460800 undeclared
Author: andrewstarks
Created: 2011-12-15 08:44:56+00:00
State: open

I've read the instructions as best I could and did as much research as possible. I'm not a guru, so forgive my ignorance, please. :)

On Mac OSX Lion, I followed your instructions for build, including:
chmod +x autoconf.sh
./autoconf.sh
./configure --prefix=$PWD/dist
and
sudo make install

I also ran it with and without the reported request to re-run glibtoolize after making the two entries that it requested.

The tail of sudo make install is as follows:

rs232_linux.c: In function 'rs232_set_baud':
rs232_linux.c:534: error: 'B460800' undeclared (first use in this function)
rs232_linux.c:534: error: (Each undeclared identifier is reported only once
rs232_linux.c:534: error: for each function it appears in.)
make[1]: *** [rs232_linux.lo] Error 1
make: *** [install-recursive] Error 1

So..... what'd I do?