Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jul 2012 11:20:51 -0400
From:      David Banning <david+dated+1343402453.5b6463@skytracker.ca>
To:        Raimund Steger <rs@mytum.de>
Cc:        questions@freebsd.org
Subject:   Re: error compiling mplayer
Message-ID:  <20120722152051.GA65867@skytracker.ca>
In-Reply-To: <500BE6A6.401@mytum.de>
References:  <20120721155117.GA48493@skytracker.ca> <500BE6A6.401@mytum.de>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
> That doesn't look like a problem with mplayer per se, rather with your=20
> GTK or XRANDR install.

I wonder if these two versions of gtk could represent a problem;

[root@3s1 ~]# cd /var/db/pkg
[root@3s1 /var/db/pkg]# ls -tld *gtk*
drwxr-xr-x  2 root  wheel  512 Jul 12 17:40 gtk-2.22.1_1
drwxr-xr-x  2 root  wheel  512 Jul  3 10:05 linux-scim-gtk-fc4-1.4.4
drwxr-xr-x  2 root  wheel  512 May  8 23:31 gtk-1.2.10_22
[root@3s1 /var/db/pkg]#


>=20
> What do the following commands return:
>=20
> nm -D /usr/local/lib/libgdk-x11-2.0.so|grep XRRGetOutputPrimary
> nm -D /usr/local/lib/libXrandr.so|grep XRRGetOutputPrimary

Here it is;

[root@3s1 ~]# nm -D /usr/local/lib/libgdk-x11-2.0.so|grep XRRGetOutputPrima=
ry=20
         U XRRGetOutputPrimary
[root@3s1 ~]# nm -D /usr/local/lib/libXrandr.so|grep XRRGetOutputPrimary
[root@3s1 ~]#


> Additionally, a somewhat larger snippet of your compilation output would=
=20
> be helpful, where at least the linker invocation that triggered that=20
> error occurs.

Kind of messy;
=20
=3D=3D=3D>  Building for mplayer-1.0.r20120322_2
gmake -C ffmpeg libpostproc/libpostproc.a
gmake[1]: Entering directory `/usr/ports/multimedia/mplayer/work/mplayer-ex=
port-2012-03-22/ffmpeg'
gmake[1]: `libpostproc/libpostproc.a' is up to date.
gmake[1]: Leaving directory `/usr/ports/multimedia/mplayer/work/mplayer-exp=
ort-2012-03-22/ffmpeg'
gmake -C ffmpeg libavfilter/libavfilter.a
gmake[1]: Entering directory `/usr/ports/multimedia/mplayer/work/mplayer-ex=
port-2012-03-22/ffmpeg'
gmake[1]: `libavfilter/libavfilter.a' is up to date.
gmake[1]: Leaving directory `/usr/ports/multimedia/mplayer/work/mplayer-exp=
ort-2012-03-22/ffmpeg'
gmake -C ffmpeg libavformat/libavformat.a
gmake[1]: Entering directory `/usr/ports/multimedia/mplayer/work/mplayer-ex=
port-2012-03-22/ffmpeg'
gmake[1]: `libavformat/libavformat.a' is up to date.
gmake[1]: Leaving directory `/usr/ports/multimedia/mplayer/work/mplayer-exp=
ort-2012-03-22/ffmpeg'
gcc46 -o mplayer command.o m_property.o mixer.o mp_fifo.o mplayer.o parser-=
mpcmd.o pnm_loader.o input/input.o libao2/ao_mpegpes.o libao2/ao_null.o lib=
ao2/ao_pcm.o libao2/audio_out.o libvo/aspect.o libvo/geometry.o libvo/video=
_out.o libvo/vo_mpegpes.o libvo/vo_null.o sub/spuenc.o libvo/vo_dga.o libvo=
/vo_png.o gui/util/bitmap.o gui/util/list.o gui/util/string.o gui/app.o gui=
/cfg.o gui/interface.o gui/skin/font.o gui/skin/skin.o gui/ui/actions.o gui=
/ui/gtk/about.o gui/ui/gtk/equalizer.o gui/ui/gtk/fileselect.o gui/ui/gtk/m=
enu.o gui/ui/gtk/msgbox.o gui/ui/gtk/playlist.o gui/ui/gtk/preferences.o gu=
i/ui/gtk/skinbrowser.o gui/ui/gtk/tools.o gui/ui/gtk/url.o gui/ui/main.o gu=
i/ui/menu.o gui/ui/playbar.o gui/ui/render.o gui/ui/video.o gui/ui/widgets.=
o gui/util/cut.o gui/wm/ws.o gui/wm/wsxdnd.o libvo/vo_jpeg.o libvo/vo_md5su=
m.o udp_sync.o libao2/ao_oss.o libvo/vo_pnm.o libvo/vo_tga.o libvo/vo_cvidi=
x.o libvo/vosub_vidix.o vidix/vidix.o vidix/drivers.o vidix/dha.o vidix/mtr=
r.o vidix/pci.o vidix/pci_names.o vidix/pci_dev_ids.o vidix/cyberblade_vid.=
o vidix/mach64_vid.o vidix/mga_vid.o vidix/mga_crtc2_vid.o vidix/nvidia_vid=
.o vidix/pm2_vid.o vidix/pm3_vid.o vidix/radeon_vid.o vidix/rage128_vid.o v=
idix/s3_vid.o vidix/sis_vid.o vidix/sis_bridge.o vidix/unichrome_vid.o libv=
o/vo_x11.o libvo/vo_xover.o libvo/x11_common.o libvo/vo_xv.o libvo/vo_xvidi=
x.o libvo/vo_yuv4mpeg.o asxparser.o bstr.o codec-cfg.o cpudetect.o edl.o fm=
t-conversion.o m_config.o m_option.o m_struct.o mp_msg.o mp_strings.o mpcom=
mon.o parser-cfg.o path.o playtree.o playtreeparser.o subopt-helper.o libaf=
/af.o libaf/af_center.o libaf/af_channels.o libaf/af_comp.o libaf/af_delay.=
o libaf/af_dummy.o libaf/af_equalizer.o libaf/af_extrastereo.o libaf/af_for=
mat.o libaf/af_gate.o libaf/af_hrtf.o libaf/af_karaoke.o libaf/af_pan.o lib=
af/af_resample.o libaf/af_scaletempo.o libaf/af_sinesuppress.o libaf/af_sta=
ts.o libaf/af_sub.o libaf/af_surround.o libaf/af_sweep.o libaf/af_tools.o l=
ibaf/af_volnorm.o libaf/af_volume.o libaf/filter.o libaf/format.o libaf/reo=
rder_ch.o libaf/window.o libmpcodecs/ad.o libmpcodecs/ad_alaw.o libmpcodecs=
/ad_dk3adpcm.o libmpcodecs/ad_dvdpcm.o libmpcodecs/ad_hwac3.o libmpcodecs/a=
d_hwmpa.o libmpcodecs/ad_imaadpcm.o libmpcodecs/ad_msadpcm.o libmpcodecs/ad=
_pcm.o libmpcodecs/dec_audio.o libmpcodecs/dec_teletext.o libmpcodecs/dec_v=
ideo.o libmpcodecs/img_format.o libmpcodecs/mp_image.o libmpcodecs/pullup.o=
 libmpcodecs/vd.o libmpcodecs/vd_hmblck.o libmpcodecs/vd_lzo.o libmpcodecs/=
vd_mpegpes.o libmpcodecs/vd_mtga.o libmpcodecs/vd_null.o libmpcodecs/vd_raw=
.o libmpcodecs/vd_sgi.o libmpcodecs/vf.o libmpcodecs/vf_1bpp.o libmpcodecs/=
vf_2xsai.o libmpcodecs/vf_blackframe.o libmpcodecs/vf_boxblur.o libmpcodecs=
/vf_crop.o libmpcodecs/vf_cropdetect.o libmpcodecs/vf_decimate.o libmpcodec=
s/vf_delogo.o libmpcodecs/vf_denoise3d.o libmpcodecs/vf_detc.o libmpcodecs/=
vf_dint.o libmpcodecs/vf_divtc.o libmpcodecs/vf_down3dright.o libmpcodecs/v=
f_dsize.o libmpcodecs/vf_dvbscale.o libmpcodecs/vf_eq.o libmpcodecs/vf_eq2.=
o libmpcodecs/vf_expand.o libmpcodecs/vf_field.o libmpcodecs/vf_fil.o libmp=
codecs/vf_filmdint.o libmpcodecs/vf_fixpts.o libmpcodecs/vf_flip.o libmpcod=
ecs/vf_format.o libmpcodecs/vf_framestep.o libmpcodecs/vf_gradfun.o libmpco=
decs/vf_halfpack.o libmpcodecs/vf_harddup.o libmpcodecs/vf_hqdn3d.o libmpco=
decs/vf_hue.o libmpcodecs/vf_il.o libmpcodecs/vf_ilpack.o libmpcodecs/vf_iv=
tc.o libmpcodecs/vf_kerndeint.o libmpcodecs/vf_mirror.o libmpcodecs/vf_nofo=
rmat.o libmpcodecs/vf_noise.o libmpcodecs/vf_ow.o libmpcodecs/vf_palette.o =
libmpcodecs/vf_perspective.o libmpcodecs/vf_phase.o libmpcodecs/vf_pp7.o li=
bmpcodecs/vf_pullup.o libmpcodecs/vf_rectangle.o libmpcodecs/vf_remove_logo=
.o libmpcodecs/vf_rgbtest.o libmpcodecs/vf_rotate.o libmpcodecs/vf_sab.o li=
bmpcodecs/vf_scale.o libmpcodecs/vf_smartblur.o libmpcodecs/vf_softpulldown=
.o libmpcodecs/vf_stereo3d.o libmpcodecs/vf_softskip.o libmpcodecs/vf_swapu=
v.o libmpcodecs/vf_telecine.o libmpcodecs/vf_test.o libmpcodecs/vf_tfields.=
o libmpcodecs/vf_tile.o libmpcodecs/vf_tinterlace.o libmpcodecs/vf_unsharp.=
o libmpcodecs/vf_vo.o libmpcodecs/vf_yadif.o libmpcodecs/vf_yuvcsp.o libmpc=
odecs/vf_yvu9.o libmpdemux/aac_hdr.o libmpdemux/asfheader.o libmpdemux/avih=
eader.o libmpdemux/aviprint.o libmpdemux/demuxer.o libmpdemux/demux_aac.o l=
ibmpdemux/demux_asf.o libmpdemux/demux_audio.o libmpdemux/demux_avi.o libmp=
demux/demux_demuxers.o libmpdemux/demux_film.o libmpdemux/demux_fli.o libmp=
demux/demux_lmlm4.o libmpdemux/demux_mf.o libmpdemux/demux_mkv.o libmpdemux=
/demux_mov.o libmpdemux/demux_mpg.o libmpdemux/demux_nsv.o libmpdemux/demux=
_pva.o libmpdemux/demux_rawaudio.o libmpdemux/demux_rawvideo.o libmpdemux/d=
emux_realaud.o libmpdemux/demux_real.o libmpdemux/demux_roq.o libmpdemux/de=
mux_smjpeg.o libmpdemux/demux_ts.o libmpdemux/demux_ty.o libmpdemux/demux_t=
y_osd.o libmpdemux/demux_viv.o libmpdemux/demux_vqf.o libmpdemux/demux_y4m.=
o libmpdemux/ebml.o libmpdemux/extension.o libmpdemux/mf.o libmpdemux/mp3_h=
dr.o libmpdemux/mp_taglists.o libmpdemux/mpeg_hdr.o libmpdemux/mpeg_packeti=
zer.o libmpdemux/parse_es.o libmpdemux/parse_mp4.o libmpdemux/video.o libmp=
demux/yuv4mpeg.o libmpdemux/yuv4mpeg_ratio.o osdep/getch2.o osdep/timer-lin=
ux.o stream/open.o stream/stream.o stream/stream_bd.o stream/stream_cue.o s=
tream/stream_file.o stream/stream_mf.o stream/stream_null.o stream/url.o su=
b/eosd.o sub/find_sub.o sub/osd.o sub/spudec.o sub/sub.o sub/sub_cc.o sub/s=
ubreader.o sub/vobsub.o stream/stream_dvdnav.o libdvdnav/dvdnav.o libdvdnav=
/highlight.o libdvdnav/navigation.o libdvdnav/read_cache.o libdvdnav/remap.=
o libdvdnav/searching.o libdvdnav/settings.o libdvdnav/vm/decoder.o libdvdn=
av/vm/vm.o libdvdnav/vm/vmcmd.o stream/stream_dvd.o stream/stream_dvd_commo=
n.o libdvdread4/bitreader.o libdvdread4/dvd_input.o libdvdread4/dvd_reader.=
o libdvdread4/dvd_udf.o libdvdread4/ifo_print.o libdvdread4/ifo_read.o libd=
vdread4/md5.o libdvdread4/nav_print.o libdvdread4/nav_read.o libvo/aclib.o =
av_helpers.o av_opts.o libaf/af_lavcac3enc.o libaf/af_lavcresample.o libmpc=
odecs/ad_ffmpeg.o libmpcodecs/ad_spdif.o libmpcodecs/vd_ffmpeg.o libmpcodec=
s/vf_geq.o libmpcodecs/vf_lavc.o libmpcodecs/vf_lavcdeint.o libmpcodecs/vf_=
screenshot.o libmpdemux/demux_lavf.o stream/stream_ffmpeg.o sub/av_sub.o li=
bmpcodecs/vf_fspp.o libmpcodecs/vf_mcdeint.o libmpcodecs/vf_qp.o libmpcodec=
s/vf_spp.o libmpcodecs/vf_uspp.o sub/font_load_ft.o stream/stream_ftp.o lib=
mpcodecs/vf_bmovl.o libaf/af_export.o osdep/mmap_anon.o libmpcodecs/vd_ijpg=
.o libmpcodecs/vf_ass.o sub/ass_mp.o sub/subassconvert.o libass/ass.o libas=
s/ass_bitmap.o libass/ass_cache.o libass/ass_drawing.o libass/ass_font.o li=
bass/ass_fontconfig.o libass/ass_library.o libass/ass_parse.o libass/ass_re=
nder.o libass/ass_render_api.o libass/ass_shaper.o libass/ass_strtod.o liba=
ss/ass_utils.o libdvdcss/css.o libdvdcss/device.o libdvdcss/error.o libdvdc=
ss/ioctl.o libdvdcss/libdvdcss.o libmpcodecs/vd_libmpeg2.o libmpeg2/alloc.o=
 libmpeg2/cpu_accel.o libmpeg2/cpu_state.o libmpeg2/decode.o libmpeg2/heade=
r.o libmpeg2/idct.o libmpeg2/motion_comp.o libmpeg2/slice.o libmpeg2/idct_m=
mx.o libmpeg2/motion_comp_mmx.o libmpcodecs/ad_mp3lib.o mp3lib/sr1.o mp3lib=
/decode_i586.o mp3lib/dct36_3dnow.o mp3lib/dct64_3dnow.o mp3lib/dct36_k7.o =
mp3lib/dct64_k7.o mp3lib/dct64_mmx.o mp3lib/decode_mmx.o mp3lib/dct64_sse.o=
 stream/stream_rtsp.o stream/freesdp/common.o stream/freesdp/errorlist.o st=
ream/freesdp/parser.o stream/librtsp/rtsp.o stream/librtsp/rtsp_rtp.o strea=
m/librtsp/rtsp_session.o stream/stream_netstream.o stream/asf_mmst_streamin=
g.o stream/asf_streaming.o stream/cookies.o stream/http.o stream/network.o =
stream/pnm.o stream/rtp.o stream/udp.o stream/tcp.o stream/stream_rtp.o str=
eam/stream_udp.o stream/realrtsp/asmrp.o stream/realrtsp/real.o stream/real=
rtsp/rmff.o stream/realrtsp/sdpplin.o stream/realrtsp/xbuffer.o libmpcodecs=
/vd_mpng.o libmpcodecs/vf_pp.o libmpcodecs/ad_qtaudio.o libmpcodecs/vd_qtvi=
deo.o libmpcodecs/ad_speex.o stream/cache2.o tremor/bitwise.o tremor/block.=
o tremor/codebook.o tremor/floor0.o tremor/floor1.o tremor/framing.o tremor=
/info.o tremor/mapping0.o tremor/mdct.o tremor/registry.o tremor/res012.o t=
remor/sharedbook.o tremor/synthesis.o tremor/window.o stream/stream_tv.o st=
ream/tv.o stream/frequencies.o stream/tvi_dummy.o stream/tvi_bsdbt848.o sub=
/unrar_exec.o stream/stream_vcd.o libmpcodecs/ad_libvorbis.o libmpdemux/dem=
ux_ogg.o loader/wrapper.o loader/elfdll.o loader/ext.o loader/ldt_keeper.o =
loader/module.o loader/pe_image.o loader/pe_resource.o loader/registry.o lo=
ader/resource.o loader/win32.o libmpcodecs/ad_acm.o libmpcodecs/ad_dmo.o li=
bmpcodecs/ad_dshow.o libmpcodecs/ad_twin.o libmpcodecs/vd_dmo.o libmpcodecs=
/vd_dshow.o libmpcodecs/vd_vfw.o libmpcodecs/vd_vfwex.o libmpdemux/demux_av=
s.o loader/afl.o loader/drv.o loader/vfl.o loader/dshow/DS_AudioDecoder.o l=
oader/dshow/DS_Filter.o loader/dshow/DS_VideoDecoder.o loader/dshow/allocat=
or.o loader/dshow/cmediasample.o loader/dshow/graph.o loader/dshow/guids.o =
loader/dshow/inputpin.o loader/dshow/mediatype.o loader/dshow/outputpin.o l=
oader/dmo/DMO_AudioDecoder.o loader/dmo/DMO_VideoDecoder.o loader/dmo/buffe=
r.o loader/dmo/dmo.o loader/dmo/dmo_guids.o libmpcodecs/vd_xanim.o osdep/sh=
mem.o ffmpeg/libpostproc/libpostproc.a ffmpeg/libavfilter/libavfilter.a ffm=
peg/libavformat/libavformat.a ffmpeg/libavcodec/libavcodec.a ffmpeg/libswsc=
ale/libswscale.a ffmpeg/libswresample/libswresample.a ffmpeg/libavutil/liba=
vutil.a -lm   -rpath=3D/usr/lib:/usr/local/lib -Wl,-rpath=3D/usr/local/lib/=
gcc46  -liconv /usr/lib/libncurses.so -lpng -lz -ljpeg -L/usr/local/lib -lf=
reetype -lz -lfontconfig  -lz /usr/lib/libbz2.so -lspeex -pthread  -rdynami=
c -L/usr/local/lib -L/usr/local/lib  -L/usr/local/lib -lXext -lX11 -pthread=
 -lXss -lXv -lXinerama -lXxf86vm -lXxf86dga -pthread -lgtk-x11-2.0 -lgdk-x1=
1-2.0 -latk-1.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr =
-lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 =
-lXfixes -lcairo -lX11 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.=
0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lglib-2.0
/usr/local/lib/libgdk-x11-2.0.so: undefined reference to `XRRGetScreenResou=
rcesCurrent'
/usr/local/lib/libgdk-x11-2.0.so: undefined reference to `XRRGetOutputPrima=
ry'
collect2: ld returned 1 exit status
gmake: *** [mplayer] Error 1
*** Error code 1

Stop in /usr/ports/multimedia/mplayer.
*** Error code 1

Stop in /usr/ports/multimedia/mplayer.

[root@3s1 /usr/ports/multimedia/mplayer]#



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20120722152051.GA65867>