On 06/18/11 17:07, Dorian Büttner wrote: > Hi all, > > I was just trying to install transcode on a current box, and got the > following > build error. I've seen some activity on this port here recently, does it > correlate to it? > > Thanks again, > Dorian > > > .libs/liborc-0.4.so.3.0: warning: vsprintf() is often misused, please use > vsnprintf() > .libs/libavutil.so.8.1: warning: strcpy() is almost always misused, please > use > strlcpy() > .libs/libfaac.so.1.0: warning: sprintf() is often misused, please use > snprintf() > .libs/libx264.so.6.0: warning: strcat() is almost always misused, please use > strlcat() > tcprobe-probe_ffmpeg.o(.text+0x48): In function `probe_ffmpeg': > : undefined reference to `av_open_input_file' > tcprobe-probe_ffmpeg.o(.text+0x7e): In function `probe_ffmpeg': > : undefined reference to `av_find_stream_info' > tcprobe-probe_ffmpeg.o(.text+0x198): In function `probe_ffmpeg': > : undefined reference to `av_close_input_file' > collect2: ld returned 1 exit status > Error while executing cc -o > tcprobe -pthread -O2 -pipe -Wl,-rpath -Wl,/usr/local/lib tcprobe-tcprobe.o > tcprobe-ac3scan.o tcprobe-aux_pes.o tcprobe-dvd_reader.o tcprobe-fileinfo.o > tcprobe-ioaux.o tcprobe-ioxml.o tcprobe-mpg123.o tcprobe-scan_pes.o > tcprobe-decode_dv.o tcprobe-extract_avi.o tcprobe-extract_mxf.o > tcprobe-extract_yuv.o tcprobe-probe_bktr.o tcprobe-probe_bsdav.o > tcprobe-probe_dvd.o tcprobe-probe_im.o tcprobe-probe_mov.o > tcprobe-probe_nuv.o tcprobe-probe_ogg.o tcprobe-probe_oss.o > tcprobe-probe_pv3.o tcprobe-probe_stream.o tcprobe-probe_sunau.o > tcprobe-probe_v4l.o tcprobe-probe_vnc.o tcprobe-probe_wav.o > tcprobe-probe_xml.o tcprobe-probe_mplayer.o tcprobe-probe_ffmpeg.o > tcprobe-probe_x11.o tcprobe-x11source.o > tcprobe-probe_pvn.o > /usr/obj/transcode-1.1.5/build-amd64/avilib/.libs/libavi.a > /usr/obj/transcode-1.1.5/build-amd64/avilib/.libs/libwav.a > /usr/obj/transcode-1.1.5/build-amd64/libtcvideo/.libs/libtcvideo.a > /usr/obj/transcode-1.1.5/build-amd64/aclib/.libs/libac.a > /usr/obj/transcode-1.1.5/build-amd64/libtc/.libs/libtc.a -L.libs -lavutil > -lavcodec -lfaac -lgsm -lorc-0.4 -lschroedinger-1.0 -lspeex -ltheoradec > -ltheoraenc -lvorbisenc -lvpx -lx264 -ldv -ldvdread -lmp3lame -ltheora > -lvorbis -logg -lxml2 -liconv -lSM -lICE -lXext -lX11 -lxcb -lm -lz > -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/X11R6/lib > *** Error code 1 > > Stop in /usr/obj/transcode-1.1.5/build-amd64/import (line 1320 of Makefile). > *** Error code 1 > > Stop in /usr/obj/transcode-1.1.5/build-amd64/import (line 3025 of Makefile). > *** Error code 1 > > Stop in /usr/obj/transcode-1.1.5/build-amd64 (line 556 of Makefile). > *** Error code 1 > > Stop in /usr/obj/transcode-1.1.5/build-amd64 (line 444 of Makefile). > *** Error code 1 > > Stop in /usr/ports/multimedia/transcode (line 2462 > of /usr/ports/infrastructure/mk/bsd.port.mk). > *** Error code 1 > > Stop in /usr/ports/multimedia/transcode (line 1673 > of /usr/ports/infrastructure/mk/bsd.port.mk). > *** Error code 1 > > Stop in /usr/ports/multimedia/transcode (line 2243 > of /usr/ports/infrastructure/mk/bsd.port.mk). > *** Error code 1 > > Stop in /usr/ports/multimedia/transcode (line 2223 > of /usr/ports/infrastructure/mk/bsd.port.mk). > *** Error code 1 > > Stop in /usr/ports/multimedia/transcode (line 1704 > of /usr/ports/infrastructure/mk/bsd.port.mk). > *** Error code 1 > > Stop in /usr/ports/multimedia/transcode (line 2223 > of /usr/ports/infrastructure/mk/bsd.port.mk). > *** Error code 1 > > Hi,
The changes to pkg-config do not process Requires.private yet. This will build if you revert back to an earlier version of pkg-config earlier than 15th June, so is not directly to do with the changes made to transcode. pkg-config from before the pkg-config change - $ pkg-config -libs libavcodec -L/usr/local/lib -pthread -Wl,-rpath,/usr/local/lib -lavcodec -lfaac -lgsm -lmp3lame -logg -lorc-0.4 -lschroedinger-1.0 -lspeex -ltheoradec -ltheoraenc -lvorbis -lvorbisenc -lvpx -lx264 -lz -lavutil -lm pkg-config from after the change - $ pkg-config -libs libavcodec -L/usr/local/lib -pthread -Wl,-rpath,/usr/local/lib -lavcodec -lfaac -lgsm -lm -lmp3lame -logg -lorc-0.4 -lschroedinger-1.0 -lspeex -ltheoradec -ltheoraenc -lvorbis -lvorbisenc -lvpx -lx264 -lz The libavutil library has been dropped which contains the missing functions. Regards Nigel Taylor
