[MPlayer-cygwin] Compiling the GUI

Julien WAJSBERG flash at minet.net
Tue Aug 27 09:55:18 CEST 2002


On Tue, 27 Aug 2002, Sycotic Smith wrote:

> Is anyone having luck compiling the gui on cygwin?  Is anyone still using cygwin?  Here is the output I get when trying to --enable-gui from configure.
> I went into the Gui folder to have a look, but so far haven't been able to figure it out.
> My skills are still lacking in this department...
> No changes made to Gui/config.mak or Gui/Makefile.
>
> ~/MPlayer/main/Gui$ make
> gcc -MM -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__CYGWIN__ -fomit-fra
> me-pointer -fexpensive-optimizations -fschedule-insns2 -Wall -malign-double -I. -I./event -I./wm -I./skin -I/usr/local/include/gtk-1.2 -I/us
> r/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/X11R6/include -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/us
> r/local/lib/glib/include -I/usr/X11R6/include   wm/ws.c wm/wsconv.c wm/wsxdnd.c app.c events.c interface.c cfg.c bitmap/bitmap.c bitmap/tga/
> tga.c bitmap/bmp/bmp.c bitmap/png/png.c skin/skin.c skin/font.c skin/cut.c mplayer/mplayer.c mplayer/widgets.c mplayer/play.c mplayer/gtk/me
> nu.c mplayer/gtk/mb.c mplayer/gtk/about.c mplayer/gtk/pl.c mplayer/gtk/sb.c mplayer/gtk/fs.c mplayer/gtk/opts.c mplayer/gtk/url.c mplayer/gt
> k/eq.c 1>.depend
> gcc -c -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__CYGWIN__ -fomit-fram
> e-pointer -fexpensive-optimizations -fschedule-insns2 -Wall -malign-double -I. -I./event -I./wm -I./skin -I/usr/local/include/gtk-1.2 -I/usr
> /local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/X11R6/include -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr
> /local/lib/glib/include -I/usr/X11R6/include -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib -lintl -lXext -lX11 -lm -L/usr/local/lib -lglib  -o app.o app.c
> gcc: -lgtk: linker input file unused since linking not done
> gcc: -lgdk: linker input file unused since linking not done
> gcc: -lgmodule: linker input file unused since linking not done
> gcc: -lglib: linker input file unused since linking not done
> gcc: -lintl: linker input file unused since linking not done
> gcc: -lXext: linker input file unused since linking not done
> gcc: -lX11: linker input file unused since linking not done
> gcc: -lm: linker input file unused since linking not done
> gcc: -lglib: linker input file unused since linking not done
> [same for building all gui .o files]
>
> And then of course it scrolls by too many undefined ref's when doing the final linking.  Any ideas?

Mmmm these messages seems Ok... Indeed the '-c' flag makes the compiling,
not the linking ! (or I'm totally wrong)

-- 
Flash




More information about the MPlayer-cygwin mailing list