Philip S. Hempel wrote:
I am attempting to build the trunk version on an AMD64 box and so far
I have been stalled with this fpic problem during compile
wifo/phapi/phmedia-alsa.c: In function 'alsa_dev_open':
wifo/phapi/phmedia-alsa.c:89: warning: unused variable 'val2'
wifo/phapi/phmedia-alsa.c: At top level:
wifo/phapi/phastream.h:183: warning: 'ph_media_audio_recording_dump'
declared 'static' but never defined
gcc -fno-common -shared -o release-symbols/wifo/phapi/phamrplugin.so
release-symbols/wifo/phapi/phcodec-amr-wrapper.os
-Lrelease-symbols/wifo/phapi/amrwb -Lwifo/phapi/amrwb
-Lrelease-symbols/wifo/phapi/amrnb -Lwifo/phapi/amrnb -lamrwb -lamrnb
/usr/bin/ld: release-symbols/wifo/phapi/amrwb/libamrwb.a(dec_if.o):
relocation R_X86_64_32S against `nb_of_param' can not be used when
making a shared object; recompile with -fPIC
release-symbols/wifo/phapi/amrwb/libamrwb.a: could not read symbols:
Bad value
collect2: ld returned 1 exit status
scons: *** [release-symbols/wifo/phapi/phamrplugin.so] Error 1
scons: building terminated because of errors.
I know that someone is working on the fixes for the 64 bit arches and
they have not completed the fixes for it, I am willing to setup a
chroot account for him if he needs to help fix the rest of these
errors in the build.
Thanks
Philip S. Hempel
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel
Philip,
please try to add at the end of wifo/phapi/amrwb/SConscript
if WengoOsLinux():
env.WengoAddCCFlags(['-fPIC'])
Vadim
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel