I downloaded fobs today and spent most of day trying to compile it on a 64-bit multiprocessor machine running Red Hat 5.
Here is the compilation error I get:
scons: `.' is up to date.
scons: Reading SConscript files …
Checking for C++ header file stdint.h… (cached) yes
Checking for C header file libavcodec/avcodec.h… (cached) yes
Checking for C header file libavformat/avformat.h… (cached) yes
Checking for C header file libavformat/avi.h… (cached) yes
Checking for C header file libavformat/riff.h… (cached) yes
Checking for C header file libswscale/swscale.h… (cached) yes
Checking for C header file inttypes.h… (cached) yes
Checking for C type int64_t… (cached) yes
JAVA_HOME environment variable is not set. Searching for java… found.
Java found in: /usr/java/jdk1.6.0_16
scons: done reading SConscript files.
scons: Building targets …
g++ -o dist/jmf/libfobs4jmf.so -O3 -shared jmf/decoder.os jmf/stand_alone_codec.os -Lexternal/lib -Ldist/lib -L/usr/java/jdk1.6.0_16/lib -lfobscore -lavformat -lavcodec -lz -lbz2 -lm -ldl -lavutil
/usr/bin/ld: external/lib/libavformat.a(allformats.o): relocation R_X86_64_32 against `aac_demuxer' can not be used when making a shared object; recompile with -fPIC
external/lib/libavformat.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
scons: *** Error 1
scons: building terminated because of errors.
I would greatly appreciate any assistance.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I downloaded fobs today and spent most of day trying to compile it on a 64-bit multiprocessor machine running Red Hat 5.
Here is the compilation error I get:
scons: `.' is up to date.
scons: Reading SConscript files …
Checking for C++ header file stdint.h… (cached) yes
Checking for C header file libavcodec/avcodec.h… (cached) yes
Checking for C header file libavformat/avformat.h… (cached) yes
Checking for C header file libavformat/avi.h… (cached) yes
Checking for C header file libavformat/riff.h… (cached) yes
Checking for C header file libswscale/swscale.h… (cached) yes
Checking for C header file inttypes.h… (cached) yes
Checking for C type int64_t… (cached) yes
JAVA_HOME environment variable is not set. Searching for java… found.
Java found in: /usr/java/jdk1.6.0_16
scons: done reading SConscript files.
scons: Building targets …
g++ -o dist/jmf/libfobs4jmf.so -O3 -shared jmf/decoder.os jmf/stand_alone_codec.os -Lexternal/lib -Ldist/lib -L/usr/java/jdk1.6.0_16/lib -lfobscore -lavformat -lavcodec -lz -lbz2 -lm -ldl -lavutil
/usr/bin/ld: external/lib/libavformat.a(allformats.o): relocation R_X86_64_32 against `aac_demuxer' can not be used when making a shared object; recompile with -fPIC
external/lib/libavformat.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
scons: *** Error 1
scons: building terminated because of errors.
I would greatly appreciate any assistance.
Thanks.