beckus / qemu_stm32

QEMU with an STM32 microcontroller implementation
http://beckus.github.io/qemu_stm32/
Other
524 stars 144 forks source link

An Error Occurred When Build QEMU From Source Code #1

Closed kevinkao7960 closed 9 years ago

kevinkao7960 commented 9 years ago

First, I clone form git. git clone git://github.com/beckus/qemu_stm32.git My config: ./configure --disable-werror --enable-debug \ --target-list="arm-softmmu" \ --extra-cflags=-DDEBUG_CLKTREE \ --extra-cflags=-DDEBUG_STM32_RCC \ --extra-cflags=-DDEBUG_STM32_UART \ --extra-cflags=-DSTM32_UART_NO_BAUD_DELAY \ --extra-cflags=-DSTM32_UART_ENABLE_OVERRUN

And then I build QEMU, strange error message occurred: https://gist.github.com/kevinkao7960/9c775af56f0146392bbd

I have tried upgrading my system and installing libfdt-dev, but they don't work.

beckus commented 9 years ago

I see that you opened up a thread on Stack Overflow (http://stackoverflow.com/questions/25293469/occur-a-strange-error-as-i-try-to-build-qemu-from-source-code). I agree this seems like an issue with the library. What operating system/kernel are you compiling on?

beckus commented 9 years ago

A pull request was submitted that included a fix for these compilation errors. I guess this was already fixed in the main QEMU repository. I applied the pull request, and the new commits are on the stm32 branch. Please try compiling again with the new commits and see if the errors are gone.