Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.
This repository was archived by the owner on Jan 31, 2025. It is now read-only.

multiple definition of `gen9_hevc_encoder_kernels with gcc-10 #503

@kwizart

Description

@kwizart

There are multiple definition of gen9_hevc_encoder_kernels' as experienced with gcc-10. Since version 10, [gcc defaults to -fno-common`](https://gcc.gnu.org/gcc-10/porting_to.html#common).

/usr/bin/ld: ./.libs/libi965_drv_video.a(libi965_drv_video_la-gen9_hevc_encoder.o):/builddir/build/BUILD/intel-vaapi-driver-2.4.0/src/gen9_hevc_enc_kernels_binary.h:34: multiple definition of `gen9_hevc_encoder_kernels'; ./.libs/libi965_drv_video.a(libi965_drv_video_la-gen9_hevc_enc_kernels_binary.o):/builddir/build/BUILD/intel-vaapi-driver-2.4.0/src/gen9_hevc_enc_kernels_binary.h:34: first defined here
collect2: error: ld returned 1 exit status

Metadata

Metadata

Assignees

No one assigned

    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