32-bit build on a 64 bit Dual Opteron
Hello, I'm using SuSE 10.0 on a Dual Opteron system. I do want to build 32 bit MPlayer with svn, so I run ./configure as follows; /tmp/mplayer> ./configure --target=athlon_xp --enable-gui --cc="cc -m32" --as="as --32" --with-extralibdir=/usr/lib --with-codecsdir=/usr/lib/codecs --with-sdl-config=/usr/bin/sdl-config --with-gtk-config=/opt/gnome/bin/gtk-config --with-glib-config=/opt/gnome/bin/glib-config --prefix=/usr then, executed /tmp/mplayer> make But, this ended with themessage; [...] make[1]: Leaving directory `/tmp/mplayer/Gui' cc -m32 -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4 -march=athlon-xp -mtune=athlon-xp -pipe -ffast-math -fomit-frame-pointer -I. -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -I/usr/X11/include -I./libavutil -I./libavcodec -o mplayer mplayer.o m_property.o mp_msg.o asxparser.o codec-cfg.o cpudetect.o edl.o find_sub.o m_config.o m_option.o m_struct.o parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o vobsub.o unrarlib.o mixer.o parser-mpcmd.o subopt-helper.o libvo/libvo.a libao2/libao2.a input/libinput.a vidix/libvidix.a Gui/libgui.a -L/usr/X11R6/lib64 -L/opt/gnome/lib64 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lfontconfig -lXrender -lX11 -lXext -lpng12 -lz -lglitz -lm -L/opt/gnome/lib64 -lglib-2.0 libmpcodecs/libmpcodecs.a loader/libloader.a loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a libaf/libaf.a ! libmpdemux/libmpdemux.a libswscale/libswscale.a osdep/libosdep.a libavformat/libavformat.a libavcodec/libavcodec.a libavutil/libavutil.a libpostproc/libpostproc.a -lpng -lz -lz -ljpeg -lasound -ldl -lpthread -lfaac -lncurses -lcdda_interface -lcdda_paranoia -lnsl -lungif libfaad2/libfaad2.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a tremor/libvorbisidec.a libass/libass.a -lfreetype -lz -lGL -ldl -lXxf86dga -lXv -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext -lX11 -lnsl -lpthread -lnsl -L/usr/lib64 -lSDL -lpthread -Wl,-z,noexecstack -L/usr/lib -lpthread -ldl -rdynamic -lm /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /opt/gnome/lib64/libgtk-x11-2.0.so when searching for -lgtk-x11-2.0 /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /opt/gnome/lib64/libgtk-x11-2.0.so when searching for -lgtk-x11-2.0 /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: cannot find -lgtk-x11-2.0 collect2: ld returned 1 exit status make: *** [mplayer] error 1 Of course, I have installed gtk-32bit, and libgtk-x11-2.0.so doex exist in the /opt/gnome/lib64. Would you give me an advice? Thanks in advance, --- Masaru Nomiya mail-to: nomiyac360 @ mg.point.ne.jp "Bill! You married with Computers. Not with Me!" "No..., with money."
Do you have the devel packages installed? David On Saturday 15 July 2006 02:12, Masaru Nomiya wrote:
Hello,
I'm using SuSE 10.0 on a Dual Opteron system.
I do want to build 32 bit MPlayer with svn, so I run ./configure as follows;
/tmp/mplayer> ./configure --target=athlon_xp --enable-gui --cc="cc -m32" --as="as --32" --with-extralibdir=/usr/lib --with-codecsdir=/usr/lib/codecs --with-sdl-config=/usr/bin/sdl-config --with-gtk-config=/opt/gnome/bin/gtk-config --with-glib-config=/opt/gnome/bin/glib-config --prefix=/usr
then, executed
/tmp/mplayer> make
But, this ended with themessage;
[...] make[1]: Leaving directory `/tmp/mplayer/Gui' cc -m32 -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4 -march=athlon-xp -mtune=athlon-xp -pipe -ffast-math -fomit-frame-pointer -I. -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -I/usr/X11/include -I./libavutil -I./libavcodec -o mplayer mplayer.o m_property.o mp_msg.o asxparser.o codec-cfg.o cpudetect.o edl.o find_sub.o m_config.o m_option.o m_struct.o parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o vobsub.o unrarlib.o mixer.o parser-mpcmd.o subopt-helper.o libvo/libvo.a libao2/libao2.a input/libinput.a vidix/libvidix.a Gui/libgui.a -L/usr/X11R6/lib64 -L/opt/gnome/lib64 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lfontconfig -lXrender -lX11 -lXext -lpng12 -lz -lglitz -lm -L/opt/gnome/lib64 -lglib-2.0 libmpcodecs/libmpcodecs.a loader/libloader.a loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a libaf/libaf.a ! libmpdemux/libmpdemux.a libswscale/libswscale.a osdep/libosdep.a libavformat/libavformat.a libavcodec/libavcodec.a libavutil/libavutil.a libpostproc/libpostproc.a -lpng -lz -lz -ljpeg -lasound -ldl -lpthread -lfaac -lncurses -lcdda_interface -lcdda_paranoia -lnsl -lungif libfaad2/libfaad2.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a tremor/libvorbisidec.a libass/libass.a -lfreetype -lz -lGL -ldl -lXxf86dga -lXv -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext -lX11 -lnsl -lpthread -lnsl -L/usr/lib64 -lSDL -lpthread -Wl,-z,noexecstack -L/usr/lib -lpthread -ldl -rdynamic -lm /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../.. /../x86_64-suse-linux/bin/ld: skipping incompatible /opt/gnome/lib64/libgtk-x11-2.0.so when searching for -lgtk-x11-2.0 /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../.. /../x86_64-suse-linux/bin/ld: skipping incompatible /opt/gnome/lib64/libgtk-x11-2.0.so when searching for -lgtk-x11-2.0 /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../.. /../x86_64-suse-linux/bin/ld: cannot find -lgtk-x11-2.0 collect2: ld returned 1 exit status make: *** [mplayer] error 1
Of course, I have installed gtk-32bit, and libgtk-x11-2.0.so doex exist in the /opt/gnome/lib64.
Would you give me an advice?
Thanks in advance,
--- Masaru Nomiya mail-to: nomiyac360 @ mg.point.ne.jp
"Bill! You married with Computers. Not with Me!" "No..., with money."
Hello David, In the Message; Subject : Re: [suse-amd64] 32-bit build on a 64 bit Dual Opteron Message-ID : <200607150731.56872.spotslayer@rgv.rr.com> Date & Time: Sat, 15 Jul 2006 07:31:56 -0500 [David] == David <spotslayer@rgv.rr.com> has written: David> Do you have the devel packages installed? Yes, I alredy installed. --- Masaru Nomiya mail-to: nomiyac360 @ mg.point.ne.jp "Bill! You married with Computers. Not with Me!" "No..., with money."
Hello, In the Message; Subject : [suse-amd64] 32-bit build on a 64 bit Dual Opteron Message-ID : <87y7uvcpei.wl%nomiyac360@mg.point.ne.jp> Date & Time: Sat, 15 Jul 2006 16:12:37 +0900 [Me] == Masaru Nomiya <nomiyac360@mg.point.ne.jp> has written: Me> [...] Me> make[1]: Leaving directory `/tmp/mplayer/Gui' Me> cc -m32 -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4 -march=athlon-xp -mtune=athlon-xp -pipe -ffast-math -fomit-frame-pointer -I. -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -I/usr/X11/include -I./libavutil -I./libavcodec -o mplayer mplayer.o m_property.o mp_msg.o asxparser.o codec-cfg.o cpudetect.o edl.o find_sub.o m_config.o m_option.o m_struct.o parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o vobsub.o unrarlib.o mixer.o parser-mpcmd.o subopt-helper.o libvo/libvo.a libao2/libao2.a input/libinput.a vidix/libvidix.a Gui/libgui.a -L/usr/X11R6/lib64 -L/opt/gnome/lib64 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lfontconfig -lXrender -lX11 -lXext -lpng12 -lz -lglitz -lm -L/opt/gnome/lib64 -lglib-2.0 libmpcodecs/libmpcodecs.a loader/libloader.a loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a libaf/liba! f.a ! Me> libmpdemux/libmpdemux.a libswscale/libswscale.a osdep/libosdep.a libavformat/libavformat.a libavcodec/libavcodec.a libavutil/libavutil.a libpostproc/libpostproc.a -lpng -lz -lz -ljpeg -lasound -ldl -lpthread -lfaac -lncurses -lcdda_interface -lcdda_paranoia -lnsl -lungif libfaad2/libfaad2.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a tremor/libvorbisidec.a libass/libass.a -lfreetype -lz -lGL -ldl -lXxf86dga -lXv -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext -lX11 -lnsl -lpthread -lnsl -L/usr/lib64 -lSDL -lpthread -Wl,-z,noexecstack -L/usr/lib -lpthread -ldl -rdynamic -lm Me> /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /opt/gnome/lib64/libgtk-x11-2.0.so when searching for -lgtk-x11-2.0 Me> /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /opt/gnome/lib64/libgtk-x11-2.0.so when searching for -lgtk-x11-2.0 Me> /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: cannot find -lgtk-x11-2.0 Me> collect2: ld returned 1 exit status Me> make: *** [mplayer] error 1 Me> Of course, I have installed gtk-32bit, and libgtk-x11-2.0.so doex exist in Me> the /opt/gnome/lib64. This is incorrect. The error message says, libgtk-x11-2.0.so doesn't exist in /opt/gnome/lib directory. So, I executed as below for all the related files. # ln -s libgtk-x11-2.0.so.0.800.3 libgtk-x11-2.0.so By this, I haven't got any error messages. To build 32-bit MPlayer, I must replace all the audio and video codecs files with 32-bit ones. This is a little bit troublesome work for me. So, I will do when I get a spare time. :-) --- Masaru Nomiya mail-to: nomiyac360 @ mg.point.ne.jp "Bill! You married with Computers. Not with Me!" "No..., with money."
Hi Masaru Am Samstag, 15. Juli 2006 09:12 schrieb Masaru Nomiya: [...]
I do want to build 32 bit MPlayer with svn [...]
please use y2pmbuild! You will like it! ;) After setup your y2pmbuild-system (1) you only have to edit the mplayer.spec (2) in the src.rpm and just type: linux32 y2pmbuild-10.1 mplayer.spec Detlef (1) http://en.opensuse.org/SUSE_Build_Tutorial (2) http://packman-test.links2linux.de/package/MPlayer
Hello Detlef, In the Message; Subject : Re: [suse-amd64] 32-bit build on a 64 bit Dual Opteron Message-ID : <200607161920.54376.detlef@die-mafia.de> Date & Time: Sun, 16 Jul 2006 19:20:53 +0200 [Detlef] == Detlef Reichelt <detlef@die-mafia.de> has written: Detlef> please use y2pmbuild! You will like it! ;) I'll give it try when I get a lot of spare time.:-) Detlef> After setup your y2pmbuild-system (1) you only have to edit the mplayer.spec Detlef> (2) in the src.rpm and just type: Detlef> linux32 y2pmbuild-10.1 mplayer.spec Detlef> (1) http://en.opensuse.org/SUSE_Build_Tutorial Detlef> (2) http://packman-test.links2linux.de/package/MPlayer Thank you so much. Regards, --- Masaru Nomiya mail-to: nomiyac360 @ mg.point.ne.jp "Bill! You married with Computers. Not with Me!" "No..., with money."
participants (3)
-
David
-
Detlef Reichelt
-
Masaru Nomiya