Hello Francesco,
After updating the snapshot, I tried it again, but I got the same error. I
have removed the contents of the transcode folder and I downloaded the whole
thing again using
cvs -z3 -d :pserver:[EMAIL PROTECTED]:/cvstc co -r HEAD transcode
like on the transcode wiki. Then I ran "autoreconf -i -f". I used configure
with the same options that I used before:
./configure --disable-mmx --disable-3dnow --disable-sse --disable-sse2
--disable-altivec --enable-gtk --enable-libjpeg --with-x
Running "make" produced the error again. I have installed libX11
(x11-libs/libX11) on my computer. I have posted the last several lines of
the log below. I have also tried the standard options by running just
"./configure", but this did not help. I wish I could do it myself. Hope you
are able to fix it. Thanks again for your time!
[make log]
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT
-DMOD_PATH=\"/usr/local/lib/transcode\" -I.. -I../src -I/usr/include
-I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2
-MT tcprobe-probe_wav.o -MD -MP -MF ".deps/tcprobe-probe_wav.Tpo" -c -o
tcprobe-probe_wav.o `test -f 'probe_wav.c' || echo './'`probe_wav.c; \
then mv -f ".deps/tcprobe-probe_wav.Tpo" ".deps/tcprobe-probe_wav.Po"; else
rm -f ".deps/tcprobe-probe_wav.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT
-DMOD_PATH=\"/usr/local/lib/transcode\" -I.. -I../src -I/usr/include
-I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2
-MT tcprobe-probe_xml.o -MD -MP -MF ".deps/tcprobe-probe_xml.Tpo" -c -o
tcprobe-probe_xml.o `test -f 'probe_xml.c' || echo './'`probe_xml.c; \
then mv -f ".deps/tcprobe-probe_xml.Tpo" ".deps/tcprobe-probe_xml.Po"; else
rm -f ".deps/tcprobe-probe_xml.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT
-DMOD_PATH=\"/usr/local/lib/transcode\" -I.. -I../src -I/usr/include
-I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2
-MT tcprobe-probe_mplayer.o -MD -MP -MF ".deps/tcprobe-probe_mplayer.Tpo" -c
-o tcprobe-probe_mplayer.o `test -f 'probe_mplayer.c' || echo
'./'`probe_mplayer.c; \
then mv -f ".deps/tcprobe-probe_mplayer.Tpo"
".deps/tcprobe-probe_mplayer.Po"; else rm -f
".deps/tcprobe-probe_mplayer.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT
-DMOD_PATH=\"/usr/local/lib/transcode\" -I.. -I../src -I/usr/include
-I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2
-MT tcprobe-probe_x11.o -MD -MP -MF ".deps/tcprobe-probe_x11.Tpo" -c -o
tcprobe-probe_x11.o `test -f 'probe_x11.c' || echo './'`probe_x11.c; \
then mv -f ".deps/tcprobe-probe_x11.Tpo" ".deps/tcprobe-probe_x11.Po"; else
rm -f ".deps/tcprobe-probe_x11.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT
-DMOD_PATH=\"/usr/local/lib/transcode\" -I.. -I../src -I/usr/include
-I/usr/include -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2
-MT tcprobe-x11source.o -MD -MP -MF ".deps/tcprobe-x11source.Tpo" -c -o
tcprobe-x11source.o `test -f 'x11source.c' || echo './'`x11source.c; \
then mv -f ".deps/tcprobe-x11source.Tpo" ".deps/tcprobe-x11source.Po"; else
rm -f ".deps/tcprobe-x11source.Tpo"; exit 1; fi
x11source.c: In function tc_x11source_acquire_data_plain:
x11source.c:80: warning: dereferencing type-punned pointer will break
strict-aliasing rules
x11source.c: In function tc_x11source_acquire_data_shm:
x11source.c:125: warning: dereferencing type-punned pointer will break
strict-aliasing rules
/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wstrict-prototypes
-Wmissing-prototypes -g -O2 -o tcprobe 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-ts_reader.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_x11.o tcprobe-x11source.o ../avilib/libavi.la
../avilib/libwav.la -L/usr/lib -ldvdread -lm -L/usr/lib -lmp3lame
../aclib/libac.la ../libtc/libtc.la -lm -lm -lz -ldl
gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o tcprobe
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-ts_reader.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_x11.o tcprobe-x11source.o
../avilib/.libs/libavi.a ../avilib/.libs/libwav.a -L/usr/lib
/usr/lib64/libdvdread.so /usr/lib64/libmp3lame.so ../aclib/.libs/libac.a
../libtc/.libs/libtc.a -lm -lz -ldl
tcprobe-x11source.o: In function `tc_x11source_open':
/home/martijn/dev/transcode/transcode/import/x11source.c:273: undefined
reference to `XOpenDisplay'
/home/martijn/dev/transcode/transcode/import/x11source.c:283: undefined
reference to `XGetWindowAttributes'
/home/martijn/dev/transcode/transcode/import/x11source.c:327: undefined
reference to `XCloseDisplay'
/home/martijn/dev/transcode/transcode/import/x11source.c:304: undefined
reference to `XCreatePixmap'
/home/martijn/dev/transcode/transcode/import/x11source.c:312: undefined
reference to `XCreateGC'
/home/martijn/dev/transcode/transcode/import/x11source.c:316: undefined
reference to `XShmQueryExtension'
/home/martijn/dev/transcode/transcode/import/x11source.c:325: undefined
reference to `XFreePixmap'
tcprobe-x11source.o: In function `tc_x11source_init_shm':
/home/martijn/dev/transcode/transcode/import/x11source.c:157: undefined
reference to `XMatchVisualInfo'
/home/martijn/dev/transcode/transcode/import/x11source.c:163: undefined
reference to `XShmCreateImage'
/home/martijn/dev/transcode/transcode/import/x11source.c:189: undefined
reference to `XShmAttach'
/home/martijn/dev/transcode/transcode/import/x11source.c:195: undefined
reference to `XSync'
tcprobe-x11source.o: In function `tc_x11source_fini_shm':
/home/martijn/dev/transcode/transcode/import/x11source.c:137: undefined
reference to `XShmDetach'
/home/martijn/dev/transcode/transcode/import/x11source.c:145: undefined
reference to `XSync'
tcprobe-x11source.o: In function `tc_x11source_acquire_data_shm':
/home/martijn/dev/transcode/transcode/import/x11source.c:115: undefined
reference to `XShmGetImage'
tcprobe-x11source.o: In function `tc_x11source_close':
/home/martijn/dev/transcode/transcode/import/x11source.c:248: undefined
reference to `XFreePixmap'
/home/martijn/dev/transcode/transcode/import/x11source.c:249: undefined
reference to `XFreeGC'
/home/martijn/dev/transcode/transcode/import/x11source.c:251: undefined
reference to `XCloseDisplay'
tcprobe-x11source.o: In function `tc_x11source_acquire':
/home/martijn/dev/transcode/transcode/import/x11source.c:223: undefined
reference to `XLockDisplay'
/home/martijn/dev/transcode/transcode/import/x11source.c:225: undefined
reference to `XSetSubwindowMode'
/home/martijn/dev/transcode/transcode/import/x11source.c:227: undefined
reference to `XCopyArea'
/home/martijn/dev/transcode/transcode/import/x11source.c:230: undefined
reference to `XSetSubwindowMode'
/home/martijn/dev/transcode/transcode/import/x11source.c:235: undefined
reference to `XUnlockDisplay'
tcprobe-x11source.o: In function `tc_x11source_acquire_data_plain':
/home/martijn/dev/transcode/transcode/import/x11source.c:69: undefined
reference to `XGetImage'
collect2: ld returned 1 exit status
make[3]: *** [tcprobe] Error 1
make[3]: Leaving directory `/home/martijn/dev/transcode/transcode/import'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/martijn/dev/transcode/transcode/import'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/martijn/dev/transcode/transcode'
make: *** [all] Error 2
[EMAIL PROTECTED] ~/dev/transcode/transcode $
From: Francesco Romani <[EMAIL PROTECTED]>
Reply-To: transcode Users Mailing List <[email protected]>
To: [email protected]
Subject: Re: [transcode-users] Re: Re: Segmentation fault
Date: Wed, 23 Aug 2006 13:52:57 +0200
On Wed, 23 Aug 2006 12:41:27 +0200
Francesco Romani <[EMAIL PROTECTED]> wrote:
> > I succesfully downloaded it from CVS, and I ran "autoreconf -i -f" as
> > instructed. But "make" produced errors like "undefined reference to
> > XGetImage" in import/x11source.c.
> Uhm, that's my bad, I'll fix it ASAP.
OK, I've fixed the obvious (minor) errors; Please update your snapshot
(cd /path/to/transcode/cvs/snapshot; cvs -z6 update -dP) and retry;
if still doesn't work, please post last ~40 lines of output of 'make'
as well as configure options used.
best regards,
--
Francesco Romani - Ikitt ['people always complain, no matther what you do']
IM contact : (email first, Antispam default deny!) icq://27-83-87-867
known bugs : http://www.transcoding.org/cgi-bin/transcode?Bug_Showcase
tiny homepage : http://fromani.exit1.org (see IDEAS if you want send code!)
_________________________________________________________________
Who are your friends' real friends? Check it out on Windows Live Spaces!
http://spaces.live.com/default.aspx?page=Ed01&ss=False