mingw-cross-env-list
[Top][All Lists]
Advanced

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

Re: [Mingw-cross-env-list] Can't make sdl2_net and sdl2_mixer from git


From: Bernd Kosmahl
Subject: Re: [Mingw-cross-env-list] Can't make sdl2_net and sdl2_mixer from git
Date: Tue, 14 Jan 2014 18:07:44 +0100

Hi list,
more noise from me :)

> make sdl2_net sdl2_mixer MXE_TARGETS=‘i686-w64-mingw32' JOBS=8

I can build my project now but the resulting exe 
(http://beko.maxr.org/maxr.exe) is only 22K in size.

It should be about 12MB. It has been like that with sdl1.2 and it is the same 
for the linux version. Stripped it's about 1,2MB. 22K is not enough, no matter 
how I look at it.  When I file it I get

address@hidden:~/maxr-svn$ file src/maxr.exe
src/maxr.exe: PE32 executable for MS Windows (console) Intel 80386 32-bit

If I simply open it with "vi" I can read between binary data the following 
ascii text "This program cannot be run in DOS mode" so the beginning looks 
good. If I scroll down I suddently get parts of bash:

# maxr - temporary wrapper script for .libs/maxr.exe
# Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2
#
# The maxr program cannot be directly executed until all the libtool
# libraries that it depends on are installed.
#
# This wrapper script should never be moved out of the build directory.
# If it is, it will not operate correctly.

Huh? How did this end up in the exe?

Further down after the script ends I get:

Couldn't find address@hidden@address@hidden@address@hidden@%s missing required 
address@hidden@address@hidden@address@hidden option in %s namespace: 
'%s'address@hidden@^@/home/beko/mxe-git/usr/i686-w64-mingw32/lib;/home/beko/mxe-git/usr/i686-w64-mingw32/bin;address@hidden@%%%MAGIC
 EXE address@hidden@à @address@hidden address@hidden@address@hidden(): %s in 
%s(%g, %g)  (retval=%g)
address@hidden@Argument domain error (DOMAIN)address@hidden singularity 
(SIGN)address@hidden@Overflow range error (OVERFLOW)address@hidden result is 
too small to be represented (UNDERFLOW)address@hidden@address@hidden loss of 
significance (TLOSS)address@hidden@Partial loss of significance 
(PLOSS)address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@
 address@hidden@address@hidden@Mingw-w64 runtime failure:
address@hidden %p has no image-section^@  VirtualQuery failed for %d bytes at 
address address@hidden@address@hidden@  VirtualProtect failed with code 
address@hidden@  Unknown pseudo relocation protocol version %d.
address@hidden@^@  Unknown pseudo relocation bit size %d.

What's argument "--lt"?

The building and linking didn't look suspicous, did however throw the following 
messages after it finished:

libtool: link: Could not determine host path corresponding to
libtool: link:   '/home/beko/mxe-git/usr/i686-w64-mingw32/lib'
libtool: link: Continuing, but uninstalled executables may not work.
libtool: link: Could not determine host path corresponding to
libtool: link:   '/home/beko/mxe-git/usr/i686-w64-mingw32/bin'
libtool: link: Continuing, but uninstalled executables may not work.

Thanks for your support so far,
-- 
Bernd Kosmahl



reply via email to

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