* bobbie sanford <bobsanfn at yahoo.com> [2006-02-18 15:49:51]: > Recently I tested making my own 64bit builds of the > FEC libraries. > Here are the steps used. It appears to work but it is > possible I made some mistake. > (previously it would complain about missing native FEC > libraries on startup) > > > Note: Requires C compiler, make and a Sun? Java JDK > #Get and unpack code > $ wget > http://onionnetworks.com/downloads/fec-1.0.3.zip > $ unzip fec-1.0.3.zip > > #build library > $ cd fec-1.0.3/src/csrc > $ vi Makefile > > #Edit to include -fPIC > CFLAGS=$(COPT) -Wall -fPIC # -DTEST > > #add line (change setting to match your JDK install > path) > JAVA_HOME=/opt/java > > $ make > > #setup native.properties file as below > $ cd ../../lib/fec-linux-x86/lib > $ vi native.properties > > com.onionnetworks.native.keys=fec8-linux-x86-64,fec16-linux-x86-64 > > com.onionnetworks.native.fec8-linux-x86.name=fec8 > com.onionnetworks.native.fec8-linux-x86.osarch=linux-x86-64 > com.onionnetworks.native.fec8-linux-x86.path=lib/linux/x86/libfec8.so > > com.onionnetworks.native.fec16-linux-x86.name=fec16 > com.onionnetworks.native.fec16-linux-x86.osarch=linux-x86-64 > com.onionnetworks.native.fec16-linux-x86.path=lib/linux/x86/libfec16.so > > #create test jar > cd .. > jar test.jar lib > > #setup freenet > $ mv test.jar <freenet install path> > > $ cd <freenet install path> > $ vi freenet > change line > opt/java/bin/java -client -Xdebug -cp > test.jar:freenet-ext.jar:freenet-cvs-snapshot.jar > freenet.node.Node <port> <ip> <bandwidth> > > Note: Your test jar should be first in classpath > > #start node > $ ./freenet > > Thanks
Hi, A new freenet-ext.jar is now aviable for .7... I hope it won't break things (while building, gcc is complaining about a weird cast). sha1sum gives 198c75af5db5f39db3389f93c597c6421baa43a3 freenet-ext.jar x86_64 owners are strongly advised to update ; Any feedback would be apreciated. NextGen$