+
Skip to content

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

@logu05

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

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

    点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载