Skip to content

strange error: /usr/include/linux/videodev2.h:59:10: fatal error: 'sys/time.h' file not found #1129

Discussion options

You must be logged in to vote

Just had the same problem. Here is solution for main image:

[package.metadata.cross.target.aarch64-unknown-linux-gnu]
image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:main"
pre-build = [
    "dpkg --add-architecture arm64 ",
    "apt-get update ",
    "apt-get install --assume-yes libc6-dev:arm64",
]

and for 0.2.4 image:

[package.metadata.cross.target.aarch64-unknown-linux-gnu]
image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:0.2.4"
pre-build = [
    "dpkg --add-architecture arm64 ",
    "apt-get update ",
    "apt-get install --assume-yes libc6-dev:arm64 libclang-3.9",
]

Replies: 3 comments 13 replies

Comment options

You must be logged in to vote
11 replies
@makerio90
Comment options

@Alexhuszagh
Comment options

@Emilgardis
Comment options

@makerio90
Comment options

@Emilgardis
Comment options

Comment options

You must be logged in to vote
1 reply
@Alexhuszagh
Comment options

Answer selected by Alexhuszagh
Comment options

You must be logged in to vote
1 reply
@apbr
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants