latest minicom/cvs missing required TCGETS symbol on osx
snowcrash
schneecrash at gmail.com
Wed Nov 7 22:42:21 UTC 2007
on/about Sep 4, i'd co'd minicom cvs/head, and built without problem
on osx 10.4.10.
i've recently upgrade to osx 10.5.0 (Leopard).
and, i've just co'd a fresh minicom cvs/head.
building,
./configure ...
completes without error.
subsequent,
make
fails at,
...
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/ncurses
-I/usr/local/include/ -I../lib -DCONFDIR=\"/usr/local/etc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/include/ncurses
-I/usr/local/include/ -g -O2 -Wall -W -g -O2 -c main.c
main.c: In function 'get_device_status':
main.c:533: error: 'TCGETS' undeclared (first use in this function)
main.c:533: error: (Each undeclared identifier is reported only once
main.c:533: error: for each function it appears in.)
make[2]: *** [main.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
exploring, and comparing with minicom release v2.2,
grep -rlni TCGETS /build/minicom-2.2
(empty)
grep -rlni TCGETS /build/minicom-cvs
./src/main.c
grep TCGETS -B5 -A5 ./src/main.c
static int get_device_status(int fd)
{
struct termios t;
if (portfd_is_socket && portfd_is_connected)
return 1;
return !ioctl(fd, TCGETS, &t);
}
/* Update the timer display. This can also be called from updown.c */
void timer_update(void)
{
it seems minicom's reference to TCGETS is new/recent.
unfortunately, it's not found in my dev env.
can someone point me to the symbol source, or help a bit with a workaround?
thanks!
More information about the minicom-devel
mailing list