[oe-commits] [Bug 5320] New: socat fails to build for i686/eglibc/minimal (HAVE_TERMIOS_ISPEED wrong)

bugzilla-daemon at git.openembedded.org bugzilla-daemon at git.openembedded.org
Sat Sep 26 21:56:43 UTC 2009


http://bugs.openembedded.org/show_bug.cgi?id=5320

           Summary: socat fails to build for i686/eglibc/minimal
                    (HAVE_TERMIOS_ISPEED wrong)
           Product: Openembedded
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: org.openembedded.dev
        AssignedTo: openembedded-commits at lists.openembedded.org
        ReportedBy: likewise at gmx.net


MACHINE=i686
DISTRO=minimal
LIBC=eglibc

the socat package fails to build during xio-termios.c compilation as
ISPEED_OFFSET is undefined. Failing code snippet:

---
#ifdef HAVE_TERMIOS_ISPEED
const struct optdesc opt_ispeed = { "ispeed", NULL, OPT_ISPEED, GROUP_TERMIOS,
PH_FD, TYPE_UINT, OFUNC_TERMIOS_SPEED, ISPEED_OFFSET };
const struct optdesc opt_ospeed = { "ospeed", NULL, OPT_OSPEED, GROUP_TERMIOS,
PH_FD, TYPE_UINT, OFUNC_TERMIOS_SPEED, OSPEED_OFFSET };
#endif /* HAVE_TERMIOS_ISPEED */
---

HAVE_TERMIOS_ISPEED is (wrongly?) defined 1

the configure seems to set

sc_cv_termios_ispeed=yes

Not sure why yet. Might be eglibc or x86 specific, or (a combo of) both.

-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-commits mailing list