Difference between revisions of "Talk:AFF Development Task List"

From Forensics Wiki
Jump to: navigation, search
(Error messages when attempting to make a shared library on 64-bit Fedora Core 7.)
 
(Cleaned up formatting for legibility)
Line 1: Line 1:
 
Error messages when attempting to make a shared library on 64-bit Fedora Core 7.
 
Error messages when attempting to make a shared library on 64-bit Fedora Core 7.
  
[root@localhost lib]# g++ -shared -o libaff.so -g -O2 aff_db.o aff_toc.o afflib.o afflib_os.o afflib_pages.o afflib_stream.o afflib_util.o base64.o lzma_glue.o s3_glue.o vnode_aff.o vnode_afd.o vnode_afm.o vnode_ewf.o vnode_raw.o vnode_s3.o vnode_split_raw.o aftimer.o LzmaBench.o LzmaRam.o LzmaRamDecode.o LzmaDecode.o BranchX86.o LZMADecoder.o LZMAEncoder.o LZInWindow.o LZOutWindow.o RangeCoderBit.o InBuffer.o OutBuffer.o StreamUtils.o Alloc.o CommandLineParser.o CRC.o String.o StringConvert.o StringToInt.o Vector.o -lssl -lcrypto -lz -lexpat -lcurl -lncurses
+
<tt>[root@localhost lib]# g++ -shared -o libaff.so -g -O2 aff_db.o aff_toc.o afflib.o afflib_os.o afflib_pages.o afflib_stream.o afflib_util.o base64.o lzma_glue.o s3_glue.o vnode_aff.o vnode_afd.o vnode_afm.o vnode_ewf.o vnode_raw.o vnode_s3.o vnode_split_raw.o aftimer.o LzmaBench.o LzmaRam.o LzmaRamDecode.o LzmaDecode.o BranchX86.o LZMADecoder.o LZMAEncoder.o LZInWindow.o LZOutWindow.o RangeCoderBit.o InBuffer.o OutBuffer.o StreamUtils.o Alloc.o CommandLineParser.o CRC.o String.o StringConvert.o StringToInt.o Vector.o -lssl -lcrypto -lz -lexpat -lcurl -lncurses
 +
 
 
/usr/bin/ld: aff_db.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
 
/usr/bin/ld: aff_db.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
 +
 
aff_db.o: could not read symbols: Bad value
 
aff_db.o: could not read symbols: Bad value
 +
 
collect2: ld returned 1 exit status
 
collect2: ld returned 1 exit status
  
 
[root@localhost lib]# g++ -shared -fPIC -o libaff.so -g -O2 aff_db.o aff_toc.o afflib.o afflib_os.o afflib_pages.o afflib_stream.o afflib_util.o base64.o lzma_glue.o s3_glue.o vnode_aff.o vnode_afd.o vnode_afm.o vnode_ewf.o vnode_raw.o vnode_s3.o vnode_split_raw.o aftimer.o LzmaBench.o LzmaRam.o LzmaRamDecode.o LzmaDecode.o BranchX86.o LZMADecoder.o LZMAEncoder.o LZInWindow.o LZOutWindow.o RangeCoderBit.o InBuffer.o OutBuffer.o StreamUtils.o Alloc.o CommandLineParser.o CRC.o String.o StringConvert.o StringToInt.o Vector.o -lssl -lcrypto -lz -lexpat -lcurl -lncurses
 
[root@localhost lib]# g++ -shared -fPIC -o libaff.so -g -O2 aff_db.o aff_toc.o afflib.o afflib_os.o afflib_pages.o afflib_stream.o afflib_util.o base64.o lzma_glue.o s3_glue.o vnode_aff.o vnode_afd.o vnode_afm.o vnode_ewf.o vnode_raw.o vnode_s3.o vnode_split_raw.o aftimer.o LzmaBench.o LzmaRam.o LzmaRamDecode.o LzmaDecode.o BranchX86.o LZMADecoder.o LZMAEncoder.o LZInWindow.o LZOutWindow.o RangeCoderBit.o InBuffer.o OutBuffer.o StreamUtils.o Alloc.o CommandLineParser.o CRC.o String.o StringConvert.o StringToInt.o Vector.o -lssl -lcrypto -lz -lexpat -lcurl -lncurses
 +
 
/usr/bin/ld: LzmaRamDecode.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
 
/usr/bin/ld: LzmaRamDecode.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
 +
 
LzmaRamDecode.o: could not read symbols: Bad value
 
LzmaRamDecode.o: could not read symbols: Bad value
 +
 
collect2: ld returned 1 exit status
 
collect2: ld returned 1 exit status
 +
 
[root@localhost lib]#
 
[root@localhost lib]#
 +
</tt>

Revision as of 11:50, 1 October 2007

Error messages when attempting to make a shared library on 64-bit Fedora Core 7.

[root@localhost lib]# g++ -shared -o libaff.so -g -O2 aff_db.o aff_toc.o afflib.o afflib_os.o afflib_pages.o afflib_stream.o afflib_util.o base64.o lzma_glue.o s3_glue.o vnode_aff.o vnode_afd.o vnode_afm.o vnode_ewf.o vnode_raw.o vnode_s3.o vnode_split_raw.o aftimer.o LzmaBench.o LzmaRam.o LzmaRamDecode.o LzmaDecode.o BranchX86.o LZMADecoder.o LZMAEncoder.o LZInWindow.o LZOutWindow.o RangeCoderBit.o InBuffer.o OutBuffer.o StreamUtils.o Alloc.o CommandLineParser.o CRC.o String.o StringConvert.o StringToInt.o Vector.o -lssl -lcrypto -lz -lexpat -lcurl -lncurses

/usr/bin/ld: aff_db.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC

aff_db.o: could not read symbols: Bad value

collect2: ld returned 1 exit status

[root@localhost lib]# g++ -shared -fPIC -o libaff.so -g -O2 aff_db.o aff_toc.o afflib.o afflib_os.o afflib_pages.o afflib_stream.o afflib_util.o base64.o lzma_glue.o s3_glue.o vnode_aff.o vnode_afd.o vnode_afm.o vnode_ewf.o vnode_raw.o vnode_s3.o vnode_split_raw.o aftimer.o LzmaBench.o LzmaRam.o LzmaRamDecode.o LzmaDecode.o BranchX86.o LZMADecoder.o LZMAEncoder.o LZInWindow.o LZOutWindow.o RangeCoderBit.o InBuffer.o OutBuffer.o StreamUtils.o Alloc.o CommandLineParser.o CRC.o String.o StringConvert.o StringToInt.o Vector.o -lssl -lcrypto -lz -lexpat -lcurl -lncurses

/usr/bin/ld: LzmaRamDecode.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC

LzmaRamDecode.o: could not read symbols: Bad value

collect2: ld returned 1 exit status

[root@localhost lib]#