Roger Merchberger wrote:
Rumor has it that Warren Wilder may have mentioned these words:
[snippety]
./configure ...snip... --enable-vorbis
^^^^^^^^^^^^^
[snip]
./libavformat/libavformat.so: undefined reference to `ogg_sync_init'
[snip]
Any tips are welcome,
Kewl. First tip: If you don't receive an answer in an hour, please don't
repost your question. It's a waste of bandwidth to those who run the list
and is considered rather rude. This is free tech support after all...
Thanks!
Sorry about that. Its because I had mail problems after a thunderbird
update. I only just received the last few days of mailings lists
addendums and noticed that mine actually had been send at the first
attempt.
Now - Do you actually have the ogg & vorbis libraries compiled & installed
(where they can be found in the normal LDPATH) on the system? If so,
double-check the directory they're in just in case in /etc/ld.so.conf and
run ldconfig before compiling again.
If not, you might want to compile & install that library if you tell ffmpeg
to use it.
Hope this helps,
Roger "Merch" Merchberger
Thanks for the input. I do have these libraries installed. I don't think
that the error messages I am seeing are really what is going on, on my
machine.
I am greatly leaning towards a hardened issue. I have been recompiling
with loads of different configure options and added CFLAGS and LDFLAGS
and such, with differing results. But sofar nothing productive. A few
times I saw the usual compile errors which are related to asm. The code
that is using asm is the code I need to get rid off. But I don't know
whether ffmpeg can even function without it.
I have configured and compiled with all the --disable-xyz options
and no luck in removing all of it sofar.
In the developer version of BLFS, the mmx code is disabled, which should
be enough, but it ain't. Perhaps its just not possible, but I'm sure
there are things I haven't tried yet. I am not superbly proficient with
compiling packages so there may be a few tricks out there I am unaware off.
I am just going to have a go at it again and again, but I would
seriously enjoy someone's input on what might be the 'actual' issue.
Sofar I get this: (yes, disabling all this is just for testing)
./configure --prefix=/usr
--disable-audio-oss
--disable-altivec
--disable-audio-beos
--disable-mmx
--disable-v4l
--disable-dv1394
--disable-network
--disable-zlib
--disable-simple_idct
--disable-vhook
--disable-debug
--disable-opts
--disable-mpegaudio-hp
--disable-ffserver
--disable-ffplay
--disable-risky
Install prefix /usr
Source path /usr/src/ffmpeg/ffmpeg-0.4.9-pre1
C compiler gcc
make make
CPU x86 (generic)
Big Endian no
inttypes.h yes
broken inttypes.h no
MMX enabled no
Vector Builtins yes
gprof enabled no
zlib enabled no
mp3lame enabled no
vorbis enabled no
faad enabled no
faadbin enabled no
faac enabled no
a52 support no
a52 dlopened no
pp support no
debug symbols no
optimize no
shared pp no
Video hooking no
SDL support yes
risky / patent encumbered codecs no
Sun medialib support no
pthreads support no
AMR-NB float support no
AMR-NB fixed support no
AMR-WB float support no
License: LGPL
with make resulting in:
gcc -Wl,--warn-common -rdynamic -g -o ffmpeg_g ffmpeg.o cmdutils.o
-L./libavformat -lavformat -L./libavcodec -lavcodec -lm
./libavcodec/libavcodec.a(allcodecs.o): In function `avcodec_register_all':
allcodecs.c:(.text 0x4ba): undefined reference to `h261_parser'
allcodecs.c:(.text 0x4c5): undefined reference to `h263_parser'
and a whole bunch more of undefined references.
(I installed libx264 from www.videolan.org separately today, but
that didn't seem to help.)
I think my hardened system is actually blocking the linking on purpose,
instead of the reference really not existing, but .. how to get around
it? (and prove that that is happening?)
I have already tried with gcc options -fPIC and -no-pie
-fno-stack-protector. Accompanied with ld -pie.
Obviously, I don't know very well how to handle this yet, as these
compile options are quite the opposite.
Warren
_________________________________________________________________
Dont just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page