I try to play movies with JMF.
Cannot compile fobs src on solaris-10 (gcc-3.4.6)

1st...

binaries on Linux(ubuntu)
i download fobs4jmf-0.4.1-ubuntu-edgy.tar.gz.
RUN ./runjmstudio.sh
....... libdl.so.2: open failure.......

glibc(libdl.so.2) is unavailable.

So,

2nd...

i download fobs-src-0.4.1.tar.gz
$ tar xfvz fobs-src-0.4.1.tar.gz
$ cd fobs-src

$ ./buildFobs.sh

ERROR...

Decode.cpp line 66, 67

if(isVideoPresent()) res = ::abs(t2-t1) <= int(1000.0/getFrameRate());
    else res = ::abs(t2-t1) <= int(1000.0/getAudioSampleRate());

I modified following...

#include <limits>

if(isVideoPresent()) res = ::abs(static_cast<int>(t2-t1)) <= int(1000.0/getFrameRate());
    else res = ::abs(static_cast<int>(t2-t1)) <= int(1000.0/getAudioSampleRate());

OK! make throw, but

Encode.cpp line 389...

"src/cppapi/Encoder.cpp", line 389: Error: Use ";" to terminate declarations.
"src/cppapi/Encoder.cpp", line 389: Error: Use ";" to terminate statements.
"src/cppapi/Encoder.cpp", line 391: Error: Unexpected type name "AVRational" encountered.

so,line 389 following

    const AVRational *best=NULL;
        AVRational best_error = (AVRational){INT_MAX, 1};
        for(; p->den!=0; p++){........

I modified following...
    const AVRational *best=NULL;
        AVRational best_error = {INT_MAX, 1};
        for(; p->den!=0; p++){........

OK! make throw, but
"src/cppapi/Encoder.cpp", line 463: Error: Operand expected instead of "{".
"src/cppapi/Encoder.cpp", line 463: Error: Use ";" to terminate statements.

I cannot modify.

any good idea!