sm-grimoire-bugs AT lists.ibiblio.org
Subject: SourceMage Grimoire Bug List
List archive
[SM-Grimoire-Bugs] [Bug 12832] New: sdl cannot use yasm for an assembler
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-grimoire-bugs AT lists.ibiblio.org
- Subject: [SM-Grimoire-Bugs] [Bug 12832] New: sdl cannot use yasm for an assembler
- Date: 10 Jul 2006 18:33:44 -0000
http://bugs.sourcemage.org/show_bug.cgi?id=12832
Summary: sdl cannot use yasm for an assembler
Product: Codex
Version: test grimoire
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: libs
AssignedTo: sm-grimoire-bugs AT lists.ibiblio.org
ReportedBy: eric AT sandall.us
# cast sdl
...
/bin/sh ./libtool --tag=CC --mode=compile ./build-scripts/strip_fPIC.sh
/usr/bin/yasm -f elf -i ./src/hermes/ ./src/hermes/mmx_main.asm -o
build/mmx_main.lo
./build-scripts/strip_fPIC.sh /usr/bin/yasm -f elf -i ./src/hermes/
./src/hermes/mmx_main.asm -fPIC -DPIC -o build/.libs/mmx_main.o
/usr/bin/yasm -f elf -i ./src/hermes/ ./src/hermes/mmx_main.asm -o
build/.libs/mmx_main.o
yasm: unrecognized option `-i'
yasm: warning: can open only one input file, only the last file will be
processed
make: *** [build/mmx_main.lo] Error 1
! Problem Detected !
I said 'y' to using nasm, which does the following in DEPENDS:
optional_depends nasm \
"--enable-nasm" \
"--disable-nasm" \
"for faster video overlay" &&
root@moby:/usr/src/SDL-1.2.11# grep -R yasm *
config.log:configure:25066: checking for yasm
config.log:configure:25084: found /usr/bin/yasm
config.log:configure:25096: result: /usr/bin/yasm
config.log:yasm: unrecognized option `-i'
config.log:yasm: warning: can open only one input file, only the last file
will
be processed
config.log:ac_cv_path_NASM=/usr/bin/yasm
config.log:NASM='/usr/bin/yasm'
config.status:s,@NASM@,/usr/bin/yasm,;t t
configure: # Extract the first word of "yasm", so it can be a program
name with args.
configure:set dummy yasm; ac_word=$2
configure.in: AC_PATH_PROG(NASM, yasm)
Makefile:NASM = /usr/bin/yasm -f elf -i ./src/hermes/
# gaze version yasm nasm
Grimoire Section Spell Grimoire Version Installed Version
-------- ------- ----- ---------------- -----------------
test libs yasm 0.4.0 0.4.0
test devel nasm 0.98.39 0.98.39
If I remove yasm then SDL builds fine with nasm.
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
- [SM-Grimoire-Bugs] [Bug 12832] New: sdl cannot use yasm for an assembler, bugzilla-daemon, 07/10/2006
Archive powered by MHonArc 2.6.24.