Error Compiling under Cygwin

Hi,

I get the following error while trying to compile under cygwin

/usr/lib/gcc-lib/i686-pc-mingw32/3.2/…/…/…/…/i686-pc-mingw32/bin/ld:
.libs/libSDL.lax/libhermes.al/mmxp2_32.lo: bad reloc address 0x87 in
section .text' make[2]: *** [libSDL.la] Error 1 make[2]: Leaving directory/home/crchandl/src/SDL-1.2.6/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/crchandl/src/SDL-1.2.6/src’
make: *** [all-recursive] Error 1

Any idea on what could be causing this?

Cheers

I had this same problem. The only way I could solve it was to not use
assembly stuff.

Remove nasm.exe(or rename it temporarily).
make clean
rerun ./configure and re make it.

~ Philip D.S. Thoren

Craig Chandler wrote:> Hi,

I get the following error while trying to compile under cygwin

/usr/lib/gcc-lib/i686-pc-mingw32/3.2/…/…/…/…/i686-pc-mingw32/bin/ld:
.libs/libSDL.lax/libhermes.al/mmxp2_32.lo: bad reloc address 0x87 in
section .text' make[2]: *** [libSDL.la] Error 1 make[2]: Leaving directory/home/crchandl/src/SDL-1.2.6/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/crchandl/src/SDL-1.2.6/src’
make: *** [all-recursive] Error 1

Any idea on what could be causing this?

Cheers

http://www.libsdl.org/extras/win32/cygwin/README.txt

This says to get nasm from:
http://www.libsdl.org/extras/win32/cygwin/nasm.exe

I haven’t tried this version of nasm yet. It’s worth a shot though; I’ll
probably try it out in the near future.

~ Philip D.S. Thoren

Philip D.S. Thoren wrote:> I had this same problem. The only way I could solve it was to not use

assembly stuff.

Remove nasm.exe(or rename it temporarily).
make clean
rerun ./configure and re make it.

~ Philip D.S. Thoren

Craig Chandler wrote:

Hi,

I get the following error while trying to compile under cygwin

/usr/lib/gcc-lib/i686-pc-mingw32/3.2/…/…/…/…/i686-pc-mingw32/bin/ld:
.libs/libSDL.lax/libhermes.al/mmxp2_32.lo: bad reloc address 0x87 in
section .text' make[2]: *** [libSDL.la] Error 1 make[2]: Leaving directory/home/crchandl/src/SDL-1.2.6/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/crchandl/src/SDL-1.2.6/src’
make: *** [all-recursive] Error 1

Any idea on what could be causing this?

Cheers

I did actually grab the nasm.exe from the cygwin site, i’ll try again
with a make clean and a reconfigure (i thought i did but i’ll do again
just to be sure) if that doesn’t work i’ll try it without nasm.exe and
let you all know.
ta

Philip D.S. Thoren said the following on 15/09/03 06:16:> http://www.libsdl.org/extras/win32/cygwin/README.txt

This says to get nasm from:
http://www.libsdl.org/extras/win32/cygwin/nasm.exe

I haven’t tried this version of nasm yet. It’s worth a shot though;
I’ll probably try it out in the near future.

~ Philip D.S. Thoren

Philip D.S. Thoren wrote:

I had this same problem. The only way I could solve it was to not use
assembly stuff.

Remove nasm.exe(or rename it temporarily).
make clean
rerun ./configure and re make it.

~ Philip D.S. Thoren

Craig Chandler wrote:

Hi,

I get the following error while trying to compile under cygwin

/usr/lib/gcc-lib/i686-pc-mingw32/3.2/…/…/…/…/i686-pc-mingw32/bin/ld:
.libs/libSDL.lax/libhermes.al/mmxp2_32.lo: bad reloc address 0x87 in
section .text' make[2]: *** [libSDL.la] Error 1 make[2]: Leaving directory/home/crchandl/src/SDL-1.2.6/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/crchandl/src/SDL-1.2.6/src’
make: *** [all-recursive] Error 1

Any idea on what could be causing this?

Cheers


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Craig Chandler
Application Developer
InterDynamics Pty. Ltd.

24th Floor, Santos House
91 King William St.
Adelaide 5000

Tel: +61 8 8233 5965
Fax: +61 8 8233 5858

Craig.Chandler at InterDynamics.com

InterDynamics Web Page : http://www.InterDynamics.com

Well it wouldn’t compile with the nasm.exe from the SDL website but it
compiled using the --diable-nasm option for configure, thanks for the
pointers everyone

I’m also willing to try any solutions to get it to compile with nasm…

Craig Chandler said the following on 15/09/03 08:28:> I did actually grab the nasm.exe from the cygwin site, i’ll try again

with a make clean and a reconfigure (i thought i did but i’ll do again
just to be sure) if that doesn’t work i’ll try it without nasm.exe and
let you all know.
ta

Philip D.S. Thoren said the following on 15/09/03 06:16:

http://www.libsdl.org/extras/win32/cygwin/README.txt

This says to get nasm from:
http://www.libsdl.org/extras/win32/cygwin/nasm.exe

I haven’t tried this version of nasm yet. It’s worth a shot though;
I’ll probably try it out in the near future.

~ Philip D.S. Thoren

Philip D.S. Thoren wrote:

I had this same problem. The only way I could solve it was to not
use assembly stuff.

Remove nasm.exe(or rename it temporarily).
make clean
rerun ./configure and re make it.

~ Philip D.S. Thoren

Craig Chandler wrote:

Hi,

I get the following error while trying to compile under cygwin

/usr/lib/gcc-lib/i686-pc-mingw32/3.2/…/…/…/…/i686-pc-mingw32/bin/ld:
.libs/libSDL.lax/libhermes.al/mmxp2_32.lo: bad reloc address 0x87
in section .text' make[2]: *** [libSDL.la] Error 1 make[2]: Leaving directory/home/crchandl/src/SDL-1.2.6/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/crchandl/src/SDL-1.2.6/src’
make: *** [all-recursive] Error 1

Any idea on what could be causing this?

Cheers


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Craig Chandler
Application Developer
InterDynamics Pty. Ltd.

24th Floor, Santos House
91 King William St.
Adelaide 5000

Tel: +61 8 8233 5965
Fax: +61 8 8233 5858

Craig.Chandler at InterDynamics.com

InterDynamics Web Page : http://www.InterDynamics.com