Res: SDL_mixer -> libmikmod-3.1.12/libmikmod

Hi,

Usual procedure to install let this error when make is called:

o drv_sun.lo drv_ultra.lo drv_wav.lo load_669.lo load_amf.lo load_dsm.lo load_fa
r.lo load_gdm.lo load_it.lo load_imf.lo load_m15.lo load_med.lo load_mod.lo load
_mtm.lo load_okt.lo load_s3m.lo load_stm.lo load_stx.lo load_ult.lo load_uni.lo
load_xm.lo mmalloc.lo mmerror.lo mmio.lo mdriver.lo mdreg.lo mdulaw.lo mloader.l
o mlreg.lo mlutil.lo mplayer.lo munitrk.lo mwav.lo npertab.lo sloader.lo virtch.
lo virtch2.lo virtch_common.lo
c:\mingw\bin…\lib\gcc\mingw32\3.4.5…\mingw32\bin\ld.exe: warning: c
annot find entry symbol _DllMainCRTStartup at 12; defaulting to 00401000
/mingw/lib/libmingw32.a(main.o):main.c:(.text+0xd2): undefined reference to Win Main at 16' collect2: ld returned 1 exit status make[2]: *** [libmikmod.la] Error 1 make[2]: Leaving directory/home/eluquim/libmikmod-3.1.12/libmikmod’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/eluquim/libmikmod-3.1.12’
make: *** [all-recursive-am] Error 2

eluquim at ELUQUINI ~/libmikmod-3.1.12
$________________________________
De: Evandro Luquini <@Evandro_Luquini>
Para: sdl at lists.libsdl.org
Enviadas: Domingo, 21 de Mar?o de 2010 15:03:49
Assunto: SDL_mixer -> Makefile:65: *** multiple target patterns. Stop.

Hi,

I using version 12.11 and ran through normal ./configure.

After configure the make file attached is produced.

When i ran make the error is reported: Makefile:65: *** multiple target patterns. Stop.

Makefile to build and install the SDL_mixer library

top_builddir = .
srcdir = .
objects = build
prefix = /mingw
exec_prefix = ${prefix}
bindir = $(DESTDIR)${exec_prefix}/bin
libdir = $(DESTDIR)${exec_prefix}/lib
includedir = $(DESTDIR)${prefix}/include
datarootdir = $(DESTDIR)${prefix}/share
datadir = ${datarootdir}
mandir = ${datarootdir}/man
auxdir = ./build-scripts
distpath = $(srcdir)/…
distdir = SDL_mixer-1.2.11
distfile = $(distdir).tar.gz

EXE = .exe
SHELL = /bin/sh
CC = gcc
CFLAGS = -g -O2
EXTRA_CFLAGS = -D_GNU_SOURCE=1 -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -DWAV_MUSIC -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I$(srcdir)/timidity -DUSE_NATIVE_MIDI -I$(srcdir)/native_midi
LDFLAGS =
EXTRA_LDFLAGS = -L/mingw/lib -lmingw32 -lSDLmain -lSDL -mwindows -lwinmm
LIBTOOL = $(SHELL) $(top_builddir)/libtool
INSTALL = /bin/install -c
AR = ar
RANLIB = ranlib
WINDRES = windres
SDL_CFLAGS = -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main
SDL_LIBS = -L/mingw/lib -lmingw32 -lSDLmain -lSDL -mwindows

TARGET = libSDL_mixer.la
OBJECTS = $(objects)/effect_position.lo $(objects)/effect_stereoreverse.lo $(objects)/effects_internal.lo $(objects)/load_aiff.lo $(objects)/load_voc.lo $(objects)/mixer.lo $(objects)/music.lo $(objects)/wavestream.lo $(objects)/common.lo $(objects)/ctrlmode.lo $(objects)/filter.lo $(objects)/instrum.lo $(objects)/mix.lo $(objects)/output.lo $(objects)/playmidi.lo $(objects)/readmidi.lo $(objects)/resample.lo $(objects)/sdl_a.lo $(objects)/sdl_c.lo $(objects)/tables.lo $(objects)/timidity.lo $(objects)/native_midi_common.lo $(objects)/native_midi_mac.lo $(objects)/native_midi_macosx.lo $(objects)/native_midi_win32.lo
VERSION_OBJECTS = $(objects)/version.o
PLAYWAVE_OBJECTS = $(objects)/playwave.lo
PLAYMUS_OBJECTS = $(objects)/playmus.lo

DIST = CHANGES COPYING CWProjects.sea.bin MPWmake.sea.bin Makefile.in SDL_mixer.pc.in README SDL_mixer.h SDL_mixer.qpg.in SDL_mixer.spec SDL_mixer.spec.in VisualC.zip Watcom-OS2.zip Xcode.tar.gz acinclude autogen.sh build-scripts configure configure.in dynamic_flac.c dynamic_flac.h dynamic_mod.c dynamic_mod.h dynamic_mp3.c dynamic_mp3.h dynamic_ogg.c dynamic_ogg.h effect_position.c effect_stereoreverse.c effects_internal.c effects_internal.h gcc-fat.sh libmikmod-3.1.12.zip load_aiff.c load_aiff.h load_flac.c load_flac.h load_ogg.c load_ogg.h load_voc.c load_voc.h mixer.c music.c music_cmd.c music_cmd.h music_flac.c music_flac.h music_mad.c music_mad.h music_mod.c music_mod.h music_ogg.c music_ogg.h native_midi native_midi_gpl playmus.c playwave.c timidity wavestream.c wavestream.h version.rc

LT_AGE = 10
LT_CURRENT = 10
LT_RELEASE = 1.2
LT_REVISION = 1
LT_LDFLAGS = -no-undefined -rpath $(libdir) -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)

all: $(srcdir)/configure Makefile $(objects) $(objects)/$(TARGET) $(objects)/playwave$(EXE) $(objects)/playmus$(EXE)

$(srcdir)/configure: $(srcdir)/configure.in
@echo “Warning, configure.in is out of date”
#(cd $(srcdir) && sh autogen.sh && sh configure)
@sleep 3

Makefile: $(srcdir)/Makefile.in
$(SHELL) config.status $@

$(objects):
$(SHELL) $(auxdir)/mkinstalldirs $@

.PHONY: all install install-hdrs install-lib install-bin uninstall uninstall-hdrs uninstall-lib uninstall-bin clean distclean dist

-include $(OBJECTS:.lo=.d)
$(objects)/effect_position.lo: ./effect_position.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@ $(objects)/effect_stereoreverse.lo: ./effect_stereoreverse.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@ $(objects)/effects_internal.lo: ./effects_internal.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@ $(objects)/load_aiff.lo: ./load_aiff.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@ $(objects)/load_voc.lo: ./load_voc.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@ $(objects)/mixer.lo: ./mixer.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@ $(objects)/music.lo: ./music.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@ $(objects)/wavestream.lo: ./wavestream.c $(LIBTOOL) --mode=compile
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@ $(objects)/common.lo: ./timidity/common.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@ $(objects)/ctrlmode.lo: ./timidity/ctrlmode.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@ $(objects)/filter.lo: ./timidity/filter.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@ $(objects)/instrum.lo: ./timidity/instrum.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@ $(objects)/mix.lo: ./timidity/mix.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@ $(objects)/output.lo: ./timidity/output.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@ $(objects)/playmidi.lo: ./timidity/playmidi.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@
$(objects)/readmidi.lo: ./timidity/readmidi.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@ $(objects)/resample.lo: ./timidity/resample.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@ $(objects)/sdl_a.lo: ./timidity/sdl_a.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@ $(objects)/sdl_c.lo: ./timidity/sdl_c.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@ $(objects)/tables.lo: ./timidity/tables.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@ $(objects)/timidity.lo: ./timidity/timidity.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@ $(objects)/native_midi_common.lo: ./native_midi/native_midi_common.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@ $(objects)/native_midi_mac.lo:
./native_midi/native_midi_mac.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@ $(objects)/native_midi_macosx.lo: ./native_midi/native_midi_macosx.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@ $(objects)/native_midi_win32.lo: ./native_midi/native_midi_win32.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@
$(objects)/version.o: ./version.rc $(WINDRES) $< $@

-include $(PLAYWAVE_OBJECTS:.lo=.d)
$(objects)/playwave.lo: ./playwave.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@

-include $(PLAYMUS_OBJECTS:.lo=.d)
$(objects)/playmus.lo: ./playmus.c $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -MMD -MT $@ -c $< -o $@

$(objects)/$(TARGET): $(OBJECTS) $(VERSION_OBJECTS)
$(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)

$(objects)/playwave$(EXE): $(objects)/playwave.lo $(objects)/$(TARGET)
$(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playwave.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET)

$(objects)/playmus$(EXE): $(objects)/playmus.lo $(objects)/$(TARGET)
$(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playmus.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET)

install: all install-hdrs install-lib #install-bin
install-hdrs:
$(SHELL) $(auxdir)/mkinstalldirs $(includedir)/SDL
for src in $(srcdir)/SDL_mixer.h; do
file=echo $$src | sed -e 's|^.*/||';
$(INSTALL) -m 644 $$src $(includedir)/SDL/$$file;
done
$(SHELL) $(auxdir)/mkinstalldirs $(libdir)/pkgconfig
$(INSTALL) -m 644 SDL_mixer.pc $(libdir)/pkgconfig/
install-lib: $(objects) $(objects)/$(TARGET)
$(SHELL) $(auxdir)/mkinstalldirs $(libdir)
$(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(libdir)/$(TARGET)
install-bin:
$(SHELL) $(auxdir)/mkinstalldirs $(bindir)
$(LIBTOOL) --mode=install $(INSTALL) -m 755 $(objects)/playwave$(EXE) $(bindir)/playwave$(EXE)
$(LIBTOOL) --mode=install $(INSTALL) -m 755 $(objects)/playmus$(EXE) $(bindir)/playmus$(EXE)

uninstall: uninstall-hdrs uninstall-lib uninstall-bin
uninstall-hdrs:
for src in $(srcdir)/SDL_mixer.h; do
file=echo $$src | sed -e 's|^.*/||';
rm -f $(includedir)/SDL/$$file;
done
-rmdir $(includedir)/SDL
rm -f $(libdir)/pkgconfig/SDL_mixer.pc
-rmdir $(libdir)/pkgconfig
uninstall-lib:
$(LIBTOOL) --mode=uninstall rm -f $(libdir)/$(TARGET)
uninstall-bin:
rm -f $(bindir)/playwave$(EXE)
rm -f $(bindir)/playmus$(EXE)

clean:
rm -rf $(objects)

distclean: clean
rm -f Makefile
rm -f SDL_mixer.qpg
rm -f config.status config.cache config.log libtool
rm -f SDL_mixer.pc
rm -rf $(srcdir)/autom4te*
find $(srcdir) (
-name ‘~’ -o
-name '
.bak’ -o
-name ‘.old’ -o
-name '
.rej’ -o
-name ‘.orig’ -o
-name '.#
’ )
-exec rm -f {} ;

dist $(distfile):
$(SHELL) $(auxdir)/mkinstalldirs $(distdir)
tar cf - $(DIST) | (cd $(distdir); tar xf -)
rm -rf find $(distdir) -name .svn
rm -f find $(distdir) -name '.#*'
tar cvf - $(distdir) | gzip --best >$(distfile)
rm -rf $(distdir)

rpm: $(distfile)
rpmbuild -ta $?


Veja quais s?o os assuntos do momento no Yahoo! + Buscados: Top 10 - Celebridades - M?sica - Esportes

  ____________________________________________________________________________________

Veja quais s?o os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com