I was just wondering if anyone could help be debug a build? Basically I'm 
trying to get a whack of stuff working for OTF trans-coding with Mediatomb and 
PS3 using Fink packages (which I actually use for a ton of other stuff as 
well). Anyway ... I was able to build ffmpegthumbnailer from source (v1.2.6) 
but kept getting a "Bus Error" when I tried to actually execute it.

Compile using Fink default path:
--------------------------------
# ./configure --prefix=/sw/

Build & install
---------------
# make && make install

Test binary:
------------

# ffmpegthumbnailer
invalid arguments
Usage: ffmpegthumbnailer [options]

Options:
  -i<s>  : input file
  -o<s>  : output file
  -s<n>  : thumbnail size (default: 128)
  -t<n>  : time to seek to (percentage) (default: 10)
  -f     : create a movie strip overlay
  -w     : workaround issues in old versions of ffmpeg
  -h     : display this help

Try vaild file
--------------
# ffmpegthumbnailer -w -i "/path/to/an/avi/file.avi" -o samp.jpg -s 128
Bus error


I tried using gdb to give me a hint as to whats going on ... here's the output 
(truncated)

# gdb
GNU gdb 6.3.50-20050815 (Apple version gdb-768) (Tue Oct  2 04:07:49 UTC 2007)
Copyright 2004 Free Software Foundation, Inc.                                
GDB is free software, covered by the GNU General Public License, and you are  
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.                                    
There is absolutely no warranty for GDB.  Type "show warranty" for details.  
This GDB was configured as "i386-apple-darwin".                              
(gdb) exec-file /sw/bin/ffmpegthumbnailer -w -i 
/Volumes/Media/Video/one_of_my_video.avi -o samp.jpg -s 128
Reading symbols for shared libraries ....warning: Could not find object file 
"/sw/src/fink.build/a52dec-0.7.4-2/a52dec-0.7.4/liba52/bitstream.lo" - no debug 
information available for "bitstream.c".
warning: Could not find object file 
"/sw/src/fink.build/a52dec-0.7.4-2/a52dec-0.7.4/liba52/imdct.lo"
warning: Could not find object file 
"/sw/src/fink.build/faad-2.0.0-1013/faad2/libfaad/.libs/decoder.o
warning: Could not find object file 
"/sw/src/fink.build/libtheora0-1.0-0.alpha5.1002/libtheora-1.0alpha5/lib/.libs/libtheora_la-decode.o"
 - no debug information available for "decode.c".


etc etc .... there are a LOT of "Could not find object file" errors for 
packages like faad, libpng, a52dec, vorbis etc. I checked the build directory 
and there's nothing in /sw/src/fink.build so I tried for rebuilding each 
package. I'm still having no luck. Can someone kick me in the right direction 
for getting this working? The build was fine with no errors I just can't 
actually _run_ the app!!

I'm not new to compiling (although I am new to compiling on/for OSX) but I 
could use a kick in the right direction :-)

Thanks!!

--
Lonny

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to