Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #230277

Re: Cannot compile qemu

From deloptes <deloptes@gmail.com>
Newsgroups linux.debian.user
Subject Re: Cannot compile qemu
Date 2021-01-03 10:00 +0100
Message-ID <Bt7p1-7fZ-13@gated-at.bofh.it> (permalink)
References <Bt2Sl-4J4-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Kamil Jońca wrote:

> cc -fPIE -DPIE -std=gnu99 -Wall -m64 -mcx16 -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes
> -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes
> -fno-strict-aliasing -fno-common -fwrapv -g -O2
> -fdebug-prefix-map=/home/kjonca/tmp/debian/qemu-5.2+dfsg=.
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
> -D_FORTIFY_SOURCE=2 -Wold-style-declaration -Wold-style-definition
> -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self
> -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels
> -Wexpansion-to-defined -Wno-missing-include-dirs -Wno-shift-negative-value
> -Wno-psabi -fstack-protector-strong -o config-temp/qemu-conf.exe
> config-temp/qemu-conf.c -pie -Wl,-z,relro -Wl,-z,now -m64 -g -O2
> -fdebug-prefix-map=/home/kjonca/tmp/debian/q emu-5.2+dfsg=.
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
> -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,--as-needed -fstack-protector-strong
> config-temp/qemu-conf.c:1:10: fatal error: sys/endian.h: No such file or
> directory 1 | #include <sys/endian.h> |          ^~~~~~~~~~~~~~
> compilation terminated.
> 
> any hints?

Hi,
I compiled qemu debian packages customized (basically removing all the stuff
and architectures I do not need) few weeks ago.
I used qemu (svn/git) source and debian packaging for buster.
To compile the default setup you need a lot of cross-compile tools. 
My goal was to get the arm emulator without GUI. It took me about a week to
get the proper configuration (altering the debian defaults).
Either you install all the tools, or you need to adjust the configuration.

I just wonder why you compile config-temp/qemu-conf.exe <<<<< EXE?
I admit this is very odd

regards

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Cannot compile qemu Kamil Jońca <kjonca@poczta.onet.pl> - 2021-01-03 05:10 +0100
  Re: Cannot compile qemu deloptes <deloptes@gmail.com> - 2021-01-03 10:00 +0100
  Re: Cannot compile qemu <tomas@tuxteam.de> - 2021-01-03 10:20 +0100

csiph-web