Skip to content

error in making QEMU #133

@SOBXiong

Description

@SOBXiong

Environment: Ubuntu 18.04.6 Desktop LTS, Kernel version: 5.4.186, ld version: 2.37
I find an error when I made qemu(kvmi-v7) project:

ld: Error: unable to disambiguate: -nopie (did you mean --nopie ?)
Makefile:53: recipe for target 'multiboot.img' failed
make[1]: *** [multiboot.img] Error 1
Makefile:542: recipe for target 'pc-bios/optionrom/all' failed
make: *** [pc-bios/optionrom/all] Error 2
make: *** Waiting for unfinished jobs...

I search solutions in google, and it may be the problem of ld(The version is too high).
And I modify configure file in line 2048: LDFLAGS_NOPIE="-no-pie", it works!

Maybe others have the same problem.

And I want to know in which files you made modifications to support vmi(There are too many files, and my git skill is pool)!
Please tell me soon! Thank you! :)

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