On 20 October 2015 at 18:50, sai pavan <saipavanbo...@gmail.com> wrote: > I also tried manually compiling sdl libraries and installing them. > Then making a static build, but even that did not help much. The > config.log show below error.. > > cc -m32 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings > -Wmissing-prototypes -fno-strict-aliasing -fno-common > -DM25P80_ERR_DEBUG=2 -Wendif-labels -Wmissing-include-dirs > -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k > -Winit-self -Wignored-qualifiers -Wold-style-declaration > -Wold-style-definition -Wtype-limits -fstack-protector-strong > -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -o > config-temp/qemu-conf.exe config-temp/qemu-conf.c -m32 -static -g > /tmp/ccYwbqPp.o: In function `main': > /home/sai/build/config-temp/qemu-conf.c:3: undefined reference to `SDL_Init' > collect2: error: ld returned 1 exit status
This link line isn't even trying to link against the SDL library, which suggests that your sdl-config is broken. What does 'sdl-config --static-libs' say? thanks -- PMM