| Summary: | Compilation failed (by SDL_dummy_main) | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Markus Rathgeb <maggu2810> |
| Component: | build | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Sam Lantinga <slouken> |
| Severity: | blocker | ||
| Priority: | P2 | CC: | carles.pages, leycec |
| Version: | HG 2.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Attachments: |
Configure and build log.
Makefile of the build directory |
||
Created attachment 899 [details]
Makefile of the build directory
Out of source build (separate build directory)
Interestingly, I receive the same compilation error on x86_64. (In reply to comment #2) > Interestingly, I receive the same compilation error on x86_64. On inspection, "build/.libs/SDL_dummy_main.o" does exist. It's just in the wrong directory. This smacks of a "Makefile" quandry, but I'm afraid my make-foo isn't quite what it was. I just stumbled upon this problem as well, but this was already reported in #1431. A temporary solution is to pass --enable-static |
Created attachment 898 [details] Configure and build log. Hello! I have written a (test) Gentoo live ebuild for v2.0. After setting up the most configure options, the build have. Can you have a look at? libtool: compile: i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -O2 -march=native -pipe -ggdb -DUSING_GENERATED_CONFIG_H -Iinclude -I/var/tmp/portage/media-libs/libsdl-2.0.9999/work/libsdl-2.0.9999/include -mmmx -m3dnow -msse -msse2 -fvisibility=hidden -D_REENTRANT -D_REENTRANT -DHAVE_LINUX_VERSION_H -Wall -MMD -MT build/SDL.lo -c /var/tmp/portage/media-libs/libsdl-2.0.9999/work/libsdl-2.0.9999/src/SDL.c -fPIC -DPIC -o build/.libs/SDL.o i686-pc-linux-gnu-ar cru build/libSDL2main.a build/SDL_dummy_main.o i686-pc-linux-gnu-ar: build/SDL_dummy_main.o: No such file or directory make: *** [build/libSDL2main.a] Error 1 make: *** Waiting for unfinished jobs.... The (generated) Makefile contains a lot of "...lo" targets, but the last is a simply object file "SDL_dummy_main.o"