[MPlayer-users] OS/X undefined symbol _read_toc

Steven M. Schultz sms at 2BSD.COM
Sun Nov 6 19:54:28 CET 2005


Hi --

	After doing a cvs update this morning an undefined symbol error
	occurs when linking MPlayer:
cc -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -mcpu=7450 -mtune=7450 -faltivec -D__APPLE_ALTIVEC__ -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I.      -I/usr/X11R6/include -I/usr/X11R6/include/freetype2  -I/usr/local/include/SDL -D_THREAD_SAFE -I/usr/X11R6/include   -I./libavutil -I./libavcodec  -o mplayer ...

/usr/bin/ld: Undefined symbols:
_read_toc
collect2: ld returned 1 exit status

	read_toc() is used unconditionally but is only defined conditionally
	for some systems

	Not sure what the best way to work around this is.  For now I'll
	just create a dummy read_toc() that returns an error.

	Cheers,
	Steven Schultz




More information about the MPlayer-users mailing list