Skip to content

Build failure on older toolchains due to missing <linux/ppp-ioctl.h> #567

Description

@logu05

When building PPP 2.5.2 against older toolchains below 4, the build fails in sys-linux.c because <linux/ppp-ioctl.h> is not provided by those kernel headers. The header was introduced in later kernel versions, so toolchains with older headers cannot compile PPP without patching.

CC pppd-tls.o
sys-linux.c:133:29: fatal error: linux/ppp-ioctl.h: No such file or directory
#include <linux/ppp-ioctl.h>
^
compilation terminated.
Makefile:1334: recipe for target 'pppd-sys-linux.o' failed

My environment
Board: TI DM3730 (armv7l)
Kernel headers: 3.0
GCC: 4.9.4
libc: glibc 2.20

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions