[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Qemu-4.2.0

From: abhijeet inamdar
Subject: Re: Qemu-4.2.0
Date: Tue, 6 Jul 2021 17:20:30 +0200

In addition to this in armv7m.c 

warning: no previous prototype for 'armv7m_init'[-Wmissing-prototypes]

DeviceState *armv7m_init(Memory region *system_memory, int mem_size, int num_irq,


On Tue, Jul 6, 2021, 17:14 abhijeet inamdar <abhijeetinamdar3005@gmail.com> wrote:
The warnings are as follows:

warning: implicit declaration of function 'armv7m_init' [-Wimplicit-function-declaration]
nvic = armv7m_init(systemMemory, memsz, NUM_IRQ_LINES, kernel_filename, cpu_type);

warning: implicit declaration of function 'qemu_allocate_irq' [-Wimplicit-function-declaration]
qdev_connect_gpio_out_named(nvic, "SYSRESETREQ", 0, qemu_allocate_irq(&do_sys_reset, NULL, 0));


On Tue, Jul 6, 2021, 16:59 Peter Maydell <peter.maydell@linaro.org> wrote:
On Tue, 6 Jul 2021 at 15:48, abhijeet inamdar
<abhijeetinamdar3005@gmail.com> wrote:
> Hi,
> I am trying to build custom machine in QEMU-4.2.0.
> I'm getting some warning regarding armv7m_init() saying implicit declaration but I have defined it in the armv7m.c,  even same kind of warning for the qemu_allocate_irq().

If you want assistance with compiler warnings or errors you really
must quote the exact error message. Otherwise you're asking us
to guess based on a very vague paraphrasing.

-- PMm

reply via email to

[Prev in Thread] Current Thread [Next in Thread]